Try without creating $service_dir explicitly, SC-2522
Error: Cannot alias File[/opt//telegraf] to ["/opt/telegraf"] at (file: /etc/puppet/cosmos-modules/sunet/manifests/misc/create_dir.pp, line: 33); resource ["File", "/opt/telegraf"] already declared (file: /etc/puppet/modules/eid/manifests/telegraf2.pp, line: 21)
This commit is contained in:
parent
45e1755cd7
commit
2adc58c274
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class eid::telegraf2 (
|
|||
$influxdb2_bucket = hiera(influxdb2_bucket,'NOT_SET_IN_HIERA')
|
||||
$influxdb2_bucket_proxy = hiera(influxdb2_bucket_proxy,'NOT_SET_IN_HIERA')
|
||||
|
||||
file {[$service_dir,"${service_dir}/telegraf.conf.d"]: ensure => directory }
|
||||
file {["${service_dir}/telegraf.conf.d"]: ensure => directory }
|
||||
concat {"${service_dir}/telegraf.conf":
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
|
|
Loading…
Add table
Reference in a new issue