]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
mobile-aem - initial
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 22 May 2017 14:00:29 +0000 (16:00 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 22 May 2017 14:00:29 +0000 (16:00 +0200)
customer/mobile-aem/common.yaml [new file with mode: 0644]

diff --git a/customer/mobile-aem/common.yaml b/customer/mobile-aem/common.yaml
new file mode 100644 (file)
index 0000000..dfc9abb
--- /dev/null
@@ -0,0 +1,117 @@
+---
+infra::role: base_for_old_systems
+infra::additional_classes:
+  - java
+  - accounts
+  - infra::profile::cron
+
+java::package: java-1.8.0-oraclejdk
+puppetconf::server: puppetmaster01.pixelpark.com
+
+infra::profile::logstash::apache::resources:
+  log4j:
+    resource: log4j
+    order: 10 # Input
+    parameters:
+      host: '127.0.0.1'
+      type: log4j
+      tags: 
+        - "%{customer}"
+        - "%{tier}"
+
+ntp::servers:
+  - '0.centos.pool.ntp.org'
+  - '1.centos.pool.ntp.org'
+  - '2.centos.pool.ntp.org'
+
+accounts::users:
+  mobile:
+    apply: false
+
+sudo::configs:
+  aem:
+    priority: "05"
+    content: |
+      Cmnd_Alias START_PUBLISH = /usr/bin/systemctl start publish
+      Cmnd_Alias START_AUTHOR = /usr/bin/systemctl start author
+      Cmnd_Alias START_PUPPET = /usr/bin/systemctl start puppet
+      Cmnd_Alias STOP_PUBLISH = /usr/bin/systemctl stop publish
+      Cmnd_Alias STOP_AUTHOR = /usr/bin/systemctl stop author
+      Cmnd_Alias STOP_PUPPET = /usr/bin/systemctl stop puppet
+      Cmnd_Alias BACKUP = /usr/local/sbin/zfs_rotation.sh*
+      aem ALL=(ALL) NOPASSWD:START_PUBLISH, START_AUTHOR, START_PUPPET, STOP_PUBLISH, STOP_AUTHOR, STOP_PUPPET, BACKUP
+  xymon:
+    priority: "05"
+    content: |
+      Cmnd_Alias ZPOOL = /sbin/zpool list *
+      Cmnd_Alias ZFS = /sbin/zfs list
+      xymon ALL=(ALL) NOPASSWD:ZPOOL, ZFS
+
+# Apache
+apache::mod::worker::startservers: 1
+apache::mod::worker::maxclients: 200
+apache::mod::worker::maxrequestworkers: 200
+apache::mod::worker::minsparethreads: 30
+apache::mod::worker::maxsparethreads: 100
+apache::mod::worker::threadsperchild: 50
+apache::mod::worker::maxrequestsperchild: 15000
+apache::mod::worker::serverlimit: 4
+apache::mod::worker::threadlimit: 50
+
+#
+# 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::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'
+
+#aem::author::install_packages:
+#infra::profile::aem::author::instance_name: author
+#infra::profile::aem::author::install_mode: 'quickstart'
+#infra::profile::aem::author::install_options:
+#  download_type: maven
+#  download_uri: com.adobe.aem:aem-quickstart:6.1:jar
+
+# Compaction & Backup for Author
+#infra::profile::aem::author::oak_version: '1.2.7'
+#infra::profile::aem::author::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000'
+#infra::profile::aem::author::compaction_timeout: 21600 # 6h Timeout
+#infra::profile::aem::author::mail_to:
+#  - philipp.dallig@pixelpark.com
+
+#
+# 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::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'
+
+#infra::profile::aem::publish::install_mode: 'quickstart'
+#infra::profile::aem::publish::instance_name: publish
+#infra::profile::aem::publish::install_options:
+#  download_type: maven
+#  download_uri: com.adobe.aem:aem-quickstart:6.1:jar
+
+# Compaction & Backup for Publisher
+#infra::profile::aem::publish::oak_version: '1.2.7'
+#infra::profile::aem::publish::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000'
+#infra::profile::aem::publish::compaction_timeout: 21600 # 6h Timeout
+#infra::profile::aem::publish::mail_to:
+#  - philipp.dallig@pixelpark.com
+#
+# dispatcher
+#
+aem::dispatcher::download_type_options:
+  groupid: com.adobe.aem
+  artifactid: dispatcher-apache2.4
+  version: 4.2.2
+  packaging: so
+  repos: https://nexus.pixelpark.com/content/groups/public/
+
+