Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/downloadserver/manifests/init.pp

Issue 29364214: Issue 2487 - Introduce fail2ban module (Closed)
Patch Set: Issue 2487 - Introduce fail2ban module Created Nov. 25, 2016, 3:17 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/downloadserver/manifests/init.pp
===================================================================
--- a/modules/downloadserver/manifests/init.pp
+++ b/modules/downloadserver/manifests/init.pp
@@ -98,13 +98,6 @@
mode => 0600;
}
- file {'/home/rsync/.ssh/known_hosts':
- ensure => file,
- owner => rsync,
- mode => 0444,
- source => 'puppet:///modules/downloadserver/known_hosts'
- }
-
f.nicolaisen 2016/11/25 16:23:29 Accidentally included in this patch set.
f.lopez 2016/11/25 17:41:10 Yeah, gonna remove next patch as well
file {'/home/rsync/.ssh/id_rsa':
ensure => file,
owner => rsync,
@@ -121,10 +114,9 @@
cron {'mirror-devbuilds':
ensure => present,
- require => [File['/home/rsync/.ssh/known_hosts'],
- File['/home/rsync/.ssh/id_rsa'],
+ require => [File['/home/rsync/.ssh/id_rsa'],
File['/var/www/devbuilds']],
- command => 'rsync -e ssh -ltprz --delete devbuilds@ssh.adblockplus.org:. /var/www/devbuilds',
+ command => 'rsync -e ssh -ltprz --delete devbuilds@server16.adblockplus.org:. /var/www/devbuilds',
environment => hiera('cron::environment', []),
user => rsync,
hour => '*',

Powered by Google App Engine
This is Rietveld