Arthur Lutz
cf426433a4
[apt/repositories] add opts for repo name
Fixes #30
vor 7 Jahren
Adam Bolte
7324c2c2c8
Permit an absent preferences pillar data key
vor 7 Jahren
carpenti
8d194343b8
add missing ';' in unattended configuration
vor 7 Jahren
carpenti
1fd1ab184c
adding support for Origins-Pattern in unattended upgrade
vor 7 Jahren
Adam Bolte
bbfa6f5a80
Pretty up the task name output
vor 8 Jahren
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.
vor 8 Jahren
Adam Bolte
de55b167b4
Add support for Explanation lines in preferences.
vor 8 Jahren
Adam Bolte
023f7c55e3
Remove trailing whitespace.
vor 8 Jahren
Niels Abspoel
3af8993dfb
fix pillar lookup and whitespacing
vor 8 Jahren
Niels Abspoel
5570415469
add listchanges config and fixed typo in unattended.sls
vor 8 Jahren
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.
vor 8 Jahren
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
vor 8 Jahren
Javier Bértoli
4a26e31ed5
Fix resource name to avoid conflicting ID
vor 8 Jahren
Javier Bértoli
ca11055b68
Lint
vor 8 Jahren
Javier Bértoli
324248e457
Add repo's key management, documentation
vor 8 Jahren
Javier Bértoli
54583ed5c0
Add state file to manage repositories
vor 8 Jahren
Javier Bértoli
7c7cd9f9a8
Change run to wait, to run only on repositories changes
vor 8 Jahren
Ben McClure
09b476427a
Fixed pillar.get calls
vor 9 Jahren
Ben McClure
92780c942f
Made Debian the default lookup
vor 9 Jahren
Ben McClure
4142bcf87b
Forgot to rename some vars
vor 9 Jahren
Ben McClure
753ef7f12c
Renamed apt to apt_map to avoid conflict
vor 9 Jahren
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.
vor 9 Jahren
Ben McClure
4db2ca91f4
Update unattended.sls
vor 9 Jahren
Ben McClure
c9d1d16c78
Update map.jinja
vor 9 Jahren
Ben McClure
bdf1710643
Update map.jinja
vor 9 Jahren
root
0d72adde62
Fix map.jinja.
vor 9 Jahren
root
8cd8d5c47e
Add "APT::Periodic::Verbose" setting to unattended state.
vor 9 Jahren
root
751584ddb4
Add state to install unattended upgrades.
vor 9 Jahren
Seth House
81ee729720
Change states to use short-dec style
vor 10 Jahren
Wes Turner
01b4ebd967
ENH: Add apt.ppa for python-software-properties (add-apt-repository ppa:user/repository)
vor 10 Jahren
Wes Turner
d74b06e4af
ENH: Add apt.transports.https and apt.transports.debtorrent
vor 10 Jahren
Forrest Alvarez
00e0982275
renamed dist state.
vor 11 Jahren
Forrest Alvarez
e1e06bec0d
Removed the init and broke the 3 commands out into their own files for additional flexibility, rebuilt the README to follow more recent standards, updated the License to use the more recent format as well.
vor 11 Jahren
Jorge Rodriguez
44c2fa2081
Introduced apt directory to conform to saltstack-formulas structure.
vor 11 Jahren