kwadronaut [Thu, 15 Nov 2018 10:46:52 +0000 (11:46 +0100)]
Merge branch 'master' into HEAD
kwadronaut [Thu, 15 Nov 2018 10:41:02 +0000 (11:41 +0100)]
Fix order, unknown variable
By including the common module first, you won't get ugliness like this:
Nov 14 10:29:02 - [citest79656] Warning: Unknown variable:
'apt::apt_base_dir'. at
/srv/leap/puppet/code/modules/apt/manifests/config.pp:69:15
Nov 14 10:29:02 - [citest79656] Warning: Unknown variable:
'apt::apt_base_dir'. at
/srv/leap/puppet/code/modules/apt/manifests/config.pp:77:30
Nov 14 10:29:02 - [citest79656] Warning: Unknown variable:
'apt::apt_base_dir'. at
/srv/leap/puppet/code/modules/apt/manifests/config.pp:78:30
kwadronaut [Wed, 26 Sep 2018 15:36:20 +0000 (17:36 +0200)]
Merge remote-tracking branch 'shared/master'
Jérôme Charaoui [Tue, 19 Jun 2018 18:15:28 +0000 (14:15 -0400)]
Fix another fact var scope issue in upgrade example
Jérôme Charaoui [Tue, 19 Jun 2018 16:02:44 +0000 (12:02 -0400)]
Improve backports example
Jérôme Charaoui [Tue, 19 Jun 2018 15:55:07 +0000 (11:55 -0400)]
Fix variable scope warnings in examples
Louis-Philippe Véronneau [Tue, 13 Mar 2018 16:13:25 +0000 (16:13 +0000)]
Add more details on unattended_upgrades
Louis-Philippe Véronneau [Thu, 8 Mar 2018 04:05:07 +0000 (04:05 +0000)]
Make sure you are using testing instead of buster, as it seems the apt preferences pin for buster are not working properly...
Louis-Philippe Véronneau [Tue, 6 Mar 2018 21:13:17 +0000 (21:13 +0000)]
Clarify how to use apt::pin and add `create_ressources` example
Louis-Philippe Véronneau [Tue, 20 Feb 2018 19:21:47 +0000 (19:21 +0000)]
mention new apt_listchanges module.
Louis-Philippe Véronneau [Wed, 7 Feb 2018 23:34:38 +0000 (18:34 -0500)]
add UPGRADING.md, close issue #25
intrigeri [Mon, 8 Jan 2018 15:28:45 +0000 (15:28 +0000)]
Merge remote-tracking branch 'lelutin-gitlab/issue_22' (Closes #22)
intrigeri [Mon, 8 Jan 2018 15:26:28 +0000 (15:26 +0000)]
Merge branch 'puppet4_compat' into 'master'
puppet 4 compat: mark integer as string
See merge request shared-puppet-modules-group/apt!64
Matt Taggart [Mon, 25 Sep 2017 21:42:08 +0000 (21:42 +0000)]
Merge branch 'deb_debian_org' into 'master'
replace old httpredir by new deb.debian.org (fix issue #23)
Closes #23
See merge request shared-puppet-modules-group/apt!70
Louis-Philippe Véronneau [Mon, 25 Sep 2017 21:37:14 +0000 (17:37 -0400)]
replace old httpredir by new deb.debian.org
Gabriel Filion [Sun, 25 Jun 2017 03:44:01 +0000 (23:44 -0400)]
specs: manually define debian_nextcodename when expected to be used
with puppet 4.x when you don't define the debian_nextcodename,
compilation fails saying that the variable is unknown. since we have
unit tests specifically for this fact's behaviour, we want to stub out
the fact's value in other tests so that we can verify the logic of
manifests is actually good.
Gabriel Filion [Sat, 24 Jun 2017 23:31:50 +0000 (19:31 -0400)]
test: move release targets for debian
In commit 8b45a8a, the release names were moved forward in order to
follow the new Debian release. However, I didn't change the tests
accordingly and thus the tests have been failing since then.
Louis-Philippe Véronneau [Wed, 23 Aug 2017 19:28:13 +0000 (19:28 +0000)]
Merge branch 'broken_release_checks' into 'master'
test: move release targets for debian
See merge request !65
Gabriel Filion [Sun, 2 Jul 2017 06:13:54 +0000 (02:13 -0400)]
lint preferences.pp
that file is using multiple coding style elements that don't follow
community best practices which are designed to make code easier to read.
Gabriel Filion [Sun, 2 Jul 2017 05:58:34 +0000 (01:58 -0400)]
Deploy forgotten fallback for debian to avoid upgrade mishaps
During the change from the monolithic preferences file to the series of
snippets in preferences.d, one part was left out possibly as an
oversight, which prevents installing packages by mistake that belong to
a release that hasn't been explicitely pinned.
Gabriel Filion [Sun, 2 Jul 2017 05:44:38 +0000 (01:44 -0400)]
Rename "stable" preferences file to "current_codename"
The file that we call "stable" can make apt actually pin testing or sid
if one of these is the running codename, which is nothing stable.
In order to make this file's name more relevant it should be named
current_codename.
Gabriel Filion [Sun, 2 Jul 2017 05:39:34 +0000 (01:39 -0400)]
remove template for main preferences config
this file is not used anymore. we've moved all of this to preferences.d
so the template is useless now, but we forgot to remove it.
Varac [Tue, 27 Jun 2017 11:57:43 +0000 (13:57 +0200)]
Merge remote-tracking branch 'shared/master' into leap_master
Gabriel Filion [Sun, 25 Jun 2017 03:44:01 +0000 (23:44 -0400)]
specs: manually define debian_nextcodename when expected to be used
with puppet 4.x when you don't define the debian_nextcodename,
compilation fails saying that the variable is unknown. since we have
unit tests specifically for this fact's behaviour, we want to stub out
the fact's value in other tests so that we can verify the logic of
manifests is actually good.
Gabriel Filion [Sat, 24 Jun 2017 23:31:50 +0000 (19:31 -0400)]
test: move release targets for debian
In commit 8b45a8a, the release names were moved forward in order to
follow the new Debian release. However, I didn't change the tests
accordingly and thus the tests have been failing since then.
Louis-Philippe Véronneau [Thu, 22 Jun 2017 22:15:38 +0000 (18:15 -0400)]
puppet 4 compat: mark integer as string
LeLutin [Thu, 22 Jun 2017 13:11:01 +0000 (13:11 +0000)]
Merge branch 'custom_dockerimage' into 'master'
Use official ruby docker image
See merge request !63
Varac [Thu, 22 Jun 2017 08:49:52 +0000 (10:49 +0200)]
Use official ruby docker image
Jerome Charaoui [Mon, 19 Jun 2017 03:26:51 +0000 (03:26 +0000)]
Merge branch 'stretch_released' into 'master'
stretch was released
See merge request !62
Gabriel Filion [Mon, 19 Jun 2017 03:13:57 +0000 (23:13 -0400)]
stretch was released
buster+1's codename is known, and wheezy has been in LTS for some time
already.
intrigeri [Tue, 30 May 2017 09:41:03 +0000 (09:41 +0000)]
Merge remote-tracking branch 'lelutin-gitlab/package' (Closes: #5)
Gabriel Filion [Mon, 17 Apr 2017 01:31:50 +0000 (21:31 -0400)]
README: slightly reword template usage for apt::package
The current wording is not super clear on what type of file should be
dropped in `site_apt/...`.
Gabriel Filion [Mon, 17 Apr 2017 01:29:30 +0000 (21:29 -0400)]
package wrongly documented and used with content parameter
There are some references to the old `content` parameter (from
preseeded_package) that mistakenly weren't replaced with the new
parameter `seedfile_content`. This meant the documentation was wrong and
the `preseeded_package` wrapper was erroring out because of an unknown
parameter.
Gabriel Filion [Mon, 17 Apr 2017 01:19:49 +0000 (21:19 -0400)]
README: missing sentence end in deprecation notice for preseeded_package
The missing dot made the announcement confusing. There are really two
different informations in there that should be split.
LeLutin [Fri, 24 Feb 2017 23:27:32 +0000 (23:27 +0000)]
Merge branch 'master' into 'master'
Move old monolithic preferences files to mutiple preferences.d files (Fix #14)
Closes #14
See merge request !61
Louis-Philippe Véronneau [Fri, 24 Feb 2017 23:17:34 +0000 (18:17 -0500)]
define variables in templates with the right style
Louis-Philippe Véronneau [Fri, 24 Feb 2017 22:49:27 +0000 (17:49 -0500)]
update the README with the new preferences.d behavior
Louis-Philippe Véronneau [Fri, 24 Feb 2017 22:38:51 +0000 (17:38 -0500)]
ensure old monolithic preferences file is no more
Louis-Philippe Véronneau [Fri, 24 Feb 2017 22:30:46 +0000 (17:30 -0500)]
seems puppet didn't like square brackets
Louis-Philippe Véronneau [Fri, 24 Feb 2017 22:28:41 +0000 (17:28 -0500)]
add manage_preferences to init.pp
Gabriel Filion [Fri, 24 Feb 2017 22:09:27 +0000 (17:09 -0500)]
README: document new pin/pin_priority parameters to apt::package
Louis-Philippe Véronneau [Fri, 24 Feb 2017 22:08:12 +0000 (17:08 -0500)]
remove preferences.d files when not using them
Gabriel Filion [Fri, 24 Feb 2017 22:01:05 +0000 (17:01 -0500)]
Adjust README to show new parameter that's needed for preseeding.
Gabriel Filion [Fri, 24 Feb 2017 21:46:27 +0000 (16:46 -0500)]
make use of preseed optional and disabled by default
We currently can't use apt::package without preseeding. Also by default
the preseed content is grabbed from an implicit template, which makes
puppet runs fail for a non-obvious reason.
To keep previous functionality, force use of seed file when using the
deprecated apt::preseeded_package type.
Louis-Philippe Véronneau [Fri, 24 Feb 2017 21:30:49 +0000 (16:30 -0500)]
fix custom_preferences && refactor how they work
Gabriel Filion [Fri, 24 Feb 2017 20:50:32 +0000 (15:50 -0500)]
teach apt::package to mange pins for packages
Louis-Philippe Véronneau [Fri, 24 Feb 2017 20:44:21 +0000 (15:44 -0500)]
fix variable name (bis)
Gabriel Filion [Fri, 24 Feb 2017 18:03:59 +0000 (13:03 -0500)]
rename preseeded_package into package
keep a wrapper in place with a deprecation notice for the old name so
that ppl can know about the change and migrate to the new name
Louis-Philippe Véronneau [Fri, 24 Feb 2017 20:32:15 +0000 (15:32 -0500)]
preferences.d/stable is the new preferences
Louis-Philippe Véronneau [Fri, 24 Feb 2017 20:30:26 +0000 (15:30 -0500)]
fix variable name
Louis-Philippe Véronneau [Fri, 24 Feb 2017 20:19:40 +0000 (15:19 -0500)]
add new preferences.d templates
Louis-Philippe Véronneau [Fri, 24 Feb 2017 20:18:02 +0000 (15:18 -0500)]
move from monolithic preferences file to multiple preferences.d files
Micah Anderson [Fri, 24 Feb 2017 17:26:00 +0000 (12:26 -0500)]
Add details about dpkg_statoverride to README
Fix 'ressources' typo
Micah [Fri, 24 Feb 2017 17:30:13 +0000 (17:30 +0000)]
Merge branch 'dpkg-statoverride' into 'master'
Import apt::dpkg_statoverride from https://github.com/example42/puppet-apt.
See merge request !59
intrigeri [Tue, 14 Feb 2017 16:39:01 +0000 (16:39 +0000)]
Import apt::dpkg_statoverride from https://github.com/example42/puppet-apt.
… at commit
714e393ca4b784b80006e39225d80179e109a8c3, and add copyright and
licensing information.
Micah [Sun, 12 Feb 2017 15:15:04 +0000 (15:15 +0000)]
Merge branch 'feature/debian_codename_to_version' into 'master'
Add debian_codename_to_version parser function.
See merge request !51
intrigeri [Sun, 12 Feb 2017 13:09:16 +0000 (13:09 +0000)]
Merge remote-tracking branch 'sogeecom/master' into shared-master
intrigeri [Sun, 12 Feb 2017 12:51:12 +0000 (12:51 +0000)]
Merge remote-tracking branch 'sogeecom/harmonize_style' into shared-master
Louis-Philippe Véronneau [Sat, 21 Jan 2017 21:15:06 +0000 (16:15 -0500)]
minor style fixes to comply with CI warnings
Louis-Philippe Véronneau [Sat, 21 Jan 2017 21:12:18 +0000 (16:12 -0500)]
missed a few variables - fully qualify them
Louis-Philippe Véronneau [Sat, 21 Jan 2017 20:59:03 +0000 (15:59 -0500)]
fully qualify variables to remove inherits
Louis-Philippe Véronneau [Sat, 21 Jan 2017 20:06:41 +0000 (15:06 -0500)]
use include instead of inherits
varac [Fri, 23 Dec 2016 12:45:26 +0000 (13:45 +0100)]
Dont pin rspec-core to old version
varac [Thu, 3 Nov 2016 14:54:46 +0000 (15:54 +0100)]
Fix preferences_snippet.pp for puppet 4
varac [Thu, 3 Nov 2016 14:30:46 +0000 (15:30 +0100)]
Do a simple compile test for now
varac [Thu, 3 Nov 2016 00:15:25 +0000 (01:15 +0100)]
Test for compile.with_all_deps
varac [Wed, 2 Nov 2016 23:45:34 +0000 (00:45 +0100)]
Use undef as default for source parameter
varac [Wed, 2 Nov 2016 23:09:25 +0000 (00:09 +0100)]
Scope defines of apt_conf
varac [Wed, 2 Nov 2016 23:34:17 +0000 (00:34 +0100)]
Ignore spec/fixtures
varac [Wed, 2 Nov 2016 23:33:38 +0000 (00:33 +0100)]
Add more facts
varac [Wed, 2 Nov 2016 22:33:35 +0000 (23:33 +0100)]
Test multiple puppet versions
varac [Wed, 2 Nov 2016 21:47:30 +0000 (22:47 +0100)]
Improve tests setup
- Add .fixtures.yaml to checkout common module
- Use puppetlabs-spec-helper in spec_helper.rb
varac [Wed, 2 Nov 2016 20:26:14 +0000 (21:26 +0100)]
Compile test, test apt::conf
varac [Mon, 31 Oct 2016 12:46:05 +0000 (13:46 +0100)]
Fix CI, dont install beaker on gitlab CI
- Don't install `system-tests` gem group for rspec tests on CI
- Use leapcode/ruby docker image because it has a more default
ruby installation than the 'official' one.
- Use `/var/cache/gitlab-runner/` as gem install path so we can
cache this folder later
Jérôme Charaoui [Wed, 29 Jun 2016 15:57:08 +0000 (17:57 +0200)]
Always set debian_nextcodename to 'sid' on systems running testing,
fixes #12
Louis-Philippe Véronneau [Fri, 30 Dec 2016 06:48:41 +0000 (01:48 -0500)]
more ; to ,
varac [Fri, 23 Dec 2016 12:45:26 +0000 (13:45 +0100)]
Dont pin rspec-core to old version
varac [Fri, 23 Dec 2016 12:45:26 +0000 (13:45 +0100)]
Dont pin rspec-core to old version
Louis-Philippe Véronneau [Fri, 23 Dec 2016 04:02:16 +0000 (23:02 -0500)]
missing single quotes
Louis-Philippe Véronneau [Fri, 23 Dec 2016 03:58:18 +0000 (22:58 -0500)]
fix errors by replacing some semicolons by commas
Louis-Philippe Véronneau [Fri, 23 Dec 2016 03:44:17 +0000 (22:44 -0500)]
use double quotes not to have to escape single ones
Louis-Philippe Véronneau [Fri, 23 Dec 2016 03:41:20 +0000 (22:41 -0500)]
mark packages as present instead of installed to be consistent
Louis-Philippe Véronneau [Fri, 23 Dec 2016 03:26:43 +0000 (22:26 -0500)]
make sure every object ends with either a comma or a semicolon
Louis-Philippe Véronneau [Fri, 23 Dec 2016 03:17:35 +0000 (22:17 -0500)]
use the same name for the update_apt exec everywhere
Louis-Philippe Véronneau [Fri, 23 Dec 2016 03:09:14 +0000 (22:09 -0500)]
move parts of init.pp to config.pp^& install.pp to increase readability
Louis-Philippe Véronneau [Fri, 23 Dec 2016 02:56:16 +0000 (21:56 -0500)]
fix array identation
Louis-Philippe Véronneau [Fri, 23 Dec 2016 02:46:37 +0000 (21:46 -0500)]
fix missing/superfluous newline at the end/beginning of files
Louis-Philippe Véronneau [Fri, 23 Dec 2016 02:37:05 +0000 (21:37 -0500)]
harmonize variable alignment
Louis-Philippe Véronneau [Fri, 23 Dec 2016 02:25:13 +0000 (21:25 -0500)]
indent packages correctly
varac [Fri, 4 Nov 2016 13:39:23 +0000 (14:39 +0100)]
Merge remote-tracking branch 'shared/master' into leap_master
Micah [Fri, 4 Nov 2016 13:35:41 +0000 (13:35 +0000)]
Merge branch 'puppet4' into 'master'
Puppet4
Fixes stuff for puppet 4
See merge request !54
Micah [Fri, 4 Nov 2016 13:18:22 +0000 (13:18 +0000)]
Merge branch 'improve_tests' into 'master'
Improve tests
See merge request !53
varac [Thu, 3 Nov 2016 14:54:46 +0000 (15:54 +0100)]
Fix preferences_snippet.pp for puppet 4
varac [Thu, 3 Nov 2016 14:30:46 +0000 (15:30 +0100)]
Do a simple compile test for now
varac [Thu, 3 Nov 2016 00:15:25 +0000 (01:15 +0100)]
Test for compile.with_all_deps
varac [Wed, 2 Nov 2016 23:45:34 +0000 (00:45 +0100)]
Use undef as default for source parameter
varac [Wed, 2 Nov 2016 23:09:25 +0000 (00:09 +0100)]
Scope defines of apt_conf
varac [Wed, 2 Nov 2016 23:34:17 +0000 (00:34 +0100)]
Ignore spec/fixtures
varac [Wed, 2 Nov 2016 23:33:38 +0000 (00:33 +0100)]
Add more facts
varac [Wed, 2 Nov 2016 22:33:35 +0000 (23:33 +0100)]
Test multiple puppet versions