Slight changes.

This commit is contained in:
Joe Topjian 2012-08-04 12:38:29 -06:00
parent 242a424561
commit 69ffc7424e
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,5 @@
$LOAD_PATH.push(File.join(File.dirname(__FILE__), '..', '..', '..'))
# Load the Glance provider library to help # Load the Glance provider library to help
require 'puppet/provider/glance' require File.join(File.dirname(__FILE__), '..','..','..', 'puppet/provider/glance')
Puppet::Type.type(:glance_image).provide( Puppet::Type.type(:glance_image).provide(
:glance, :glance,
@ -10,7 +8,7 @@ Puppet::Type.type(:glance_image).provide(
desc <<-EOT desc <<-EOT
Glance provider to manage glance_image type. Glance provider to manage glance_image type.
Assumes that the Keystone service is on the same host and is working. Assumes that the glance-api service is on the same host and is working.
EOT EOT
commands :glance => 'glance' commands :glance => 'glance'

View File

@ -16,7 +16,9 @@ Puppet::Type.newtype(:glance_image) do
* All images are managed by the glance service. * All images are managed by the glance service.
This means that since users are unable to manage their own images via this type, This means that since users are unable to manage their own images via this type,
is_public is really of no use. You can probably hide images this way but that's all. is_public is really of no use. You can probably hide images this way but that's all.
* I really have no idea what I'm doing. * As glance image names do not have to be unique, you must ensure that your glance
repository does not have any duplicate names prior to using this.
* Ensure this is run on the same server as the glance-api service.
EOT EOT