Puppet Class: appdynamics::agent::service::php
- Defined in:
-
manifests/agent/service/php.pp
Overview
Class appdynamics::agent::service::php
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# File 'manifests/agent/service/php.pp', line 3
class appdynamics::agent::service::php
(
$agent_enable,
)
{
if $agent_enable
{
service { 'appdynamics-php':
ensure => running,
enable => true,
hasstatus => false,
status => 'pgrep -f appdynamics-php5',
provider => base,
stop => "find /etc/init.d/ -type f -name ${appdynamics::params::apache_init_script}* -exec {} stop \;",
start => "find /etc/init.d/ -type f -name ${appdynamics::params::apache_init_script}* -exec {} start \;",
}
}
}
|