content => "ControlPort 9051\n\n",
}
- concat { '/etc/onionbalance/config':
+ concat { '/etc/onionbalance/config.yaml':
notify => Service['onionbalance'],
require => Package['onionbalance'],
}
concat::fragment { 'onion::balance::config_header':
- target => "/etc/onionbalance/config",
+ target => "/etc/onionbalance/config.yaml",
order => 05,
content => "service:\n",
}
}
concat::fragment { "onion::balance::service_header::${name}":
- target => "/etc/onionbalance/config",
+ target => "/etc/onionbalance/config.yaml",
order => "50-${name}-10",
content => " - # ${name} via ${onion_hn}\n key: private_keys/${name}.key\n instances:\n",
}