]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
mobile-aem - install publisher
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 23 May 2017 08:06:11 +0000 (10:06 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 23 May 2017 08:06:11 +0000 (10:06 +0200)
customer/mobile-aem/common.yaml
customer/mobile-aem/prod01-publish-mobile.pixelpark.net.yaml [new file with mode: 0644]
customer/mobile-aem/production.yaml [new file with mode: 0644]

index 182c24f8602c2464b7c6627ac305b7b9b064b72f..364967f5f89a4fe5d5bba5f947754d3a1f874039 100644 (file)
@@ -70,10 +70,10 @@ aem::maven::repos:
 #
 # Author
 #
-#infra::profile::aem::author::license_download_id: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAHvDr/AA7deYYdOheC6zH7+fF1WqVRCS0LSUbHUjvhoSAfNKcpblvy9qHwqT0KZul2/qsFXZczwWD+75YBWxQc2+iGueqv/Pk+0IgWJVr75QxtfCIyDChlfQfEHZuSMwZg32oFFvQ1i1KYEPnhhhVSpeHmeSxKaoKDs7B8uvO+yK2nz61h6TDnOCcnIL40QJuzM9MkfhMXHZzLZiwLgeceA4ONylXJ7tHggz9rF0rp1j9CcgaYtSofZb8y05qpHJqBWxMgZSLbSK1fjwa7IJVZwtVo3JyF3vPZaw+x1QrFV5pcebGqMdEAvrKd3L93UgcVtmH8xZ/GVf8uRmI+gLfmDBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCjElleD+b37Yhg/gf0ei0GgDC+k5ZPTdLTh3OVS+hSRrjL39UKGr47rHTKJ3tIygNgLR+xqlPiDshEyyHncKfjDhc=]
-#infra::profile::aem::author::license_product_version: '6.1.0.20150507'
-#infra::profile::aem::author::license_customer_name: 'SIRONA DENTAL SYSTEMS GMBH'
-#infra::profile::aem::author::license_product_name: 'Adobe Experience Manager'
+infra::profile::aem::author::license_download_id: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAEN2qzH/vimVxa82Q+XS1jNE1jwUzrbjpffGCYtPmCkIdR4Hc53j4nfyTXmmYeiecUWk6Cx/b0kTfWH/BwQpIpw+DXygSCenoKIoWTu2B8mWN2ZBVx/5s1/HUgSGzW97w1WADA5HMNZnVG3ry80izJ8VqFu3t7WwJd2wKs0OGioVs+iCJ723t0WpDwhzP8TzvefjYtG/qYSJkVgvQelWrO//dImyr1GTlK8NdkiQ8RguBNT/waUupfZoHXny+LtLpcUkwBsx5zE0dIxRpqrvxrPxla3XmL0deGi4UtV58YTlrK07lgh7oirwUtmaExooUOKrVv/xXO4dPf98jK2236jBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCLICVXB2wIkeXUUlGS04pngDDZR5eHg6ZbdVn+8Rivq9w9k7VdQ8txnieWtvZaqA5mp5mg/h4SERMEbvgQRd1a0hM=]
+infra::profile::aem::author::license_product_version: '6.2.0'
+infra::profile::aem::author::license_customer_name: 'Day Training'
+infra::profile::aem::author::license_product_name: 'Adobe Experience Manager'
 
 infra::profile::aem::author::jvm_opts: '-d64 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -XX:SurvivorRatio=20 -XX:TargetSurvivorRatio=0 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSCompactWhenClearAllSoftRefs -XX:CMSInitiatingOccupancyFraction=85 -XX:+CMSScavengeBeforeRemark -XX:+UseCompressedOops -XX:+DisableExplicitGC -Doak.queryLimitInMemory=500000 -Doak.queryLimitReads=100000 -Doak.fastQuerySize=true'
 
@@ -107,10 +107,10 @@ infra::profile::aem::author::oak_version: '1.2.7'
 #
 # Publisher 
 #
-#infra::profile::aem::publish::license_download_id: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAHvDr/AA7deYYdOheC6zH7+fF1WqVRCS0LSUbHUjvhoSAfNKcpblvy9qHwqT0KZul2/qsFXZczwWD+75YBWxQc2+iGueqv/Pk+0IgWJVr75QxtfCIyDChlfQfEHZuSMwZg32oFFvQ1i1KYEPnhhhVSpeHmeSxKaoKDs7B8uvO+yK2nz61h6TDnOCcnIL40QJuzM9MkfhMXHZzLZiwLgeceA4ONylXJ7tHggz9rF0rp1j9CcgaYtSofZb8y05qpHJqBWxMgZSLbSK1fjwa7IJVZwtVo3JyF3vPZaw+x1QrFV5pcebGqMdEAvrKd3L93UgcVtmH8xZ/GVf8uRmI+gLfmDBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCjElleD+b37Yhg/gf0ei0GgDC+k5ZPTdLTh3OVS+hSRrjL39UKGr47rHTKJ3tIygNgLR+xqlPiDshEyyHncKfjDhc=]
-#infra::profile::aem::publish::license_product_version: '6.1.0.20150507'
-#infra::profile::aem::publish::license_customer_name: 'SIRONA DENTAL SYSTEMS GMBH'
-#infra::profile::aem::publish::license_product_name: 'Adobe Experience Manager'
+infra::profile::aem::publish::license_download_id: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAEN2qzH/vimVxa82Q+XS1jNE1jwUzrbjpffGCYtPmCkIdR4Hc53j4nfyTXmmYeiecUWk6Cx/b0kTfWH/BwQpIpw+DXygSCenoKIoWTu2B8mWN2ZBVx/5s1/HUgSGzW97w1WADA5HMNZnVG3ry80izJ8VqFu3t7WwJd2wKs0OGioVs+iCJ723t0WpDwhzP8TzvefjYtG/qYSJkVgvQelWrO//dImyr1GTlK8NdkiQ8RguBNT/waUupfZoHXny+LtLpcUkwBsx5zE0dIxRpqrvxrPxla3XmL0deGi4UtV58YTlrK07lgh7oirwUtmaExooUOKrVv/xXO4dPf98jK2236jBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCLICVXB2wIkeXUUlGS04pngDDZR5eHg6ZbdVn+8Rivq9w9k7VdQ8txnieWtvZaqA5mp5mg/h4SERMEbvgQRd1a0hM=]
+infra::profile::aem::publish::license_product_version: '6.2.0'
+infra::profile::aem::publish::license_customer_name: 'Day Training'
+infra::profile::aem::publish::license_product_name: 'Adobe Experience Manager'
 
 infra::profile::aem::publish::jvm_opts: '-d64 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -XX:SurvivorRatio=20 -XX:TargetSurvivorRatio=0 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSCompactWhenClearAllSoftRefs -XX:CMSInitiatingOccupancyFraction=85 -XX:+CMSScavengeBeforeRemark -XX:+UseCompressedOops -XX:+DisableExplicitGC -Doak.queryLimitInMemory=500000 -Doak.queryLimitReads=100000 -Doak.fastQuerySize=true'
 
@@ -150,41 +150,4 @@ aem::dispatcher::download_type_options:
   packaging: so
   repos: https://nexus.pixelpark.com/content/groups/public/
 
-# Apache Author
-infra::profile::aem::author::enable_apache: true
-infra::profile::aem::author::pp_vhosts:
-  mobile-author:
-    docroot: '/var/www'
-    servername: prod-mobile-author.pixelpark.net
-    cert_servername: 'wildcard.pixelpark.net'
-    cert_customer: 'pixelpark'
-    ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
-    ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
-    ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
-    allow_encoded_slashes: 'on'
-    rewrites_non_ssl:
-      - https:
-        comment: 'all to https'
-        rewrite_rule:
-          - '^(.*)$ https://prod-mobile-author.pixelpark.net$1 [L,R=301,QSA,NE]'
-    proxy_preserve_host: true
-    proxy_pass:
-      - { path: /, url: 'http://localhost:4502/' }
-    request_headers_ssl:
-      - 'set X-Forwarded-Proto "https"'
-      - 'set X-Forwarded-Ssl on'
-      - 'set X-Forwarded-Port 443'
-    aliases:
-      - { alias: /error_custom/ , path: /var/www/html/error_custom/ }
-    error_documents:
-      - { error_code: 502 , document: "/error_custom/error.shtml" }
-      - { error_code: 503 , document: "/error_custom/error.shtml" }
-    directories:
-      # docroot
-      - provider: directory
-        path: '/var/www/'
-      # error_documents
-      - provider: directory
-        path: /var/www/html/error_custom/
-        options:
-          - +Includes
+
diff --git a/customer/mobile-aem/prod01-publish-mobile.pixelpark.net.yaml b/customer/mobile-aem/prod01-publish-mobile.pixelpark.net.yaml
new file mode 100644 (file)
index 0000000..7e78af4
--- /dev/null
@@ -0,0 +1,16 @@
+---
+infra::role: base_for_old_systems # because we don't need xymon
+infra::additional_classes:
+  - accounts
+# Disable because of extra 7.3 download path
+#  - repo::redhat::zfs
+  - infra::profile::aem::publish
+  - apache::mod::include
+
+infra::profile::cron::cronjobs:
+  zfs_rotation:
+    user: root
+    command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days
+    minute: 0
+    hour: '0,12'
+    description: ZFS Snapshot
\ No newline at end of file
diff --git a/customer/mobile-aem/production.yaml b/customer/mobile-aem/production.yaml
new file mode 100644 (file)
index 0000000..4e6acb2
--- /dev/null
@@ -0,0 +1,60 @@
+---
+
+# Apache Author
+infra::profile::aem::author::enable_apache: true
+infra::profile::aem::author::pp_vhosts:
+  mobile-author:
+    docroot: '/var/www'
+    servername: prod-mobile-author.pixelpark.net
+    cert_servername: 'wildcard.pixelpark.net'
+    cert_customer: 'pixelpark'
+    ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+    ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+    ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+    allow_encoded_slashes: 'on'
+    rewrites_non_ssl:
+      - https:
+        comment: 'all to https'
+        rewrite_rule:
+          - '^(.*)$ https://prod-mobile-author.pixelpark.net$1 [L,R=301,QSA,NE]'
+    proxy_preserve_host: true
+    proxy_pass:
+      - { path: /, url: 'http://localhost:4502/' }
+    request_headers_ssl:
+      - 'set X-Forwarded-Proto "https"'
+      - 'set X-Forwarded-Ssl on'
+      - 'set X-Forwarded-Port 443'
+    aliases:
+      - { alias: /error_custom/ , path: /var/www/html/error_custom/ }
+    error_documents:
+      - { error_code: 502 , document: "/error_custom/error.shtml" }
+      - { error_code: 503 , document: "/error_custom/error.shtml" }
+    directories:
+      # docroot
+      - provider: directory
+        path: '/var/www/'
+      # error_documents
+      - provider: directory
+        path: /var/www/html/error_custom/
+        options:
+          - +Includes
+
+# Apache Publisher
+infra::profile::aem::publish::pp_vhosts:
+  mobile:
+    serveraliases:
+      - prod-mobile-publish.pixelpark.net
+    docroot: '/opt/adobe/www/cache/content/mobile'
+    cert_servername: 'wildcard.pixelpark.net'
+    cert_customer: 'pixelpark'
+    ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+    ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+    ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+    docroot_owner: apache
+    directories:
+      # docroot:
+      - provider: directory
+        path: '/opt/adobe/www/cache/content/mobile'
+        sethandler: dispatcher-handler
+        options:
+          - FollowSymLinks