Skip to content

Commit

Permalink
[Agent 6] fix base url (#397)
Browse files Browse the repository at this point in the history
* fix base url for a6

* [spec] fixing rpm baseurl
  • Loading branch information
gmmeyer authored and truthbk committed Feb 28, 2018
1 parent 6340bc4 commit 4a98d81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'RedHat','CentOS','Fedora','Amazon','Scientific' : {
$rubydev_package = 'ruby-devel'
$agent5_default_repo = "https://yum.datadoghq.com/rpm/${::architecture}/"
$agent6_default_repo = "https://yum.datadoghq.com/rpm/6/${::architecture}/"
$agent6_default_repo = "https://yum.datadoghq.com/stable/6/${::architecture}/"
}
default: { fail("Class[datadog_agent]: Unsupported operatingsystem: ${::operatingsystem}") }
}
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/datadog_agent_redhat_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
.with_enabled(1)\
.with_gpgcheck(1)\
.with_gpgkey('https://yum.datadoghq.com/DATADOG_RPM_KEY.public')\
.with_baseurl('https://yum.datadoghq.com/rpm/6/x86_64/')
.with_baseurl('https://yum.datadoghq.com/stable/6/x86_64/')
end
end
context 'with manage_repo => false' do
Expand Down

0 comments on commit 4a98d81

Please sign in to comment.