diff --git a/lib/puppet/provider/glance_image/glance.rb b/lib/puppet/provider/glance_image/glance.rb index 7be1ace9..fae22e03 100644 --- a/lib/puppet/provider/glance_image/glance.rb +++ b/lib/puppet/provider/glance_image/glance.rb @@ -92,10 +92,6 @@ Puppet::Type.type(:glance_image).provide( @property_hash[:ensure] = :absent end - def location=(value) - auth_glance('image-update', id, "--location=#{value}") - end - def is_public=(value) auth_glance('image-update', id, "--is-public=#{value}") end diff --git a/lib/puppet/type/glance_image.rb b/lib/puppet/type/glance_image.rb index 8ee348a9..10e577ef 100644 --- a/lib/puppet/type/glance_image.rb +++ b/lib/puppet/type/glance_image.rb @@ -36,7 +36,7 @@ Puppet::Type.newtype(:glance_image) do end end - newproperty(:location) do + newparam(:location) do desc "The permanent location of the image. Optional" newvalues(/\S+/) end