Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tests(repositories): change to a repo with no key expiration #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/integration/repositories/controls/repositories_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
its('mode') { should cmp '0755' }
end

describe file('/etc/apt/sources.list.d/spotify-binary.list') do
describe file('/etc/apt/sources.list.d/multimedia-stable-binary.list') do
it { should exist }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
its('mode') { should cmp '0644' }
its(:content) do
should match(
%r{deb \[arch=amd64\] http://repository.spotify.com stable non-free}
%r{deb \[arch=amd64\] http://www.deb-multimedia.org stable main}
)
end
end
Expand Down
8 changes: 4 additions & 4 deletions test/salt/pillar/repositories.pillar.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ apt:
clean_sources_list_d: true

repositories:
spotify:
multimedia-stable:
distro: stable
url: http://repository.spotify.com
url: http://www.deb-multimedia.org
arch: [amd64]
comps: [non-free]
keyid: 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45
comps: [main]
keyid: 5C808C2B65558117
keyserver: keyserver.ubuntu.com
heroku:
distro: ./
Expand Down