Skip to content

Commit efc3629

Browse files
committed
[apt] remove agent according to facts
1 parent d4e49f8 commit efc3629

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/ubuntu/agent5.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# hit this code path. We can't use 'Package' because we later have
4040
# to ensure dastadog-agent is present.
4141

42-
if ($facts['apt_agent6_beta_repo'] or $facts['apt_agent6_beta_repo']) and $agent_version == 'latest' {
42+
if ($facts['apt_agent6_beta_repo'] or $facts['apt_agent6_repo']) and $agent_version == 'latest' {
4343
exec { 'datadog_apt-get_remove_agent6':
4444
command => '/usr/bin/apt-get remove -y -q datadog-agent',
4545
}

0 commit comments

Comments
 (0)