Puppet Class: peadm::setup::node_manager_yaml
- Defined in:
- manifests/setup/node_manager_yaml.pp
Overview
Set up the node_manager.yaml file in the temporary Bolt confdir so that node_group resources may be used during Bolt apply runs
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'manifests/setup/node_manager_yaml.pp', line 3
class peadm::setup::node_manager_yaml (
String $primary_host
) {
# Necessary to give the sandboxed Puppet executor the configuration
# necessary to connect to the classifier`
file { 'node_manager.yaml':
ensure => file,
mode => '0644',
path => Deferred('peadm::node_manager_yaml_location'),
content => epp('peadm/node_manager.yaml.epp', {
server => $primary_host,
}),
}
}
|