From dc503dacbb2a6c5901477cee1fbcf4a10a1d04e8 Mon Sep 17 00:00:00 2001 From: Robert Starmer Date: Thu, 1 Aug 2013 00:19:58 -0700 Subject: [PATCH] Fix the glance_image type example so that it can actually be used. Change-Id: I10dd74f4ed38f33e344cdd96d0c763fb9b97ac1a --- lib/puppet/type/glance_image.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/puppet/type/glance_image.rb b/lib/puppet/type/glance_image.rb index 4f4f6989..3134d339 100644 --- a/lib/puppet/type/glance_image.rb +++ b/lib/puppet/type/glance_image.rb @@ -3,12 +3,12 @@ Puppet::Type.newtype(:glance_image) do This allows manifests to declare an image to be stored in glance. - glance_image { + glance_image { "Ubuntu 12.04 cloudimg amd64": ensure => present, name => "Ubuntu 12.04 cloudimg amd64" - is_public => true, + is_public => yes, container_format => ovf, - disk_format => qcow', + disk_format => 'qcow2', source => 'http://uec-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img' }