2 File.expand_path('../..', File.dirname(__FILE__)).tap { |dir| $LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir) }
3 require 'puppet/util/openstack'
4 Puppet::Type.newtype(:keystone_role) do
7 This is currently used to model the creation of
13 newparam(:name, :namevar => true) do
19 raise(Puppet::Error, 'This is a read only property')
23 # we should not do anything until the keystone service is started
24 autorequire(:service) do
29 If no other credentials are present, the provider will search in
30 /etc/keystone/keystone.conf for an admin token and auth url.
32 Puppet::Util::Openstack.add_openstack_type_methods(self, auth_param_doc)