aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-08-08 21:45:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-08-08 21:45:58 -0300
commit3bd12fe538e4eb2bee6bf679c74c44efd02b0fcf (patch)
treeac1909801c2149c1636fbb7cfd9d1fac52ecc27a /manifests
parentf3a248f94349cd3816286f0bb7b60fd971608cdf (diff)
downloadsmartmonster-3bd12fe538e4eb2bee6bf679c74c44efd02b0fcf.tar.gz
smartmonster-3bd12fe538e4eb2bee6bf679c74c44efd02b0fcf.tar.bz2
Ensure md5deep is installed on debian systemsHEADmaster
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 93166a2..34cddc9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -22,4 +22,11 @@ class smartmonster {
mode => '0755',
source => 'puppet:///modules/smartmonster/99_smartmonster_sleep.d.sh',
}
+
+ package { 'md5deep':
+ ensure => $operatingsystem ? {
+ 'Debian' => installed,
+ default => undef,
+ },
+ }
}