---
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
- dominic.radtke:
- apply: true
- sudo: true
- florian.schade:
- apply: true
- sudo: true
- victor.saar:
- apply: true
- sudo: true
- jenkins:
- apply: true
-
-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
- becomeAEM:
- priority: "06"
- content: |
- jenkins ALL=(aem) NOPASSWD: ALL
- 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
-
-aem::maven::mirrors:
- - {id: pixelpark-nexus, url: 'https://nexus.pixelpark.com/content/groups/public/', mirrorof: '*,!pixelpark-nexus,!mobile-de-releases,!mobile-de-snapshots'}
-aem::maven::repos:
- - nexus-repo:
- id: pixelpark-nexus
- url: 'https://nexus.pixelpark.com/content/groups/public/'
- releases:
- enabled: true
- - mobile-de-releases:
- id: mobile-de-releases
- url: 'https://nexus.pixelpark.com/content/repositories/releases-mobile-de/'
- releases:
- enabled: true
- - mobile-de-snapshots:
- id: mobile-de-snapshots
- url: 'https://nexus.pixelpark.com/content/repositories/snapshots-mobile-de/'
- snapshots:
- enabled: true
-aem::maven::servers:
- - mobile-de-releases:
- id: mobile-de-releases
- username: mobile-de
- password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAK7e5AePMt7uq0BAMJN6DFU0jLlxWusrWcu3+0bO53tn5zmfabZOfw3d7oee6RI/ez42eMh1wjb1dIAbv9uBcYwIhe8Sahbo3ffa+lCHsKRQzDRYreTVCIJqd2QEDm9yJgfoDCTZwHNRb3/BhhE3K/Lg6fxnXEUhnYq6rIdBevY5fPjk8j4K2Yf34paV2ArypOQBAp7MkNEBGMi4x/VPRw88589/zXr9Hikegz1Pi5eDL75p1r3BmUKi3pCA8X050nfvh3453nmjylwnmWyQiXt+XYCGEmC5F+fLQwGZI0oWvcOWLYisMqCCROtEDC5NePWd5hN6M/ePer6cYQU76FTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAfBCiONCnGxniFs78Z3isogCBljRv6kk1TJXU+sYbxhhgN2MJU3NX54X1xTzAdEmDOUA==]
- - mobile-de-snapshots:
- id: mobile-de-snapshots
- username: mobile-de
- password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAK7e5AePMt7uq0BAMJN6DFU0jLlxWusrWcu3+0bO53tn5zmfabZOfw3d7oee6RI/ez42eMh1wjb1dIAbv9uBcYwIhe8Sahbo3ffa+lCHsKRQzDRYreTVCIJqd2QEDm9yJgfoDCTZwHNRb3/BhhE3K/Lg6fxnXEUhnYq6rIdBevY5fPjk8j4K2Yf34paV2ArypOQBAp7MkNEBGMi4x/VPRw88589/zXr9Hikegz1Pi5eDL75p1r3BmUKi3pCA8X050nfvh3453nmjylwnmWyQiXt+XYCGEmC5F+fLQwGZI0oWvcOWLYisMqCCROtEDC5NePWd5hN6M/ePer6cYQU76FTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAfBCiONCnGxniFs78Z3isogCBljRv6kk1TJXU+sYbxhhgN2MJU3NX54X1xTzAdEmDOUA==]
-
-#
-# Author
-#
-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.3.0'
-infra::profile::aem::author::license_customer_name: 'Day Training'
-infra::profile::aem::author::license_product_name: 'Adobe Experience Manager'
-# echtes admin passswort
-infra::profile::aem::author::admin_pass: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAnjjKWVZqCMXzRMkxTMoX5+mAXZJSHCBF7cAHKIo/xyh+NYIn9XvFCkxRRGJkuL2H2L58uQHBt++zVNju8ROoZxzfTcCkbiSrLRRdpNINMpMQ4Nho/Y+sSQQk1AZKULoSL6h3nqQAmWJN1e92FUVPpjJgXYTGnFvhT1CaChZt21ckr64hzER0hGoo33ulA5dOYx/1cTBAbduqgrBZCHdwYEp6tfJielejnzMPLAQXIx6MBABAPi4nk0ZaNn2LZyIc9fZ+eMhTbIgAK9OCXVnqvZbx26Mx9AZvtbJcNQwpdA0LOE6PMS4d8QGIEh4pa/w1NhJrbNTva2CJni6HJONWcDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBWgqRxnoYdub+n+RHcTRhlgCA1OXoNpv/tAAgL4H2owP/pBzWrDii31+oaRA1ENOgwuQ==]
-
-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.3:jar
-
-
-
-# Compaction & Backup for Author
-infra::profile::aem::author::oak_version: '1.6.1'
-#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,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAEN2qzH/vimVxa82Q+XS1jNE1jwUzrbjpffGCYtPmCkIdR4Hc53j4nfyTXmmYeiecUWk6Cx/b0kTfWH/BwQpIpw+DXygSCenoKIoWTu2B8mWN2ZBVx/5s1/HUgSGzW97w1WADA5HMNZnVG3ry80izJ8VqFu3t7WwJd2wKs0OGioVs+iCJ723t0WpDwhzP8TzvefjYtG/qYSJkVgvQelWrO//dImyr1GTlK8NdkiQ8RguBNT/waUupfZoHXny+LtLpcUkwBsx5zE0dIxRpqrvxrPxla3XmL0deGi4UtV58YTlrK07lgh7oirwUtmaExooUOKrVv/xXO4dPf98jK2236jBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCLICVXB2wIkeXUUlGS04pngDDZR5eHg6ZbdVn+8Rivq9w9k7VdQ8txnieWtvZaqA5mp5mg/h4SERMEbvgQRd1a0hM=]
-infra::profile::aem::publish::license_product_version: '6.3.0'
-infra::profile::aem::publish::license_customer_name: 'Day Training'
-infra::profile::aem::publish::license_product_name: 'Adobe Experience Manager'
-infra::profile::aem::publish::admin_pass: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAnjjKWVZqCMXzRMkxTMoX5+mAXZJSHCBF7cAHKIo/xyh+NYIn9XvFCkxRRGJkuL2H2L58uQHBt++zVNju8ROoZxzfTcCkbiSrLRRdpNINMpMQ4Nho/Y+sSQQk1AZKULoSL6h3nqQAmWJN1e92FUVPpjJgXYTGnFvhT1CaChZt21ckr64hzER0hGoo33ulA5dOYx/1cTBAbduqgrBZCHdwYEp6tfJielejnzMPLAQXIx6MBABAPi4nk0ZaNn2LZyIc9fZ+eMhTbIgAK9OCXVnqvZbx26Mx9AZvtbJcNQwpdA0LOE6PMS4d8QGIEh4pa/w1NhJrbNTva2CJni6HJONWcDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBWgqRxnoYdub+n+RHcTRhlgCA1OXoNpv/tAAgL4H2owP/pBzWrDii31+oaRA1ENOgwuQ==]
-
-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.3:jar
-
-# Compaction & Backup for Publisher
-infra::profile::aem::publish::oak_version: '1.6.1'
-#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/
-
-