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
This commit is contained in:
parent
9e918a4a51
commit
1a336269c8
@ -39,3 +39,4 @@ include ::ceph::profile::client
|
||||
include ::ceph::profile::osd
|
||||
|
||||
hiera_include('ceph_classes')
|
||||
package_manifest{'/var/lib/tripleo/installed-packages/overcloud_ceph': ensure => present}
|
||||
|
@ -93,3 +93,4 @@ class { 'snmp':
|
||||
}
|
||||
|
||||
hiera_include('compute_classes')
|
||||
package_manifest{'/var/lib/tripleo/installed-packages/overcloud_compute': ensure => present}
|
||||
|
@ -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}
|
||||
|
@ -1486,3 +1486,6 @@ if hiera('step') >= 4 {
|
||||
}
|
||||
|
||||
} #END STEP 4
|
||||
|
||||
$package_manifest_name = join(['/var/lib/tripleo/installed-packages/overcloud_controller_pacemaker', hiera('step')])
|
||||
package_manifest{$package_manifest_name: ensure => present}
|
||||
|
@ -48,4 +48,5 @@ class { 'snmp':
|
||||
snmpd_config => [ join(['rouser ', hiera('snmpd_readonly_user_name')]), 'proc cron', 'includeAllDisks 10%', 'master agentx', 'trapsink localhost public', 'iquerySecName internalUser', 'rouser internalUser', 'defaultMonitors yes', 'linkUpDownNotifications yes' ],
|
||||
}
|
||||
|
||||
hiera_include('object_classes')
|
||||
hiera_include('object_classes')
|
||||
package_manifest{'/var/lib/tripleo/installed-packages/overcloud_object': ensure => present}
|
||||
|
@ -52,4 +52,5 @@ class { 'snmp':
|
||||
snmpd_config => [ join(['rouser ', hiera('snmpd_readonly_user_name')]), 'proc cron', 'includeAllDisks 10%', 'master agentx', 'trapsink localhost public', 'iquerySecName internalUser', 'rouser internalUser', 'defaultMonitors yes', 'linkUpDownNotifications yes' ],
|
||||
}
|
||||
|
||||
hiera_include('volume_classes')
|
||||
hiera_include('volume_classes')
|
||||
package_manifest{'/var/lib/tripleo/installed-packages/overcloud_volume': ensure => present}
|
||||
|
@ -90,3 +90,5 @@ class tripleo::ringbuilder (
|
||||
}
|
||||
|
||||
include ::tripleo::ringbuilder
|
||||
|
||||
package_manifest{'/var/lib/tripleo/installed-packages/ringbuilder': ensure => present}
|
||||
|
Loading…
Reference in New Issue
Block a user