41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'manifests/integrations/process.pp', line 41
class cloudinsight_agent::integrations::process(
$processes = [],
) inherits cloudinsight_agent::params {
validate_array( $processes )
file { "${cloudinsight_agent::params::conf_dir}/process.yaml":
ensure => file,
owner => $cloudinsight_agent::params::cloudinsight_user,
group => $cloudinsight_agent::params::cloudinsight_group,
mode => '0600',
content => template('cloudinsight_agent/agent-conf.d/process.yaml.erb'),
require => Package[$cloudinsight_agent::params::package_name],
notify => Service[$cloudinsight_agent::params::service_name]
}
}
|