summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2009-12-08 22:55:51 -0500
committerAntoine Beaupre <anarcat@koumbit.org>2009-12-08 22:55:51 -0500
commitfce1aa8bce54f0c2aa0c064b3818efe52c958dea (patch)
tree737ba2d2a67171925c65b1412b5468948d065be7
parentf0127b97a2c25011caaac083026cbf502a5ad37d (diff)
require the config files before installing denyhosts
this is to make sure the first run happens with the whitelist
-rw-r--r--manifests/base.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 18efe2f..cd146a8 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -1,6 +1,8 @@
class denyhosts::base {
package{denyhosts:
ensure => present,
+ require => [ File["/etc/denyhosts.conf"],
+ File["/var/lib/denyhosts/allowed-hosts"] ],
}
service{denyhosts: