]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
added cronjob to puppet conf
authorThomas Heller <thomas.heller@pixelpark.com>
Fri, 22 Dec 2017 14:37:50 +0000 (15:37 +0100)
committerThomas Heller <thomas.heller@pixelpark.com>
Fri, 22 Dec 2017 14:37:50 +0000 (15:37 +0100)
customer/mbvd-van-werkstattportal/int-web01-van-werkstattportal-mercedes-benz-de.pixelpark.net.yaml

index a0fe35a9dedefec226f60aa8ffda876e6956e353..c6beca8e0d5facdbd3f581c7f195fbf883374f13 100644 (file)
@@ -1,5 +1,6 @@
 ---
 infra::additional_classes:
+  - infra::profile::cron
   - accounts
 accounts::users:
   andreas.pinto-koehler:
@@ -32,3 +33,14 @@ sudo::configs:
     content: |
       jenkins ALL=(wwwrun) NOPASSWD: ALL
       wwwrun ALL=(root) NOPASSWD: /home/sftp/chmod_csv.sh
+
+infra::profile::cron::cronjobs:
+  SPPS-Import:
+    command: '/var/www/werkstatt/web/modules/custom/mbvd_mbtrop_spps_migrate/scripts/spps_import.sh'
+    minute: '*'
+    hour: '*/8'
+    date: '*'
+    month: '*'
+    weekday: '*'
+    user: wwwrun
+    description: 'SPPS-Import'