On 7/23/2010 2:22 PM, ScubaDude wrote:
file {
"audit.rules":
owner => "root",
group => "root",
mode => "600",
path => $operatingsystem ? {
default => "/etc/audit.rules",
},
case $hardwaremodel {
"x86_64": { source => "puppet://
$server/modules/audit/audit.rules.64" }
default: { source => "puppet://
$server/modules/audit/audit.rules.32" }
},
}
Write instead:
file {
"audit.rules":
owner => "root",
group => "root",
mode => "600",
path => $operatingsystem ? {
default => "/etc/audit.rules",
},
}
case $hardwaremodel {
"x86_64": { File["audit.rules"] { source =>
"puppet:///modules/audit/audit.rules.64" } },
default: { File["audit.rules"] { source =>
"puppet:///modules/audit/audit.rules.32" } },
}
Best Regards, David
--
dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at
Klosterneuburg UID: ATU64260999
FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.