]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
test customer
authorhakan.cosar <hakan.cosar@pixelpark.com>
Thu, 2 Mar 2017 13:41:38 +0000 (14:41 +0100)
committerhakan.cosar <hakan.cosar@pixelpark.com>
Thu, 2 Mar 2017 13:41:38 +0000 (14:41 +0100)
customer/cosar-test-customer/common.yaml [new file with mode: 0644]
customer/cosar-test-customer/cosar-virtualbox.yaml [new file with mode: 0644]

diff --git a/customer/cosar-test-customer/common.yaml b/customer/cosar-test-customer/common.yaml
new file mode 100644 (file)
index 0000000..37973ae
--- /dev/null
@@ -0,0 +1,95 @@
+---
+site::role: base_for_old_systems
+site::additional_classes:
+  - java
+  - accounts
+  - site::profile::cron
+
+java::package: java-1.8.0-oraclejdk
+puppetconf::server: puppetmaster01.pixelpark.com
+
+ntp::servers:
+  - '0.centos.pool.ntp.org'
+  - '1.centos.pool.ntp.org'
+  - '2.centos.pool.ntp.org'
+
+accounts::users:
+  sirona:
+    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
+
+#
+# Author
+#
+site::profile::aem::author::license_download_id: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAtR+9k48DYe+gXfmxmMzJ/zd0LdOciTH2lpoFz5sF+cTJvWQXKxk39L+HVGr1FIQaGz0l5FcTkbx2NIem4xEZFKw0mVfEZ2iPOP/c15q9cOl6AZ3/SoUWjh3WdpULZdvJaORhvbU4/PG3kyZJgBUwNKeJp3uVF3P6meRjrqya8MxeAaOWLS8wt+DQSGIWwQ221cxZH3fyUpEB21uZeSEiEyauflBXJUKUD0KPyrzjiff2u6rajLmgiy3LGn2k3IFwomVXiytavwoXfnuaaTKKAIFwX8EM+qOEwONhIoFgQ6lQDus2t4UeacTWurkgQYmHC1HD96z72gvzaDbmTa0asDBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBA9pTet8t9bjfB5QYuNP1ogDCU1tR6lV5KceC1gI08avxDAvmSEGrbi/3R4vqMvvRwDzxMV4X7NQccOiigQxriyyA=]
+site::profile::aem::author::license_product_version: '6.1.0.20150507'
+site::profile::aem::author::license_customer_name: 'Day Training'
+site::profile::aem::author::license_product_name: 'Adobe Experience Manager'
+
+site::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:
+site::profile::aem::author::instance_name: author
+site::profile::aem::author::install_mode: 'quickstart'
+site::profile::aem::author::install_options:
+  download_type: maven
+  download_uri: com.adobe.aem:aem-quickstart:6.1:jar
+
+# Compaction & Backup for Author
+site::profile::aem::author::oak_version: '1.2.7'
+site::profile::aem::author::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000'
+site::profile::aem::author::compaction_timeout: 21600 # 6h Timeout
+site::profile::aem::author::mail_to:
+  - philipp.dallig@pixelpark.com
+
+#
+# Publisher 
+#
+site::profile::aem::author::license_download_id: ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAtR+9k48DYe+gXfmxmMzJ/zd0LdOciTH2lpoFz5sF+cTJvWQXKxk39L+HVGr1FIQaGz0l5FcTkbx2NIem4xEZFKw0mVfEZ2iPOP/c15q9cOl6AZ3/SoUWjh3WdpULZdvJaORhvbU4/PG3kyZJgBUwNKeJp3uVF3P6meRjrqya8MxeAaOWLS8wt+DQSGIWwQ221cxZH3fyUpEB21uZeSEiEyauflBXJUKUD0KPyrzjiff2u6rajLmgiy3LGn2k3IFwomVXiytavwoXfnuaaTKKAIFwX8EM+qOEwONhIoFgQ6lQDus2t4UeacTWurkgQYmHC1HD96z72gvzaDbmTa0asDBcBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBA9pTet8t9bjfB5QYuNP1ogDCU1tR6lV5KceC1gI08avxDAvmSEGrbi/3R4vqMvvRwDzxMV4X7NQccOiigQxriyyA=]
+site::profile::aem::author::license_product_version: '6.1.0.20150507'
+site::profile::aem::author::license_customer_name: 'Day Training'
+site::profile::aem::author::license_product_name: 'Adobe Experience Manager'
+
+site::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'
+
+site::profile::aem::publish::install_mode: 'quickstart'
+site::profile::aem::publish::instance_name: publish
+site::profile::aem::publish::install_options:
+  download_type: maven
+  download_uri: com.adobe.aem:aem-quickstart:6.1:jar
+
+# Compaction & Backup for Publisher
+site::profile::aem::publish::oak_version: '1.2.7'
+site::profile::aem::publish::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000'
+site::profile::aem::publish::compaction_timeout: 21600 # 6h Timeout
+site::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.0
+  packaging: so
+  repos: https://nexus.pixelpark.com/content/groups/public/
+
+
diff --git a/customer/cosar-test-customer/cosar-virtualbox.yaml b/customer/cosar-test-customer/cosar-virtualbox.yaml
new file mode 100644 (file)
index 0000000..bac09f0
--- /dev/null
@@ -0,0 +1,16 @@
+---
+site::role: base_for_old_systems # because we don't need xymon
+site::additional_classes:
+  - accounts
+# Disable because of extra 7.3 download path
+#  - repo::redhat::zfs
+  - site::profile::aem::author
+  - apache::mod::include
+
+site::profile::cron::cronjobs:
+  zfs_rotation:
+    user: root
+    command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days
+    minute: 0
+    hour: 2
+    description: ZFS Snapshot
\ No newline at end of file