Project

General

Profile

« Previous | Next » 

Revision 4562caa6

Added by Dominic Cleal almost 10 years ago

Change config file owner to root with group read only

View differences:

manifests/settings_file.pp
define foreman_proxy::settings_file (
$path = "/etc/foreman-proxy/settings.d/${title}.yml",
$template_path = "foreman_proxy/${title}.yml.erb",
$owner = $foreman_proxy::user,
$group = $foreman_proxy::user,
$mode = '0644',
$owner = 'root',
$group = $::foreman_proxy::user,
$mode = '0640',
) {
file {$path:

Also available in: Unified diff