]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
rsync deuwo imported data live to test
authorSascha <sascha.strassheim@pixelpark.com>
Tue, 31 Jul 2018 09:52:49 +0000 (11:52 +0200)
committerSascha <sascha.strassheim@pixelpark.com>
Tue, 31 Jul 2018 09:52:49 +0000 (11:52 +0200)
customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml

index df0c570e9d6cfbd5acd0ef2f56af60388eb381cc..e0a1478ea5046e0e5c92af4078ca886a0131938d 100644 (file)
@@ -8,26 +8,14 @@ infra::additional_classes:
   - infra::profile::clamav
   - logstash
 
-#  - zabbix::agent
-
-#zabbix::agent::include_dir_purge: false
-
-#infra::additional_files:
-#  zabbix_repo:
-#    path: '/etc/yum.repos.d/zabbix_3_4.repo'
-#    owner: 'root'
-#    group: 'root'
-#    mode: '0644'
-#    content: |
-#      [zabbix_3_4]
-#      name=Zabbix Yum Repo
-#      baseurl=http://repo.pixelpark.com/Linux/yum/zabbix/7/zabbix_3_4/
-#      enabled=1
-#      gpgcheck=0
-  #    gpgkey=http://repo.pixelpark.com/Linux/yum/RPM-GPG-KEY-ZABBIX
-
-#zabbix::agent::manage_repo: false
-#zabbix::repo::version: '3.4'
+infra::profile::cron::cronjobs:
+  rsync_immobilien_live_to_test:
+    # cron kann mit ensure: 'present' wieder aktiviert werden
+    ensure: 'present'
+    user: flugdat
+    command: '/bin/rsync -a -e "ssh -i /home/rsyncer/.ssh/id_rsa" /var/www/openimmo_import/ test-web01-deutsche-wohnen-com:/var/www/openimmo_import/'
+    minute: '*/3'
+    description: rsync_imports_live_2_test
 
 postfix::myorigin: 'deutsche-wohnen.com'
 infra::profile::postfix::relayhost: 213.61.61.162