Nate Bohman
459871b18d
Adding Custom Changes for Debian
Adding a require to /etc/apt/listchanges.conf for the package
apt-listchanges so that listchanges.conf doesn't get added before the
listchanges package is installed causing apt to hit a catch 22.
Add an if statement to 50unattended-upgrades so that Debian doesn't
get Unattended-Upgrade::Allowed-Origins which doesn't work and causes
unattended upgrades to stop.
hace 6 años
Niels Abspoel
2893b0dc39
Merge pull request #38 from ze42/apt_conf
apt.conf.d
hace 6 años
Adrien "ze" Urban
de05ac6f1c
apt_conf: remove_* consistent with other similar options
remove_* was recently changed to always place empty file, but just set
perms if not present, without replace.
Do the same with that option.
hace 6 años
Adrien "ze" Urban
5c6c531e7e
apt_conf_d: missing it apt stuffs
hace 6 años
devster31
7e5d1d1a8f
Meaningful file names and variables
hace 8 años
devster31
5cbec8ef6b
Remove apt.conf if requested
hace 8 años
devster31
9850446c2c
Add initial support for apt conf management
- Add template file
- Add pillar example
hace 8 años
Javier Bértoli
35cf2e0c43
Merge pull request #37 from ze42/fix_preferences
fix warning on preferences as not managed
hace 6 años
Adrien "ze" Urban
c2801cc47a
fix warning on file.managed without changes
[WARNING ] State for file: /etc/apt/preferences - Neither 'source' nor
'contents' nor 'contents_pillar' nor 'contents_grains' was defined, yet
'replace' was set to 'True'. As there is no source to replace the file
with, 'replace' has been set to 'False' to avoid reading the file
unnecessarily.
Now, if file.managed, but when content is not changed (no source,
contents, ...), avoid the warning.
hace 6 años
Javier Bértoli
7874fc4dfd
Merge pull request #36 from aboe76/python3_support
fix iteritems python3
hace 6 años
Niels Abspoel
144d3bb2f1
fix iteritems python3
hace 6 años
Javier Bértoli
2a42518f23
Merge pull request #35 from Kassec/master
Move keyring package name configuration to pillar
hace 6 años
Sylvain COUTANT
1c559ef1fa
Move keyring choice to pillar
hace 6 años
Javier Bértoli
39bcc23c54
Merge pull request #33 from arthurlogilab/patch-1
#32 replace httpredir by deb.debian.org
hace 7 años
Arthur Lutz
8ec9a4a387
#32 s/httpredir/deb/
hace 7 años
Arthur Lutz
e0c209703e
#32 use deb. instead of httpredir.
hace 7 años
Javier Bértoli
47adb619d5
Merge pull request #31 from arthurlogilab/master
add opts to repo name
hace 7 años
Arthur Lutz
d8688e4878
[apt/repositories] unneeded whitespace
hace 7 años
Arthur Lutz
5868f22c47
[apt/repositories] more flexible options in pillars
contributed initialy by @javierbertoli <javier@netmanagers.com.ar>
fixes #30
hace 7 años
Arthur Lutz
c03acb8748
[apt/repositories] make opts optionnal
hace 7 años
Arthur Lutz
cf426433a4
[apt/repositories] add opts for repo name
Fixes #30
hace 7 años
Arthur Lutz
bf6783e57f
[README] document unattend entrypoint
hace 7 años
Javier Bértoli
94403d9fe6
Merge pull request #27 from sitepoint/empty_preferences
Permit an absent preferences pillar data key
hace 7 años
Adam Bolte
7324c2c2c8
Permit an absent preferences pillar data key
hace 7 años
Niels Abspoel
ef4f23fc5f
Merge pull request #26 from kakwa/ADD_UNATTENDED_ORIGINS_PATTERN
adding support for Origins-Pattern in unattended upgrade
hace 7 años
carpenti
8d194343b8
add missing ';' in unattended configuration
hace 7 años
carpenti
1fd1ab184c
adding support for Origins-Pattern in unattended upgrade
hace 7 años
Niels Abspoel
ded0e11132
Merge pull request #25 from sitepoint/sitepoint
Minor fixes
hace 8 años
Adam Bolte
bbfa6f5a80
Pretty up the task name output
hace 8 años
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.
hace 8 años
Adam Bolte
de55b167b4
Add support for Explanation lines in preferences.
hace 8 años
Adam Bolte
023f7c55e3
Remove trailing whitespace.
hace 8 años
Forrest
67e2234d0a
Merge pull request #24 from webscale-formulas/master
fix pillar lookup and whitespacing
hace 8 años
Niels Abspoel
3af8993dfb
fix pillar lookup and whitespacing
hace 8 años
Forrest
abcea99c10
Merge pull request #22 from webscale-formulas/listchanges_support
add listchanges config and fixed typo in unattended.sls
hace 8 años
Niels Abspoel
5570415469
add listchanges config and fixed typo in unattended.sls
hace 8 años
Forrest
3af4a0e189
Merge pull request #21 from netmanagers/master
Fix tests to match changes from PR #20, add entry in .gitignore
hace 8 años
Javier Bértoli
196eeba135
Fix tests to match changes from PR #20, add entry in .gitignore
hace 8 años
Forrest
3d65bc6e38
Merge pull request #20 from jerrykan/empty_sources
Ensure sources.list exists but is empty (#19 )
hace 8 años
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.
hace 8 años
Forrest
56099481cb
Merge pull request #18 from simonclausen/master
Add protocol and port in pillar repository example for 3rd party repo
hace 8 años
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.
hace 8 años
Forrest
442ed11276
Merge pull request #16 from netmanagers/master
Add a state to manage apt's preferences, with tests
hace 8 años
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
hace 8 años
Forrest
988c59f58c
Merge pull request #15 from netmanagers/master
Fix resource name to avoid conflicting ID
hace 8 años
Javier Bértoli
4a26e31ed5
Fix resource name to avoid conflicting ID
hace 8 años
Forrest
7e789ccd3b
Merge pull request #14 from netmanagers/master
Add a state to manage repositories, with tests
hace 8 años
Javier Bértoli
c0b6c245d8
Add tests for the repositories state file
hace 8 años
Javier Bértoli
ca11055b68
Lint
hace 8 años
Javier Bértoli
324248e457
Add repo's key management, documentation
hace 8 años