diff options
author | Dan Prince <dprince@redhat.com> | 2015-06-22 16:19:33 -0400 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2015-10-01 15:35:57 +1300 |
commit | 1a336269c8b07b5d2cbf6c15cdd3a8b302421c45 (patch) | |
tree | cbae342b44c3906afbff64014cb4d3c87bcf71ba /puppet/manifests/overcloud_controller.pp | |
parent | 9e918a4a517f62d4417909311041e3e54a726462 (diff) |
Write package names out to flat files
This patch updates all of the overcloud manifests so that
we write out flat files containing lists of the Puppet
packages which were managed by each manifest.
The flat files all get written to
/var/lib/puppet-tripleo/installed-packages/ where they can
be easily parsed by external tools. Example format from
the flat files looks like (for the controller step 1):
cat /var/lib/puppet-tripleo/installed-packages/overcloud_controller1
keepalived
haproxy
Depends-On: If3e03b1983fed47082fac8ce63f975557dbc503c
Change-Id: Ia324a08711796aa664f9c0273a051f4f2e3e92c9
Diffstat (limited to 'puppet/manifests/overcloud_controller.pp')
-rw-r--r-- | puppet/manifests/overcloud_controller.pp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller.pp b/puppet/manifests/overcloud_controller.pp index fdb16ea2..36b91a7b 100644 --- a/puppet/manifests/overcloud_controller.pp +++ b/puppet/manifests/overcloud_controller.pp @@ -462,3 +462,6 @@ if hiera('step') >= 3 { if hiera('step') >= 4 { include ::keystone::cron::token_flush } #END STEP 4 + +$package_manifest_name = join(['/var/lib/tripleo/installed-packages/overcloud_controller', hiera('step')]) +package_manifest{$package_manifest_name: ensure => present} |