Adam Bolte
f09143a79a
Keep sources.list even if remove_sources_list set
Deleting the file causes "could not open file '/etc/apt/sources.list'"
warnings. Better to keep it around but just remove its contents.
8 years ago
Adam Bolte
de55b167b4
Add support for Explanation lines in preferences.
8 years ago
Adam Bolte
023f7c55e3
Remove trailing whitespace.
8 years ago
Forrest
67e2234d0a
Merge pull request #24 from webscale-formulas/master
fix pillar lookup and whitespacing
8 years ago
Niels Abspoel
3af8993dfb
fix pillar lookup and whitespacing
8 years ago
Forrest
abcea99c10
Merge pull request #22 from webscale-formulas/listchanges_support
add listchanges config and fixed typo in unattended.sls
8 years ago
Niels Abspoel
5570415469
add listchanges config and fixed typo in unattended.sls
8 years ago
Forrest
3af4a0e189
Merge pull request #21 from netmanagers/master
Fix tests to match changes from PR #20, add entry in .gitignore
8 years ago
Javier Bértoli
196eeba135
Fix tests to match changes from PR #20, add entry in .gitignore
8 years ago
Forrest
3d65bc6e38
Merge pull request #20 from jerrykan/empty_sources
Ensure sources.list exists but is empty (#19 )
8 years ago
John Kristensen
02bf3f2d1b
Ensure sources.list exists but is empty ( #19 )
Salt uses the aptsources system library to get a list of repositories on
the host. Unfortunately if the /etc/apt/sources.list file is missing,
aptsources.sourceslist.SourcesList() (which is called by salt) logs a
warning, which is then displayed to the user running salt.
To avoid this warning when using 'remove_sources_list: true' in pillar
we can keep the /etc/apt/sources.list file, but just ensure it is empty.
This achieves the same thing, but does not log the warning or display it
to the user.
8 years ago
Forrest
56099481cb
Merge pull request #18 from simonclausen/master
Add protocol and port in pillar repository example for 3rd party repo
8 years ago
Simon Clausen
39dc9eb8e9
Add protocol and port in pillar repository example for 3rd party repo
When adding, gpg will fail with a "not able to connect" in some cases (most likely related to firewalling, but not investigated thoroughly): adding the specific protocol and port solves this issue.
8 years ago
Forrest
442ed11276
Merge pull request #16 from netmanagers/master
Add a state to manage apt's preferences, with tests
8 years ago
Javier Bértoli
6f7022fc56
Add apt's preferences mgmt
Ignore .kitchen dir
Add defaults for preferences mgmt
Add some pillar examples for preferences mgmt
Add tests for preferences
Add entries in the README file
Missing map.jinja entry
8 years ago
Forrest
988c59f58c
Merge pull request #15 from netmanagers/master
Fix resource name to avoid conflicting ID
8 years ago
Javier Bértoli
4a26e31ed5
Fix resource name to avoid conflicting ID
8 years ago
Forrest
7e789ccd3b
Merge pull request #14 from netmanagers/master
Add a state to manage repositories, with tests
8 years ago
Javier Bértoli
c0b6c245d8
Add tests for the repositories state file
8 years ago
Javier Bértoli
ca11055b68
Lint
8 years ago
Javier Bértoli
324248e457
Add repo's key management, documentation
8 years ago
Javier Bértoli
7f18ec5f8d
Add pillar examples for repositories management
8 years ago
Javier Bértoli
54583ed5c0
Add state file to manage repositories
8 years ago
Javier Bértoli
7c7cd9f9a8
Change run to wait, to run only on repositories changes
8 years ago
Forrest
0fa0b4b0c5
Merge pull request #12 from rpatterson/patch-1
Correct formula name
9 years ago
Ross Patterson
2e70605fa0
Correct formula name
9 years ago
Nitin Madhok
b34a30ec70
Merge pull request #11 from DEnet/master
Fixed pillar.get calls
9 years ago
Ben McClure
09b476427a
Fixed pillar.get calls
9 years ago
Nitin Madhok
fe966942d3
Update LICENSING year
9 years ago
Nitin Madhok
59611b2d59
Merge pull request #10 from DEnet/master
Resolve map variable conflict
9 years ago
Ben McClure
92780c942f
Made Debian the default lookup
9 years ago
Ben McClure
4142bcf87b
Forgot to rename some vars
9 years ago
Ben McClure
753ef7f12c
Renamed apt to apt_map to avoid conflict
9 years ago
Ben McClure
5bb438a267
Extrapolated templates from the state file to jinja templates to clean things up and make them work properly. Also updated variables to match what Ubuntu 14.04 uses by default.
9 years ago
Ben McClure
4db2ca91f4
Update unattended.sls
9 years ago
Ben McClure
c9d1d16c78
Update map.jinja
9 years ago
Ben McClure
bdf1710643
Update map.jinja
9 years ago
Nitin Madhok
8742db0a8a
Merge pull request #9 from daschatten/master
Add state for unattended upgrades.
9 years ago
root
0d72adde62
Fix map.jinja.
9 years ago
root
8cd8d5c47e
Add "APT::Periodic::Verbose" setting to unattended state.
9 years ago
root
751584ddb4
Add state to install unattended upgrades.
9 years ago
root
8b9ffdf43d
Add .gitignore.
9 years ago
Wolodja Wentland
c101079873
Merge pull request #8 from saltstack-formulas/style-short-dec
Change states to use short-dec style
10 years ago
Seth House
81ee729720
Change states to use short-dec style
10 years ago
Nitin Madhok
5ffd8aad75
Merge pull request #7 from westurner/add_apt_ppa_utils
ENH: Add apt.ppa for pkg:python-software-properties (add-apt-repository)
10 years ago
Wes Turner
01b4ebd967
ENH: Add apt.ppa for python-software-properties (add-apt-repository ppa:user/repository)
10 years ago
Seth House
fe641de933
Merge pull request #6 from westurner/add_transports
Add apt.transports.https and apt.transports.debtorrent
10 years ago
Wes Turner
2ac594767c
DOC: Add apt.transports.debtorrent and apt.transports.https to README.rst
10 years ago
Wes Turner
d74b06e4af
ENH: Add apt.transports.https and apt.transports.debtorrent
10 years ago
Nitin Madhok
4e1140f9f0
Merge pull request #5 from westurner/normalize_readme
DOC: Use full state names; add RST formatting
10 years ago