{
"name": "qa_apache_slaughterhouse_server",
  "description": "apache role applied to all qa slaughterhouse hosts",
  "run_list": [
    "role[qa_base_linux]",
    "recipe[irrigate-orchard_base::journald]",
    "recipe[irrigate-php::php82]",
    "recipe[irrigate-php::deploy_qa_user]",
    "recipe[irrigate-php::composer]",
    "recipe[irrigate-apache::default]",
    "recipe[irrigate-apache::slaughterhouse]"
  ],
  "override_attributes": {
    "chef_client": {
      "interval": "432000"
    },
    "php": {
      "deploy_group_members": [
        "deploy",
        "www-data"
      ]
    }
  },
  "default_attributes": {
    "firewall": {
      "firewalld": {
        "permanent": true
      }
    },
    "authorization": {
      "sudo": {
        "users": ["deploy"],
        "passwordless": "true"
      }
    },
    "apache": {
      "contact": "it@theorchard.com",
      "default_site_enabled": false,
      "servertokens": "Prod",
      "serversignature": "Off",
      "traceenable": "Off",
      "mpm": "prefork"
    },
    "php": {
      "max_input_vars": "8000",
      "memory_limit": "256M",
      "short_open_tag": "Off",
      "serialize_precision": "100",
      "expose_php": "Off",
      "error_log": "syslog",
      "post_max_size": "3000M",
      "enable_dl": "On",
      "upload_max_filesize": "3000M",
      "date.timezone": "America/New_York",
      "mysqli.allow_local_infile": "On",
      "mysql.allow_local_infile": "On",
      "mysql.allow_persistent": "On",
      "soap.wsdl_cache_limit": "5"
    },
    "slaughterhouse": {
      "aws_credentials_data_bag_name": "qa_slaughterhouse_aws_credentials",
      "db_credentials_data_bag_name": "qa_slaughterhouse_db_credentials",
      "logfile_s3_bucket_path": "dummy_bucket/slaughterhouse/qa_path",
      "git_branch": "qa"
    },
    "webapps": {
      "prod-slaughterhouse": {
        "port": "80",
        "server_admin": "webdev-alerts@theorchard.com",
        "server_name": "qa-bacon.qa-accounting.theorchard.io",
        "docroot": "/var/www/html",
        "allow_override": "All",
        "setenv": true
      }
    }
  }
}
