/usr/share/puppet/modules.available/puppet-community-mcollective/manifests/actionpolicy.pp is in puppet-module-puppet-community-mcollective 0.6.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # 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
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,
},
}
}
|