---
dependencies:
  - role: meta/repository
    repository_key: '0x4f4ea0aae5267a6c'
    repository_url: 'deb http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu trusty main'
  - role: meta/monitor
    monitor_name: php5-fpm
    monitor_runtime_root: "{{ php_runtime_root }}"
    monitor_pidfile: "{{ php_fpm_pidfile_path }}"

# New logging method awaiting php regex formatting
#   - role: packages/fluentd
#     fluentd_sources:
#       - path: "{{ php_fpm_log_path }}"
#         format: ''
#         tag: php.service
#       - path: "{{ php_error_log_path }}"
#         format: ''
#         tag: php.error
#       - path: "{{ php_slow_log_path }}"
#         format: ''
#         tag: php.slow

  - role: package/logrotate
    logrotate_name: php
    logrotate_create_logs_with_owner: "{{ php_user }}"

---
dependencies:
  - role: meta/repository
    repository_key: '0x4f4ea0aae5267a6c'
    repository_url: 'deb http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu trusty main'
  - role: meta/monitor
    monitor_name: php5-fpm
    monitor_runtime_root: "{{ php_runtime_root }}"
    monitor_pidfile: "{{ php_fpm_pidfile_path }}"

# New logging method awaiting php regex formatting
#   - role: package/fluentd
#     fluentd_sources:
#       - path: "{{ php_fpm_log_path }}"
#         format: ''
#         tag: php.service
#       - path: "{{ php_error_log_path }}"
#         format: ''
#         tag: php.error
#       - path: "{{ php_slow_log_path }}"
#         format: ''
#         tag: php.slow

  - role: package/logrotate
    logrotate_name: php
    logrotate_create_logs_with_owner: "{{ php_user }}"

Package should not be pluralized. Derp
Package should not be pluralized. Derp
