Puppet Class: ibm_profile::mq_machine::autostart
- Inherits:
- ibm_profile
- Defined in:
- manifests/mq_machine/autostart.pp
Summary
This class enables autostart for the specfied MQ managers.Overview
--
ibm_profile::mq_machine::autostart
This means a ‘systemctl` unit is created and the named MQ managers are added.
–++–
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'manifests/mq_machine/autostart.pp', line 13
class ibm_profile::mq_machine::autostart(
Hash $list = $ibm_profile::mq_managers,
) inherits ibm_profile {
echo {"Ensure Autostart for MQ Manager(s) ${list.keys.join(', ')}":
withpath => false,
}
$list.keys.each |$qm| {
mq_install::autostart {$qm:
ensure => 'present',
}
}
}
|