Defined Type: mcollective::actionpolicy
- Defined in:
- manifests/actionpolicy.pp
Overview
Define - mcollective::actionpolicy Sets up the actionpolicy for an agent Install them with mcollective::plugin Namevar will be the name of the agent to configure
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/actionpolicy.pp', line 5
define mcollective::actionpolicy($default = 'deny') {
datacat { "mcollective::actionpolicy ${name}":
owner => 'root',
group => '0',
mode => '0400',
path => "${mcollective::confdir}/policies/${name}.policy",
template => 'mcollective/actionpolicy.erb',
}
datacat_fragment { "mcollective::actionpolicy ${name} actionpolicy default":
target => "mcollective::actionpolicy ${name}",
data => {
'default' => $default,
},
}
}
|