From 7b5530f67ca36fb69ef20f770d69919615033010 Mon Sep 17 00:00:00 2001 From: Sascha Date: Tue, 31 Jul 2018 11:52:49 +0200 Subject: [PATCH] rsync deuwo imported data live to test --- ...b01-deutsche-wohnen-com.pixelpark.net.yaml | 28 ++++++------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml index df0c570e..e0a1478e 100644 --- a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -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 -- 2.39.5