diff options
author | Dan Prince <dprince@redhat.com> | 2015-07-03 17:01:07 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-07-03 17:16:07 -0400 |
commit | e260543f903eea0d14c2b7ddd5e1480d9042759d (patch) | |
tree | 81d5ff0f474e57b695f159b15a14361158ca266c /templates/database | |
parent | d8b609878f3fe90a417faae251925cf5a8e54a23 (diff) |
Add class to set noop on various puppet resources
This patch adds a new tripleo::noop class that can be
used to help switch all resources of a given type
to noop mode. The class does this via Puppet resource
collectors to enable the noop metaparam on all resources
of the specified type.
When a resource is in noop mode no action
will get taken (however puppet stdout will log information
about what would happen if noop were removed).
The motivation for this patch is to be able to do something
like this and run puppet to configure select resources
(like only config files):
class {'tripleo::noop':
file => false
}
It is important to note that when tripleo::noop is used all common
resources default to noop mode.
This could be used alongside docker containers to provide
a mechanism to pre-configure all related config files for
a set of docker containers ahead of time.
Change-Id: I67f9dbbf33a2d6bcee5005ae0b6b1aa7091039ad
Diffstat (limited to 'templates/database')
0 files changed, 0 insertions, 0 deletions