Skip to content

Commit

Permalink
Update changelog and tests (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Jul 17, 2018
1 parent 1050894 commit 0e0fdbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# deric-mesos

## v0.9.1
- [Full diff](https://github.com/deric/puppet-mesos/compare/v0.9.0...v0.9.1)
- Use https for package repositories (#88)
- Fixed insecure dev dependency (`nokogiri`)

## v0.9.0
- [Full diff](https://github.com/deric/puppet-mesos/compare/v0.8.4...v0.9.0)
- New features:
Expand Down
6 changes: 3 additions & 3 deletions spec/classes/repo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
end

it { is_expected.to contain_apt__source('mesosphere').with(
'location' => "http://repos.mesosphere.io/#{operatingsystem.downcase}",
'location' => "https://repos.mesosphere.io/#{operatingsystem.downcase}",
'repos' => 'main',
'release' => "#{lsbdistcodename}",
'key' => {'id' => '81026D0004C44CF7EF55ADF8DF7D54CBE56151BF', 'server' => 'keyserver.ubuntu.com'},
Expand Down Expand Up @@ -64,7 +64,7 @@
it { is_expected.to contain_package('mesosphere-el-repo').with({
'ensure' => 'present',
'provider' => 'rpm',
'source' => "http://repos.mesosphere.io/el/#{osrel}/noarch/RPMS/mesosphere-el-repo-#{osrel}-#{mrel}.noarch.rpm",
'source' => "https://repos.mesosphere.io/el/#{osrel}/noarch/RPMS/mesosphere-el-repo-#{osrel}-#{mrel}.noarch.rpm",
})}

it do is_expected.to contain_exec('yum-clean-expire-cache').with({
Expand Down Expand Up @@ -141,7 +141,7 @@
}}

it { is_expected.to contain_apt__source('mesos-custom').with(
'location' => "http://repos.mesosphere.io/debian",
'location' => "https://repos.mesosphere.io/debian",
'repos' => 'main',
'release' => 'jessie',
'key' => {'id' => '00026D0004C44CF7EF55ADF8DF7D54CBE56151BF', 'server' => 'keyserver.example.com'},
Expand Down

0 comments on commit 0e0fdbe

Please sign in to comment.