From: hakan.cosar Date: Thu, 2 Mar 2017 15:23:19 +0000 (+0100) Subject: test dev yaml X-Git-Tag: v0.1.0~3508 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=4147a52caa6c86019ed3994d4ab5ef06db6e77d6;p=pixelpark%2Fhiera.git test dev yaml --- diff --git a/customer/cosar-test-customer/cosar-virtualbox.pixelpark.com.yaml b/customer/cosar-test-customer/cosar-virtualbox.pixelpark.com.yaml new file mode 100644 index 00000000..bac09f0a --- /dev/null +++ b/customer/cosar-test-customer/cosar-virtualbox.pixelpark.com.yaml @@ -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 diff --git a/customer/cosar-test-customer/cosar-virtualbox.yaml b/customer/cosar-test-customer/cosar-virtualbox.yaml deleted file mode 100644 index bac09f0a..00000000 --- a/customer/cosar-test-customer/cosar-virtualbox.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -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 diff --git a/customer/cosar-test-customer/development.yaml b/customer/cosar-test-customer/development.yaml new file mode 100644 index 00000000..c6dfe700 --- /dev/null +++ b/customer/cosar-test-customer/development.yaml @@ -0,0 +1,227 @@ +--- +# Author +site::profile::aem::author::license_download_id: ENC[PKCS7,xyz] +site::profile::aem::author::license_product_version: '6.2.0' +site::profile::aem::author::license_customer_name: 'test' +site::profile::aem::author::license_product_name: 'Adobe Experience Manager' +site::profile::aem::author::admin_pass: ENC[PKCS7,xyz] +site::profile::aem::author::oak_version: 1.4.8 +# Publisher +site::profile::aem::publish::license_download_id: ENC[PKCS7,xyz] +site::profile::aem::publish::license_product_version: '6.2.0' +site::profile::aem::publish::license_customer_name: 'test' +site::profile::aem::publish::license_product_name: 'Adobe Experience Manager' +site::profile::aem::publish::admin_pass: ENC[PKCS7,xyz] +site::profile::aem::publish::oak_version: 1.4.8 + +#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.2:jar +site::profile::aem::author::install_files: + org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg: + content: | + path=./crx-quickstart/repository/datastore + minRecordLength=1048576 + org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg: + content: | + customBlobStore=true + org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.config: + content: | + repository.home=${repository.home}/segmentstore + tarmk.size=256 + pauseCompaction=B"false" + +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.2:jar +site::profile::aem::publish::install_files: + org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg: + content: | + path=./crx-quickstart/repository/datastore + minRecordLength=1048576 + org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg: + content: | + customBlobStore=true + org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.config: + content: | + repository.home=${repository.home}/segmentstore + tarmk.size=256 + pauseCompaction=B"false" + + +aem::maven::mirrors: + - {id: pixelpark-nexus, url: 'https://nexus.pixelpark.com/content/groups/public/'} +aem::maven::repos: + - nexus-repo: + id: pixelpark-nexus + url: 'https://nexus.pixelpark.com/content/groups/public/' + releases: + enabled: true + + +aem::packages: + cq-6.2.0-hotfix-10870: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-10870' + version: '1.0' + cq-6.2.0-hotfix-10936: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-10936' + version: '1.0' + cq-6.2.0-hotfix-10956: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-10956' + version: '1.2' + cq-6.2.0-hotfix-11099: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-11099' + version: '1.4' + cq-6.2.0-hotfix-11201-package: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-11201-package' + version: '1.2' + cq-6.2.0-hotfix-11490: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-11490' + version: '1.2' + cq-6.2.0-hotfix-11700: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-11700' + version: '1.0' + cq-6.2.0-hotfix-12190: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-12190' + version: '1.0' + cq-6.2.0-hotfix-13011: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-13011' + version: '1.1' + cq-6.2.0-hotfix-13019: + groupid: 'com.adobe.aem' + artifactid: 'cq-6.2.0-hotfix-13019' + version: '1.0' + acs_aem_commons: + groupid: 'com.adobe.acs' + artifactid: 'acs-aem-commons-content' + version: '3.2.6' + acs_aem_tools: + groupid: 'com.adobe.acs' + artifactid: 'acs-aem-tools-content' + version: '0.0.28' + + +aem::enable_https_mapping: true +aem::domain_mappings: + dev01-publish-cosar.pixelpark.net: + aem_path: '/content/test' + create_sling_mapping: true + +# Apache Publisher +site::profile::aem::publish::pp_vhosts: + cosar: + docroot: '/var/www/html/cache/content/test' + serveraliases: + - dev01-publish-cosar.pixelpark.net + docroot_owner: apache + setenvifnocase: + - 'Accept-Language ^.*$ language=en' + - 'Accept-Language ^de language=de' + headers: + - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin' + error_documents: + - { error_code: 404 , document: "/en/error-pages/404.html" } + - { error_code: 500 , document: "/en/error-pages/500.html" } + 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/html/cache/content/test' + sethandler: dispatcher-handler + options: + - FollowSymLinks + - error_documents: + provider: directory + path: /var/www/html/error_custom/ + options: + - +Includes + - location1: + provider: location + path: '/' + auth_type: Digest + auth_name: server + auth_digest_provider: file + auth_digest_algorithm: MD5 + auth_user_file: '/etc/httpd/htdigest' + auth_require: 'valid-user' + require: + - 'env AccessControlAllowOrigin' + - de-de: + provider: locationmatch + path: '^/de/' + error_documents: + - { error_code: 404 , document: "/de/error-pages/404.html" } + - { error_code: 500 , document: "/de/error-pages/500.html" } + rewrites: + - language_rewrite: + comment: 'lanugage Rewrite use Env Vars' + rewrite_rule: + - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://dev01-publish-cosar.pixelpark.net/%%{ich-trickse}{ENV:language}.html [R=301,L]' + +# Apache Author +site::profile::aem::author::pp_vhosts: + cosar: + docroot: '/var/www' + directories: + - docroot: + provider: directory + path: '/var/www/' + - location1: + provider: location + path: '/' + auth_type: Digest + auth_name: www + auth_digest_provider: file + auth_digest_algorithm: MD5 + auth_user_file: '/etc/httpd/htdigest' + auth_require: 'valid-user' + +# Use Alias function if updated to Puppet 4 +aem::dispatcher::publish_farm: +## Flusher + z_invalidation_only: + virtualhosts: + - 'invalidation_only' + renders: + - { hostname: "127.0.0.1", port: '4503' } + filter: + - { type: 'deny', glob: '*' } + - { type: 'allow', glob: '*/content*' } + cache_docroot: '/var/www/html/cache' + cache_rules: + - { type: 'allow', glob: '*' } + cache_invalidate: + - { type: 'deny', glob: '*' } + - { type: 'allow', glob: '*.html' } + - { type: 'allow', glob: '/etc/segmentation.segment.js' } + - { type: 'allow', glob: '*/analytics.sitecatalyst.js' } + cache_allowed_clients: + - { type: 'deny', glob: '*' } + - { type: 'allow', glob: '127.0.0.1' } + cache_statfileslevel: 3 + ids: + virtualhosts: + - 'dev01-publish-cosar.pixelpark.net' + clientheaders: + - '*' + renders: + - { hostname: "127.0.0.1", port: '4503' } +