Skip to content

Commit

Permalink
Adding daemon port to FPM and agent-only tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Watson committed Aug 23, 2017
1 parent c331b0f commit cdc591f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/php_agent_only.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

class { '::newrelic::agent::php':
license_key => '3522b44f4c3f89c8566d5781bac6e0bb7dedab7z',
ini_settings => {'appname' => "Test Application: ${facts[networking][hostname]}"},
ini_settings => {
'appname' => "Test Application: ${facts[networking][hostname]}",
'daemon.port' => '60666',
},
}

}
5 changes: 4 additions & 1 deletion tests/php_fpm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
license_key => '3522b44f4c3f89c8566d5781bac6e0bb7dedab7z',
require => Class['::phpfpm'],
notify => Class['::phpfpm::service'],
ini_settings => {'appname' => "Test Application: ${facts[networking][hostname]}"},
ini_settings => {
'appname' => "Test Application: ${facts[networking][hostname]}",
'daemon.port' => '60666',
},
}

# == phpinfo() page
Expand Down

0 comments on commit cdc591f

Please sign in to comment.