projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try with modules from master
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
keystone
/
lib
/
puppet
/
type
/
keystone_service.rb
diff --git
a/3rdparty/modules/keystone/lib/puppet/type/keystone_service.rb
b/3rdparty/modules/keystone/lib/puppet/type/keystone_service.rb
index
9b2c1d9
..
a4be4ed
100644
(file)
--- a/
3rdparty/modules/keystone/lib/puppet/type/keystone_service.rb
+++ b/
3rdparty/modules/keystone/lib/puppet/type/keystone_service.rb
@@
-1,6
+1,7
@@
# LP#1408531
File.expand_path('../..', File.dirname(__FILE__)).tap { |dir| $LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir) }
# LP#1408531
File.expand_path('../..', File.dirname(__FILE__)).tap { |dir| $LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir) }
-require 'puppet/util/openstack'
+File.expand_path('../../../../openstacklib/lib', File.dirname(__FILE__)).tap { |dir| $LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir) }
+
Puppet::Type.newtype(:keystone_service) do
desc 'This type can be used to manage keystone services.'
Puppet::Type.newtype(:keystone_service) do
desc 'This type can be used to manage keystone services.'
@@
-37,10
+38,4
@@
Puppet::Type.newtype(:keystone_service) do
autorequire(:service) do
['keystone']
end
autorequire(:service) do
['keystone']
end
-
- auth_param_doc=<<EOT
-If no other credentials are present, the provider will search in
-/etc/keystone/keystone.conf for an admin token and auth url.
-EOT
- Puppet::Util::Openstack.add_openstack_type_methods(self, auth_param_doc)
end
end