This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain. This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.
Change-Id: I31c023824e428ad0fc3dad30b4d3103aaa747597
Removing puppet-lint warnings in favor of
upgrading the puppet-lint gem
2016-09-13 21:05:00.043653 | examples/ironic.pp:55:WARNING: unquoted node name found
2016-09-13 21:05:00.043728 | examples/ironic.pp:84:WARNING: unquoted node name found
2016-09-13 21:05:00.043749 | manifests/api.pp:120:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043767 | manifests/api.pp:124:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043785 | manifests/api.pp:128:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043803 | manifests/api.pp:132:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043822 | manifests/api.pp:136:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043840 | manifests/api.pp:140:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043858 | manifests/api.pp:196:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043877 | manifests/inspector.pp:233:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043910 | manifests/inspector.pp:237:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043929 | manifests/inspector.pp:241:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043947 | manifests/inspector.pp:245:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043965 | manifests/inspector.pp:249:WARNING: line has more than 140 characters
2016-09-13 21:05:00.043984 | manifests/inspector.pp:325:WARNING: line has more than 140 characters
Change-Id: I2fd5466639b5fd8eb709b8f2f55984c073a0c99d
Add ironic api and inspector authtoken classes to
configure keystone authtoken related parameters.
Unit tests are updated accordingly.
Deprecate some parameters in api and inspectore classes:
- ironic::api|inspector::admin_tenant_name is deprecated
in favor of ironic::api|inspector::authtoken::project_name.
- ironic::api|inspector::admin_user is deprecated
in favor of ironic::api|inspector::authtoken::username.
- ironic::api|inspector::admin_password is deprecated
in favor of ironic::api|inspector::authtoken::password.
- ironic::api|inspector::identity_uri is deprecated
in favor of ironic::api|inspector::authtoken::auth_uri.
- ironic::api|inspector::auth_uri is deprecated
in favor of ironic::api|inspector::authtoken::auth_uri.
- ironic::api::memcached_servers is deprecated
in favor of ironic::api::authtoken::memcached_servers.
Closes-bug: #1604463
Change-Id: Idcb9557ab0b42b2a0dba7cf2ab6a5ccf52dd1d23
This change adds the abiltity to manage the memcached servers for the
keystone authtoken configuration in ironic::api
Change-Id: I43af512ffd7662366534128ef2e5836d5a506252
public_endpoint allows to set URL to use when building the links to the API
resources.
If the API is operating behind a proxy, user will want to change this to
represent the proxy's URL.
Change-Id: Ic85497dd957cf1de738da728c1b0f5b87fecfb79
Drop old auth_ parameters that were deprecated, to use by default
identity_uri and auth_uri.
Also deprecate auth_version which has no effect when using identity_uri
and auth_uri.
It keeps default values from before.
Closes-Bug: #1528963
Change-Id: I624ee69268ceaf9adf075509c5f2a5359aef1ff1
* Using the same method as other OpenStack modules, add WSGI support in
manifests.
* Change functional testing to run apache by default.
Change-Id: I96047373b8ee27eade21e1b5b466d8bb7259ddb8
This patch adds the ability to set a new identity_uri parameter.
It also deprecates the old auth_host, auth_port, auth_protocol,
and auth_admin_prefix parameters. Logic is in place so that
users of the deprecated settings should have a smooth upgrade
process and get deprecation warnings until they adopt the
new settings.
Change-Id: Ibcc63d82b6e7b9de6ef12209a43f39a4cdecb5a2
Currently we specify the ordering of config resources wherever it is
necessary based on the presence of the file it will write to, or the
presence of the package in charge of providing the file it will write
to.
Those kind of ordering can be specified directly at the resource level
using the autorequire mechanism. With this patch, any config resource
will make sure the package in charge of providing the file will be
installed first.
Change-Id: I121f3cf146d9909cd549bd2e252f8cc645e5a030
In order to be able to take an action after all the packages of the
module have been installed/updated or all the services have been
started/restarted, we set a 'ironic-package' and 'ironic-service' tag
for each package and service of this module.
At the moment, there is a generic openstack tag that is not specific
enough if one wants to take action upon a single module change.
Use case :
If an action needs to be taken after all the packages have been
installed or updated : Package <| tag == 'ironic-package' |> -> X
Change-Id: I7cea635625e841db05a5163e7b7ea5a138c3c307
The gem 'puppet-lint-param-docs' was bumped to 1.2.0 and now handle
class and define type. This patch fix lint issues (missing documentation).
Change-Id: I9899719b9e81c1769a4577cbe1d35caeee231785
Some users wish to override the default package provider by their own.
Tag all packages with the 'openstack' to allow mass resource attributes
override using resource collectors.
Closes-bug: #1391209
Change-Id: I4ad01a9f55deb441fec12ffa0541584fb5e07478
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
- This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins. Most of these plugins are for 4.x compat, but some just
catch common errors.
Change-Id: Ic47d53384592637dd27c3d0851fe24861ee1ed81
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Initially, the module was not creating an ironic.conf file and now
it does. The configurations that are being put into the ironic.conf
file come straight out of the documentation.
The ironic-conductor service requires the execution of 'ironic-dbsync'
before it can be active.
In the params module, the 'RedHat' packages and services were named
incorrectly or were otherwise missing.
Change-Id: I73cecc590038fa7d9518453c448bfc243ddedff1
This commit allow a deployer to manage the policies via this module
It relies on augeas to change only the policy needed. The init takes
a hash of policies and apply them.
Change-Id: I8bd71a740294394009b2ad581121a9999956b5d0