Commit 11de0f0fe83f0d7b4c589010110d69e639be6f87
1 parent
f21f3dd5
Exists in
master
and in
39 other branches
Commenting out cronjob to mount sshfs
This should be done with puppet mount
Showing
1 changed file
with
10 additions
and
10 deletions
Show diff stats
puppet/modules/colab/manifests/cronjobs.pp
@@ -47,15 +47,15 @@ class colab::cronjobs { | @@ -47,15 +47,15 @@ class colab::cronjobs { | ||
47 | require => File['/mnt/mailman/'], | 47 | require => File['/mnt/mailman/'], |
48 | } | 48 | } |
49 | 49 | ||
50 | - cron { 'mount-sshfs': | ||
51 | - command => 'test -e /mnt/mailman/archives/flag || sshfs root@listas.interlegis.gov.br:/var/lib/mailman/archives/private /mnt/mailman/archives/ -o ro,nosuid,nodev,max_read=65536,allow_other,IdentityFile=/root/.ssh/id_rsa && touch /mnt/mailman/archives/flag &> /dev/null', | ||
52 | - minute => '*/5', | ||
53 | - user => 'root', | ||
54 | - require => [ | ||
55 | - File['/mnt/mailman/archives/'], | ||
56 | - #File['root-ssh-private-key'], | ||
57 | - Package['sshfs'], | ||
58 | - ], | ||
59 | - } | 50 | + #cron { 'mount-sshfs': |
51 | + # command => 'test -e /mnt/mailman/archives/flag || sshfs root@listas.interlegis.gov.br:/var/lib/mailman/archives/private /mnt/mailman/archives/ -o ro,nosuid,nodev,max_read=65536,allow_other,IdentityFile=/root/.ssh/id_rsa && touch /mnt/mailman/archives/flag &> /dev/null', | ||
52 | + # minute => '*/5', | ||
53 | + # user => 'root', | ||
54 | + # require => [ | ||
55 | + # File['/mnt/mailman/archives/'], | ||
56 | + # #File['root-ssh-private-key'], | ||
57 | + # Package['sshfs'], | ||
58 | + # ], | ||
59 | + #} | ||
60 | 60 | ||
61 | } | 61 | } |