Skip to content

Commit

Permalink
feat(puppet): pin to 7.51.1 on centos 6 only
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu committed Apr 26, 2024
1 parent 8f6097f commit dbccc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@

case $facts['os']['name'] {
'RedHat', 'CentOS', 'OracleLinux': {
if $agent_version == 'latest' {
if $facts['os']['release']['full'] =~ /^6(.[0-9])?/ and $agent_version == 'latest' {
notice("datadog-agent ${_agent_major_version}.51 is the last supported version on CentOS 6. Installing ${_agent_major_version}.51 now")
$agent_full_version='7.51.1'
} elsif $facts['os']['release']['full'] =~ /^6(.[0-9])?/ and $_agent_minor_version != undef and $_agent_minor_version > 51 {
Expand Down

0 comments on commit dbccc37

Please sign in to comment.