From 1893960c1babb6a261cc6fc399231e9c0644a104 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 29 Sep 2009 22:51:15 +0200 Subject: refactor everything into its own file --- manifests/client/gentoo.pp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 manifests/client/gentoo.pp (limited to 'manifests/client/gentoo.pp') diff --git a/manifests/client/gentoo.pp b/manifests/client/gentoo.pp new file mode 100644 index 0000000..761742e --- /dev/null +++ b/manifests/client/gentoo.pp @@ -0,0 +1,9 @@ +class munin::client::gentoo inherits munin::client::package { + Package['munin-node'] { + name => 'munin', + category => 'net-analyzer', + } + + + include munin::plugins::gentoo +} -- cgit v1.2.3 From a385bc413215ac5aa6b646c3e4ebf59063230bd8 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 29 Sep 2009 23:02:47 +0200 Subject: correctly include the right client class --- manifests/client/gentoo.pp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'manifests/client/gentoo.pp') diff --git a/manifests/client/gentoo.pp b/manifests/client/gentoo.pp index 761742e..53d472b 100644 --- a/manifests/client/gentoo.pp +++ b/manifests/client/gentoo.pp @@ -1,9 +1,8 @@ class munin::client::gentoo inherits munin::client::package { - Package['munin-node'] { - name => 'munin', - category => 'net-analyzer', - } + Package['munin-node'] { + name => 'munin', + category => 'net-analyzer', + } - include munin::plugins::gentoo } -- cgit v1.2.3