--- /dev/null
+infra::role: base
+infra::additional_classes:
+ - infra::profile::ruby_passenger
+ - infra::profile::mysql_server
+ - infra::profile::postfix
+ - infra::profile::cron
+
+postfix::myorigin: "pixelpark.net"
+infra::profile::postfix::virtual_aliases_source: 'maps/virtual-nullclient-mbvd'
+infra::profile::postfix::cert_servername: 'wildcard.pixelpark.net'
+
+accounts::users:
+ deploy.hamburg:
+ uid: 60201
+ shell: "bash"
+ apply: true
+ sudo: true
+ sudo_cmds:
+ - CHOWNDIALOGAPI
+ keys:
+ jenkins:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQCcA9sDPUizm9LRPYsSQSkkXRlGfhkZcCeQ8XDTbvHLjLlQdJznx3ezpxtmIgKLzMb3Hd3YNB+CAjD//iIDgJkwxNU2qGjm4vJT0WjQ2dwbPyVgN+Ik1nBhqWC2gD5UnDIVULYP5WUkgPPP1if64Q5fnfD9aTkUNOYJ4u9Th7As97e48S+/Z8vqw9EDcr3ZC+OzU7ezU65SHH4mpC1MvLW4EG0DU+omYDuMBusRA9SPx9uAebmoVVqZ23YmK5h9gh8Nc/Av5r6yfYKtkFt6CliGc7qZj56ONfHnP79CgVIlJ5NIHU2s27tTJmoDOHOkJZ11TuQp4HbuMAUAWHi6Aie7"
+ sandra.streimelweger:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQCx1a+GIaWp4/O1puvX9gYt5EMZcqNLyoxSU5sYNrIpuUYZ4mit2eVtsTbuE+gymXZ570v09sTI667p7I/cyoZ8HHsZ9x8yjDEDidKuRD7Sq+aqIdCcH3HLBZdEES8FvqyrcQNLbe4nPdqSrWievoR8VH6/wy7nhVb0A/UGID2XkZLVFJjlAfU22CxuererrCBASJo31ZkW/ScE1Lii2nBvs7PxL9+hyDnyP7fsVV/2fcy85c2reP3YO2jOTeVGnATPUNaL9KbonhxHr+SEWSvsE4tUlumxcqLa8wd/YQqrm0sO0GdqPEIfiUmhj24AltIxwmv/KnC8HODr7SQMyEsH"
+ comment: "Deployuser Hamburg"
+ group: dialogapi
+ groups:
+ - apache
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CHOWNDIALOGAPI = /bin/chown -R dialogapi\:dialogapi /var/www/dialogapi
+ becomeApache:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+ deploy.hamburg ALL=(dialogapi) NOPASSWD: ALL
+
+infra::additional_files:
+ '/var/www':
+ ensure: 'directory'
+ owner: apache
+ group: apache
+ mode: '0775'
+ '/var/www/dialogapi':
+ ensure: 'directory'
+ owner: apache
+ group: apache
+ mode: '0775'
+
+mysql::server::backup::backupdir: '/var/backup/mysql'
+
+mysql::server::override_options:
+ mysqld:
+ innodb_buffer_pool_size: 1G
+ innodb_buffer_pool_instances: 1
+ thread_pool_size: 8
+ innodb_log_buffer_size: 16M
+ query_cache_type: 0
+ default-storage-engine: INNODB
+ innodb_file_per_table: 1
+ table_open_cache: 512
+ innodb_log_file_size: 256M
+ performance_schema: ON
---
-infra::role: base
+infra::profile::ruby_passenger::projects:
+ shes:
+ servername: stage-dialogapi-mercedes-benz-de.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'
+ passenger_user: dialogapi
+ passenger_app_env: dialogapi
+ approot_owner: apache
+ approot: /var/www/dialogapi
+ ruby_version: 'ruby-2.3.7'
+ directories:
+ - provider: directory
+ path: '/var/www/dialogapi/public'
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+
+mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAEIA/M0Lnv4oeNakxVK9nenn7LMPDOPejH2qiDdilJ+d4LNE6ul2o10XsNxWfRxgUr6iJQvDfLx1C7QBWNISdHZe2vqm8+zlKL+PORM0BV+kAr+4N3rpul8jOpzVYKZJMTHJA8TD9K82H4miTHGpAtrNx6k8F5FtUV/zbW8tXOiRGFhCKjXoXoWLVl/zt2rxWBSqSSA2KTY7vjzH6IHjxR6V/hHmH055DTozCfRNbfNU1J/x18xUS4SMKnBo7fW0xFMamfLcdd/FuQYMW/fS1U0dEzbnV5smo2vN3juOnCk5smLHgSDV0BfydtsjjYv6ba5WEWbcoNF4geYoo5yDyaTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAa0CaFFI5IMJGF6YX5oIpVgCA19yopjq+kI+zPXML4ldNA8JQ/NDoUcLC/f5dLmdi7pg==]
+mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAfqO8Tx9KE0d10dqhi9bLZxaXYBnGjziLYkbfESrqIKHSARZSvemgPk/PIwG7sg91a2VXyrzv+FBSazaFv+A5p82709TABL5DfGElgXZkGvjz6ji2a70A6jdhONArFrzU+/gh0kgGKnlE4YW/aymIEZSTMvPM2y5HpKnzgPlDgXVbFHS2DxkLaJ7zvoGxyVpXi5UyEQKE0RmyH8gmvzoeXOBBxis1pYRbsPRMDCFELmCT8qK5+QQRLSt6yCLgdNJpHzlNuFQytQS3REo5gjJFwj/AjXlNVfUm2Oc8a+NNnztXtvI21eLQ3nlsAgM0wEyJSBZdlSLdCuxG4/PQplbpzjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBD6ZHMUONgQ63/RpQApPzqlgCBZefXBIwV1rQ/ISQK8Ul+u6iSMFOunjPzooueTVtf/FQ==]
+infra::profile::mysql_server::databases:
+ dialogapi:
+ user: dialogapi
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAUo5V0GmntvkRcyzH3aXXc7pXeF1exj/Xj14dBKRbUwoLwR/oIni7iQSivItDKPgVMpKPTiyJljyGtzitEFNyKtxelMsDcxc7QVixyDJ4xjZ6qj8Zs1Am/u3yuuGUW+SJLkjuQyaE6e/vACznz6GC+9QDcdBt++/lRorW7X0llHqfX56aWwBXVrWvlSYoOWuS1Tph86ptL7NdtPLr1QXi1IPDhZmMp8HbBYcwVTpnd8HZfM9GtcbqinVad1NCYozDkJLf1cOSecx6tEu7osqUqAtR9tixc/1zdHGY5jYSiDRPTxPLYAG5jXV2LuNGeNXfADai8Oeu9O8XccEiCb4BvjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBD6L0OBAo0K4h8tFlzIfFAmgCDuH9JmSaRWVrgyU+yM5z69UM47zT6c82irpOQQDMChGg==]