try again, with puppetforge modules, correctly included now
[mirror/dsa-puppet.git] / 3rdparty / modules / neutron / lib / puppet / type / nova_admin_tenant_id_setter.rb
1 Puppet::Type.newtype(:nova_admin_tenant_id_setter) do
2
3     ensurable
4
5     newparam(:name, :namevar => true) do
6         desc 'The name of the setting to update'
7     end
8
9     newparam(:tenant_name) do
10         desc 'The nova admin tenant name'
11     end
12
13     newparam(:auth_url) do
14         desc 'The Keystone endpoint URL'
15         defaultto 'http://localhost:35357/v2.0'
16     end
17
18     newparam(:auth_username) do
19         desc 'Username with which to authenticate'
20         defaultto 'admin'
21     end
22
23     newparam(:auth_password) do
24         desc 'Password with which to authenticate'
25     end
26
27     newparam(:auth_tenant_name) do
28         desc 'Tenant name with which to authenticate'
29         defaultto 'admin'
30     end
31 end
32