Graf commitů

513 commitů

Autor SHA1 Zpráva Datum
intrigeri
a18c940b01 Merge remote-tracking branch 'shared/master' into drop_lenny_squeeze_support 2016-07-01 12:28:51 +00:00
Jérôme Charaoui
328a6215a3 Take out comment referencing squeeze, see issue #14 2016-06-30 21:20:51 +02:00
Jérôme Charaoui
78e07815bc Remove squeeze special-case from unattended-upgrades template. 2016-06-30 21:20:05 +02:00
Jérôme Charaoui
e55da5b7b8 Remove backports_url parameter.
For jessie and later releases, backports use debian_url.
2016-06-30 21:19:01 +02:00
Jérôme Charaoui
f86963aab1 Remove references to backports_url parameter and squeeze from README. 2016-06-30 21:17:49 +02:00
Jérôme Charaoui
98b4be5570 Drop Debian lenny and squeeze support. 2016-06-29 21:49:21 +02:00
Jerome Charaoui
1a87e2f7d4 Merge branch 'bugfix/reboot-required-jessie' into 'master'
Bugfix/reboot required jessie

I've mistakenly marked !40 as merged :/

See merge request !46
2016-06-29 19:47:42 +00:00
LeLutin
6277c3ba14 Merge branch 'feature/8-make_dist-upgrade_timeout_configurable' into 'master'
apt::dist_upgrade: add a timeout parameter (#8).



See merge request !45
2016-06-29 19:35:11 +00:00
LeLutin
05c2603e5e Merge branch 'bugfix/drop-obsolete-code-and-global-variable-in-apt-cron' into 'master'
Drop apt::cron::download, and turn $apt_cron_hours into a class parameter for ap…

…t::cron::dist_upgrade.

I've introduced apt::cron::download, am not using it anymore, and have
never seen anyone else submit a bug or a merge request for it. Thus,
I feel pretty confident in dropping it.

And this allows me to trivially get rid of the $apt_cron_hours global
variable noticed by LeLutin in #13.

(I've mistakenly marked !44 as merged)

See merge request !47
2016-06-29 19:32:57 +00:00
Jérôme Charaoui
5fd6c96c42 Fix missing quote in IPADDRESSES assignment in apticron config 2016-06-29 20:55:59 +02:00
Jérôme Charaoui
6c0c1f4a16 Remove redundant symlinks for the Debian apticron template, fixes #2 2016-06-29 20:55:59 +02:00
Jérôme Charaoui
e876cd25b5 Remove redundant symlinks for the Debian listchanges template, fixes #2 2016-06-29 20:55:59 +02:00
intrigeri
13cb9fb485 Move documentation to README, and expand a bit on it. 2016-06-29 18:49:23 +00:00
intrigeri
92e7d506c0 Merge remote-tracking branch 'shared/master' into feature/8-make_dist-upgrade_timeout_configurable 2016-06-29 18:47:14 +00:00
intrigeri
c439b8a524 Remove documentation for apt::cron::download, and document the new parameter to apt::cron::dist_upgrade. 2016-06-29 18:45:32 +00:00
intrigeri
f035fd1621 Merge remote-tracking branch 'shared/master' into bugfix/drop-obsolete-code-and-global-variable-in-apt-cron 2016-06-29 18:42:02 +00:00
intrigeri
bc73809d7b Try to fix rendering of Markdown pre-formatted sections in bullet lists. 2016-06-29 18:21:30 +00:00
intrigeri
8723519f0f Fix newly introduced white-space issues. 2016-06-29 18:21:19 +00:00
intrigeri
70118955f6 apt::reboot_required_notify: get rid of temporary variable. 2016-06-29 18:02:16 +00:00
Tech SOGEECOM
05ca5b0a05 ident the upgrade notices correctly 2016-06-29 13:59:51 -04:00
Tech SOGEECOM
5a7336ad47 fix formatting errors 2016-06-29 13:55:29 -04:00
intrigeri
89a024678e apt::reboot_required_notify::jessie: explicitly check that $apt::use_backports is true when running Jessie.
Otherwise, it would fail anyway when trying to install reboot-notifier,
but in a way less user-friendly.

Thanks to lavamind for the suggestion!
2016-06-29 17:54:16 +00:00
intrigeri
2ab9739d5a Merge remote-tracking branch 'shared/master' into bugfix/reboot-required-jessie 2016-06-29 17:48:14 +00:00
Tech SOGEECOM
419f9e4601 add back the parts of the README that were lost 2016-06-29 13:42:41 -04:00
intrigeri
195ed5d31b apt::dist_upgrade: add a timeout parameter (#8). 2016-06-29 17:39:14 +00:00
Tech SOGEECOM
eedc5eef88 fix 🔑 in Gitlab markdown 2016-06-29 12:01:18 -04:00
Tech SOGEECOM
0250f57b82 use the same style for all the examples 2016-06-29 12:00:21 -04:00
intrigeri
5102b7863b Drop apt::cron::download, and turn $apt_cron_hours into a class parameter for apt::cron::dist_upgrade.
I've introduced apt::cron::download, am not using it anymore, and have
never seen anyone else submit a bug or a merge request for it. Thus,
I feel pretty confident in dropping it.

And this allows me to trivially get rid of the $apt_cron_hours global
variable noticed by LeLutin in #13.
2016-06-29 15:59:20 +00:00
Gabriel Filion
2bbfe8cab9 Fix some minor lint issues
This was shown by the testing that was added in merge request !34
2016-06-29 17:31:14 +02:00
Gabriel Filion
354bada721 Merge remote-tracking branch 'varac/beaker' into blah
The README file has been changed, use the new syntax to match the rest
of the file.
2016-06-29 17:05:54 +02:00
intrigeri
a875536532 Merge remote-tracking branch 'lelutin-gitlab/backports_follow_debian_url' into shared-master 2016-06-29 14:53:57 +00:00
Gabriel Filion
8859eba152 add an upgrade notice about the change of default value for $repos 2016-06-29 16:45:22 +02:00
Gabriel Filion
8727cf7b8b Merge branch 'master' into backports_follow_debian_url
The README file was changed on the master branch and we'd like to change
it to add an upgrade notice.
2016-06-29 16:41:29 +02:00
Jérôme Charaoui
53c49fe2ae Merge branch 'merge_debian_preferences_templates'
Conflicts:
	manifests/preferences.pp
	templates/Debian/preferences_jessie.erb
	templates/Debian/preferences_squeeze.erb
	templates/Debian/preferences_wheezy.erb
2016-06-29 16:35:17 +02:00
Gabriel Filion
5d95c3f5e7 README: make examples more compact
also, use commas instead of semi-colon at the end of resources to use a
coding style that makes things more extensible.
2016-06-27 23:47:43 +02:00
Gabriel Filion
bb823a23f8 extraneous space in subsection title 2016-06-27 23:47:14 +02:00
LeLutin
e18dfe91a3 Merge branch 'master' into 'master'
Update the README to use markdown

This module's documentation is pretty good, but god plain text is awful when a document gets this long.

I _really_ dislike Gitlab's markdown flavor, but IMHO bad markdown is better than no markdown.

You can see the result here: https://gitlab.com/sogeecom/apt/blob/master/README.md

--
pollo

See merge request !41
2016-06-27 21:39:02 +00:00
Gabriel Filion
0752201ce4 push logic behind apt::repos back in apt::params
The logic in specifying the default value for apt::repos is in the wrong
place: it should be in apt::params since this is exactly what this
latter class is for.

There's no special case that can involve making default the value follow
the value of another parameter so there's no point in having that logic
in the main class.
2016-06-27 15:41:19 +02:00
Gabriel Filion
770f8fb5da make backports_url follow debian_url by default
backports_url was already set to the same value than debian_url by
default, but it was set to the default value of debian_url. this meant
that when giving a url to the debian_url parameter to the apt class, the
backports_url would not follow and would still be using the default
value for debian_url.

with this change, when backports_url is not specified, but debian_url
is, then both of them take on the value given to the debian_url. of
course if backports_url is also given a value, then it keeps the value
given by the user.
2016-06-27 15:39:51 +02:00
Louis-Philippe Véronneau
3abd96bb65 use the same code indenting (Puppet's code guideline one) everywhere to uniform 2016-04-27 15:12:19 -04:00
Louis-Philippe Véronneau
ec3bceff10 syntax highlighting 2016-04-27 15:00:35 -04:00
Louis-Philippe Véronneau
b45d09561e typo (tris?) 2016-04-27 14:38:47 -04:00
Louis-Philippe Véronneau
cfb1eefa1d typo (bis) 2016-04-27 14:33:08 -04:00
Louis-Philippe Véronneau
511cd83922 typo 2016-04-27 14:31:20 -04:00
Louis-Philippe Véronneau
fca9b745ea README is now markdown 2016-04-27 14:29:00 -04:00
Louis-Philippe Véronneau
d7c9feda05 README is now markdown 2016-04-27 14:28:47 -04:00
intrigeri
e70a6712d3 apt::reboot_required_notify::jessie: manage APT pinning to fetch reboot-notifier from jessie-backports, when running on Jessie. 2016-03-16 14:26:52 +00:00
intrigeri
46b2f3d2e8 Merge remote-tracking branch 'shared/master' into bugfix/reboot-required-jessie 2016-03-16 14:23:08 +00:00
Micah
8c8bd7bb1e Merge branch 'remove_loglevel_info' into 'master'
Remove loglevel directive from Exec[update_apt]

When using puppet apply (v 3.7), loglevel 'info'
won't show the output on error. This is bad for
debugging.

micah, assigning to you because this has already bitten me while debugging a failed `apt-get update` for the leap_platform.

See merge request !39
2016-02-26 09:39:42 +00:00
varac
7714aa0436 Remove loglevel directive from Exec[update_apt]
When using puppet apply (v 3.7), loglevel 'info'
won't show the output on error. This is bad for
debugging.
2016-02-25 19:59:58 +01:00