puppet-zaqar/metadata.json
Dan Prince fa9218c4cd Reflect provider change in puppet-openstacklib
With the creation of the new openstack_config provider, some
essing
that was done in zaqar_config has been centralized in
openstack_config.

Impacted methods are :

  * section
  * setting
  * separator

Also, this commit adds the fact that, when passing a specific string
(ensure_absent_val) the provider will behave as if ensure => absent
was
specified. '<SERVICE DEFAULT>' is the default value for
ensure_absent_val.

The use case is the following :

zaqar_config { 'DEFAULT/foo' : value => 'bar' } # will work as
l

zaqar_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>' } #
 mean absent

That means that all the current :

if $myvar {
  zaqar_config { 'DEFAULT/foo' : value => $myvar }
} else {
  zaqar_config { 'DEFAULT/foo' : ensure => absent }
}

can be removed in favor of :

zaqar_config { 'DEFAULT/foo' : value => $myvar }

If for any reason '<SERVICE DEFAULT>' turns out to be a valid value
for a specific parameter. One could by pass that doing the following

zaqar_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>',
 ensure_absent_val => 'foo' }

Change-Id: Iaaf2e5755080ef32d7d585465aaea6fd408d0ece
2016-02-11 20:10:48 -05:00

35 lines
1.0 KiB
JSON

{
"name": "openstack-zaqar",
"version": "0.0.1",
"author": "OpenStack Contributors",
"summary": "Puppet module for OpenStack Zaqar",
"license": "Apache-2.0",
"source": "git://github.com/openstack/puppet-zaqar.git",
"project_page": "https://launchpad.net/puppet-zaqar",
"issues_url": "https://bugs.launchpad.net/puppet-zaqar",
"description": "Installs and configures OpenStack Zaqar.",
"operatingsystem_support": [
{
"operatingsystem": "Debian",
"operatingsystemrelease": ["8"]
},
{
"operatingsystem": "Fedora",
"operatingsystemrelease": ["21","22"]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": ["7"]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": ["14.04"]
}
],
"dependencies": [
{ "name": "puppetlabs/inifile", "version_requirement": ">=1.0.0 <2.0.0" },
{ "name": "puppetlabs/stdlib", "version_requirement": ">= 4.0.0 <5.0.0" },
{ "name": "openstack/openstacklib", "version_requirement": ">=7.0.0 <8.0.0" }
]
}