fuel-plugin-ironic/deployment_scripts/puppet/modules/ironic/lib/puppet/type/ironic_images_setter.rb

32 lines
693 B
Ruby

Puppet::Type.newtype(:ironic_images_setter) do
ensurable
newparam(:name, :namevar => true) do
desc 'The name of the setting to update'
end
newparam(:auth_url) do
desc 'The Keystone endpoint URL'
defaultto 'http://localhost:35357/v2.0'
end
newparam(:auth_username) do
desc 'Username with which to authenticate'
defaultto 'admin'
end
newparam(:auth_password) do
desc 'Password with which to authenticate'
end
newparam(:auth_tenant_name) do
desc 'Tenant name with which to authenticate'
defaultto 'admin'
end
newparam(:glance_url) do
desc 'Glance endpoint'
end
end