Skip to content

Commit

Permalink
fix ubuntu kitchen tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Feb 14, 2025
1 parent 25d62bb commit 6c68b48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@
$_agent_major_version = $agent_major_version
} else {
$_agent_major_version = $datadog_agent::params::default_agent_major_version
$_agent_minor_version = 0
$_agent_patch_version = 0
}

case $facts['os']['name'] {
Expand Down
2 changes: 1 addition & 1 deletion templates/installer/telemetry/log.json.epp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"seq_id": 2,
"origin": "puppet",
"host": {
"hostname": "<%= $hostname %>",
"hostname": "<%= $facts['networking']['hostname'] %>",
"os": "<%= $facts['os']['name'] %>",
"distribution": "<%= $facts['os']['family'] %>",
"architecture": "<%= $facts['os']['architecture'] %>",
Expand Down
2 changes: 1 addition & 1 deletion templates/installer/telemetry/trace.json.epp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"seq_id": 1,
"origin": "puppet",
"host": {
"hostname": "<%= $hostname %>",
"hostname": "<%= $facts['networking']['hostname'] %>",
"os": "<%= $facts['os']['name'] %>",
"distribution": "<%= $facts['os']['family'] %>",
"architecture": "<%= $facts['os']['architecture'] %>",
Expand Down

0 comments on commit 6c68b48

Please sign in to comment.