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 trove to 1244fcaf35a8857437418e1065c8bed0fb4beb03
1244fcaf35a8857437418e1065c8bed0fb4beb03 Merge "Reflect provider change in puppet-openstacklib" c8527beace1b2138b6953a518a2f1bb1e328b70c Reflect provider change in puppet-openstacklib f5288e5d0ad8486b2f3ec19ec987041e178666b6 Fix default value of guestagent_config_file option Change-Id: I60ed5edda5baa94dc6d390d12ca02674d3082af5
- Loading branch information
Showing
14 changed files
with
186 additions
and
93 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
19 changes: 1 addition & 18 deletions
19
trove/lib/puppet/provider/trove_api_paste_ini/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(:trove_api_paste_ini).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/trove/api-paste.ini' | ||
end | ||
|
||
# added for backwards compatibility with older versions of inifile | ||
def file_path | ||
self.class.file_path | ||
end | ||
|
||
end |
19 changes: 1 addition & 18 deletions
19
trove/lib/puppet/provider/trove_conductor_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(:trove_conductor_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/trove/trove-conductor.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,10 @@ | ||
Puppet::Type.type(:trove_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/trove/trove.conf' | ||
end | ||
|
||
# added for backwards compatibility with older versions of inifile | ||
def file_path | ||
self.class.file_path | ||
end | ||
|
||
end |
19 changes: 1 addition & 18 deletions
19
trove/lib/puppet/provider/trove_guestagent_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(:trove_guestagent_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/trove/trove-guestagent.conf' | ||
end | ||
|
||
# added for backwards compatibility with older versions of inifile | ||
def file_path | ||
self.class.file_path | ||
end | ||
|
||
end |
19 changes: 1 addition & 18 deletions
19
trove/lib/puppet/provider/trove_taskmanager_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(:trove_taskmanager_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/trove/trove-taskmanager.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
Oops, something went wrong.