Fix the glance_image type example so that it can actually be used.
Change-Id: I10dd74f4ed38f33e344cdd96d0c763fb9b97ac1a
This commit is contained in:
@@ -3,12 +3,12 @@ Puppet::Type.newtype(:glance_image) do
|
|||||||
This allows manifests to declare an image to be
|
This allows manifests to declare an image to be
|
||||||
stored in glance.
|
stored in glance.
|
||||||
|
|
||||||
glance_image {
|
glance_image { "Ubuntu 12.04 cloudimg amd64":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
name => "Ubuntu 12.04 cloudimg amd64"
|
name => "Ubuntu 12.04 cloudimg amd64"
|
||||||
is_public => true,
|
is_public => yes,
|
||||||
container_format => ovf,
|
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'
|
source => 'http://uec-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user