Skip to content
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

Remove non-Salted external apt sources #234

Merged
merged 2 commits into from Mar 5, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Remove non-Salted external apt sources

Workaround saltstack/salt#26605
by cleaning the sources.list.d folder first, and running
pkgrepo states that add repositories to the folder afterwards
using require.

This unbreaks #232: Travis has the Chrome apt repo configured, but
Google has dropped 32-bit support (March 2016), causing apt to fail
on multiarch hosts. By removing all external repos we will only use
repositories we configure ourselves.
  • Loading branch information
aneeshusa committed Mar 5, 2016
commit 9352db4abbd7453dacb5bc0c2ada0a91f6867220
@@ -6,3 +6,18 @@
- group: root
- mode: 755
- source: salt://{{ tpldir }}/files/policy-rc.d

# Workaround for https://github.com/saltstack/salt/issues/26605
# Clean the directory first, and require it in all pkgrepo states
# which add repositories to the sources.list.d folder (instead of
# the main /etc/apt/sources.list file)
/etc/apt/sources.list.d:
file.directory:
- user: root
- group: root
- dir_mode: 755
- recurse:
- user
- group
- mode
- clean: True
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.