Open scottgeary opened 6 years ago
Thanks @scottgeary looking into this 🙇
FYI: As a work-around to get Reports running again, we've symlinked the two files:
file {
'/etc/datadog-agent/datadog-reports.yaml':
ensure => 'link',
target => '/etc/dd-agent/datadog.yaml',
require => File['/etc/datadog-agent'];
}
@scottgeary I don't think this is still a problem in 2.x
... Are you still experiencing this with the newer module versions?
With the recent changes to allow for a seperate install of the beta agent, the puppet report ruby code has been hard-coded to use this new path, without checking the
::apt_agent6_beta_repo
fact.Introduced at: https://github.com/DataDog/puppet-datadog-agent/commit/73fe2f4b75c60b7e059567a71018ec5fcecac55d#diff-1320d92e743637b43a853f153028633aL12
I'm a little unsure if facts are available during the execution of the report script, but we probably shouldn't be making the beta6 code default until it's released.