19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'manifests/init.pp', line 19
class stackdriver(
$stackdriver_config = $stackdriver::params::stackdriver_config,
$stackdriver_api_key = $stackdriver::params::stackdriver_api_key,
$stackdriver_package = $stackdriver::params::stackdriver_package,
$stackdriver_version = $stackdriver::params::version
) inherits stackdriver::params {
class { "stackdriver::package::${::osfamily}": }
file { $stackdriver_config:
content => template('stackdriver/config.erb')
}
service { 'stackdriver-agent':
ensure => running,
subscribe => File[$stackdriver_config]
}
}
|