Skip to content

Commit

Permalink
Add xen::munin::plugin::memory, simplify xen::munin::plugin::cpu (usi…
Browse files Browse the repository at this point in the history
…ng munin::plugin source)
  • Loading branch information
albanpeignier committed Sep 6, 2010
1 parent d4f3330 commit 9456e1a
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@
class xen::munin::plugin::cpu {
include munin

file { "/usr/local/share/munin/plugins/xen-cpu":
source => "puppet:///xen/munin/xen-cpu",
mode => 755,
require => Package[xen-tools]
}
munin::plugin { xen-cpu:
script_path => "/usr/local/share/munin/plugins",
config => "user root",
require => File["/usr/local/share/munin/plugins/xen-cpu"]
source => "puppet:///xen/munin/xen-cpu",
config => "user root"
}
}

class xen::munin::plugin::memory {
include munin

munin::plugin { xen-memory:
source => "puppet:///xen/munin/xen-memory",
config => "user root"
}
}

0 comments on commit 9456e1a

Please sign in to comment.