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 all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -0,0 +1,8 @@
longview:
pkgrepo.managed:
- name: 'deb http://apt-longview.linode.com/ trusty main'
- file: /etc/apt/sources.list.d/longview.list
- key_url: https://apt-longview.linode.com/linode.gpg
- require:
- file: /etc/apt/sources.list.d

@@ -33,3 +33,4 @@ base:
- buildbot.master
- homu
- nginx
- longview
@@ -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.