Skip to content

Commit cd82eef

Browse files
committed
[puppet] on ubuntu agent version should be explicitly configurable, latest by default.
1 parent cd27161 commit cd82eef

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

manifests/ubuntu.pp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
# Sample Usage:
1212
#
1313
class datadog_agent::ubuntu(
14-
$apt_key = 'C7A7DA52'
14+
$apt_key = 'C7A7DA52',
15+
$agent_version = 'latest'
1516
) {
1617

1718
ensure_packages(['apt-transport-https'])
@@ -43,7 +44,7 @@
4344
}
4445

4546
package { 'datadog-agent':
46-
ensure => latest,
47+
ensure => $agent_version,
4748
require => [File['/etc/apt/sources.list.d/datadog.list'],
4849
Exec['datadog_apt-get_update']],
4950
}

0 commit comments

Comments
 (0)