diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-10 16:08:30 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-10 16:08:30 -0500 |
commit | ab0c496979e18b6a2ef1a550e2385766c76f765e (patch) | |
tree | 7db5c87f458bfbd1a249eafbfa519032737f0f32 /manifests/init.pp | |
parent | 76352415fec5c2ab6975e3a8843dd4983f7cae6a (diff) |
adapt module_dir to new common module and create 'munin' base class to provide it, instead of doing an import
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 983c7d5..578c4bb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -15,4 +15,6 @@ # the port is a parameter so vservers can share # IP addresses and still be happy -modules_dir { [ "munin", "munin/nodes", "munin/plugins" ]: } +class munin { + module_dir { [ "munin", "munin/nodes", "munin/plugins" ]: } +} |