Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #5 from enegado/patch-1
Browse files Browse the repository at this point in the history
updated init.pp to take in a custom path for denyhosts cfg/conf file
  • Loading branch information
tphoney committed Mar 5, 2015
2 parents f0a0095 + a4643b9 commit 2ceb8e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/init.pp
Expand Up @@ -27,6 +27,7 @@
$deny_threshold_valid = '10',
$deny_threshold_root = '1',
$deny_threshold_restricted = '1',
$denyhosts_cfg = '/etc/denyhosts.conf',
$work_dir = '/var/lib/denyhosts',
$suspicious_login_report_allowed_hosts = 'YES',
$hostname_lookup = 'YES',
Expand Down Expand Up @@ -66,7 +67,7 @@

package { 'denyhosts': ensure => $version }

file { '/etc/denyhosts.conf':
file { $denyhosts_cfg:
owner => root,
group => root,
mode => '0644',
Expand Down

0 comments on commit 2ceb8e8

Please sign in to comment.