forked from redhat-openstack/openstack-puppet-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update keystone to b34e2e3bedc80168b99917f582492e5bf879486f
b34e2e3bedc80168b99917f582492e5bf879486f Merge "Reflect provider change in puppet-openstacklib" 5a92644f5a71e6ded1518fdac8ccfc657f797d98 Merge "Authentication URLs and endpoint clarity re-factor" 95598cb43d70c33707ab7a3fd76688ec15547f72 Merge "Validate service_identity resources" 36bdbcc07e049d7c1b8ca08910da91be166306a3 Authentication URLs and endpoint clarity re-factor 37d5af0229a48a6fd3b8dbcae14ef364d7d9d523 Merge "Clarify the origin of provider warning messages" d686122ce7f03c87b779ae3dccf14aa3b1adad73 Reflect provider change in puppet-openstacklib b9e6fb9f16e91b15f5fc66e2cf0a71ae4d9310db Clarify the origin of provider warning messages a41504d2df5723d201b3b18d712427bc6d41504b Validate service_identity resources Change-Id: I43ca41d01d21bb20d37def6b1bd357a64b944e83
- Loading branch information
Showing
14 changed files
with
285 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 1 addition & 18 deletions
19
keystone/lib/puppet/provider/keystone_config/ini_setting.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,10 @@ | ||
Puppet::Type.type(:keystone_config).provide( | ||
:ini_setting, | ||
:parent => Puppet::Type.type(:ini_setting).provider(:ruby) | ||
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting) | ||
) do | ||
|
||
def section | ||
resource[:name].split('/', 2).first | ||
end | ||
|
||
def setting | ||
resource[:name].split('/', 2).last | ||
end | ||
|
||
def separator | ||
'=' | ||
end | ||
|
||
def self.file_path | ||
'/etc/keystone/keystone.conf' | ||
end | ||
|
||
# added for backwards compatibility with older versions of inifile | ||
def file_path | ||
self.class.file_path | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.