diff options
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r-- | manifests/plugin.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp index 85ef4b1..b001810 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -2,7 +2,7 @@ define nagios::plugin( $source = 'absent', $ensure = present ){ - file{$name: + @@file{$name: path => $hardwaremodel ? { 'x86_64' => "/usr/lib64/nagios/plugins/$name", default => "/usr/lib/nagios/plugins/$name", @@ -12,6 +12,7 @@ define nagios::plugin( 'absent' => "puppet://$server/modules/nagios/plugins/$name", default => "puppet://$server/modules/$source" }, + tag => 'nagios_plugin', require => Package['nagios-plugins'], owner => root, group => 0, mode => 0755; } |