diff options
author | david <david@f03ff2f1-f02d-0410-970d-b9634babeaa1> | 2007-08-08 21:05:45 +0000 |
---|---|---|
committer | david <david@f03ff2f1-f02d-0410-970d-b9634babeaa1> | 2007-08-08 21:05:45 +0000 |
commit | a254bb2c2260c08ed3c234792231a8ec1e1b5c12 (patch) | |
tree | 5f2a8f2c1920a2a08608bbf2d7d5aa6a539260b9 | |
parent | 9f7e01c7af791040f483376e419ed83103837b12 (diff) |
minor fixes: sort fact contents; do not use non-existant service status on sarge; use --verbose instead of --test
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@193 f03ff2f1-f02d-0410-970d-b9634babeaa1
-rwxr-xr-x | files/facter/interfaces.rb | 2 | ||||
-rw-r--r-- | manifests/client.pp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/files/facter/interfaces.rb b/files/facter/interfaces.rb index dc9e37c..a498d64 100755 --- a/files/facter/interfaces.rb +++ b/files/facter/interfaces.rb @@ -8,6 +8,6 @@ Facter.add("interfaces") do value = matches[1] end value - end.compact.join(" ") + end.compact.sort.join(" ") end end diff --git a/manifests/client.pp b/manifests/client.pp index 967b7ef..08b1aba 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -110,7 +110,8 @@ class munin::client::debian service { "munin-node": ensure => running, - hasstatus => true, + # sarge's munin-node init script has no status + hasstatus => $lsb_release { sarge => false, default => true } } munin::register { $fqdn: } |