Commit graph

747 commits

Author SHA1 Message Date
Morgan Haskel
1236ecff2c Add base_name parameter to apt::setting
This allows you to work around duplicate resource issues when you have
settings of different types with the same name. When the files are built
it is path/${priority}${base_name}${extension}.
2015-02-25 07:37:16 -08:00
Daniele Sluijters
cddf5498f0 Merge pull request #433 from mhaskel/ppa
PPA Cleanup, pt 1
2015-02-23 20:21:10 +01:00
Morgan Haskel
1b6e046bea PPA Cleanup, pt 1
Make the code much cleaner, but don't make a t&p.
2015-02-22 14:44:27 -08:00
Daniele Sluijters
c4981a0739 Merge pull request #432 from mhaskel/source_cleanup
Cleanup for `apt::source`
2015-02-22 00:30:36 +01:00
Morgan Haskel
10f313cfb4 Convert apt::source to use apt::setting
May as well use the define since we added it
2015-02-21 15:26:48 -08:00
Morgan Haskel
0a178c3382 Cleanup for apt::source
* Update `release` to default to `$::lsbdistcodename`
* Default `include_src` to false
* Validate more things!
* Stop redefining variables from `apt::params`
2015-02-21 15:26:48 -08:00
Daniele Sluijters
7e7e3e2f50 Merge pull request #435 from mhaskel/setting_fix
Type is a reserved word in puppet 4
2015-02-22 00:22:59 +01:00
Daniele Sluijters
f88008146a Merge pull request #431 from mhaskel/local_variable_declarations
Stop redeclaring variables from params
2015-02-22 00:22:25 +01:00
Morgan Haskel
7c5a62f13e Stop redeclaring variables from params
It really seems unnecessary.
2015-02-21 12:18:15 -08:00
Morgan Haskel
4f4d8aeafd Type is a reserved word in puppet 4
So replace `type` with `setting_type` in apt::setting
2015-02-21 11:50:00 -08:00
Morgan Haskel
e75e603d33 Merge pull request #428 from puppetlabs/daenney/apt-setting
apt: Add apt::setting defined type.
2015-02-21 11:40:05 -08:00
Daniele Sluijters
76c88af041 apt: Add apt::setting defined type.
This is a 'base' type. It's a simple wrapper around a file which takes
`type`, `ensure`, `content`, `source` and `file_perms`. It is intended
for usage by `apt::conf`, `apt::source` and an upcoming `apt::pref`.
2015-02-21 20:13:01 +01:00
Daniele Sluijters
92c405b19c Merge pull request #430 from mhaskel/fix_typo
Fix typo from #426
2015-02-20 22:06:50 +01:00
Daniele Sluijters
58f71679ba Merge pull request #429 from mhaskel/remove_include_update
Remove 'include apt::update'
2015-02-20 22:06:29 +01:00
Morgan Haskel
12a358912a Fix typo from #426
Too many `$`s
2015-02-20 10:55:47 -08:00
Morgan Haskel
0d9bab38cc Remove 'include apt::update'
It is included in `class apt`, and there are no promises about anything
working without that.
2015-02-20 10:47:35 -08:00
Morgan Haskel
59c362a2c1 Merge pull request #426 from puppetlabs/daenney/fix-missing-param-and-naming
apt::params: Add two missing entries, use them.
2015-02-19 16:41:27 -08:00
Daniele Sluijters
ab928276cb Merge pull request #427 from mhaskel/required_packages
RFC - Remove required packages
2015-02-20 01:10:45 +01:00
Daniele Sluijters
3e407d70e0 apt::params: Add two missing entries, use them. 2015-02-20 01:06:26 +01:00
Morgan Haskel
bb3a1f0af0 Remove required packages
I'm not entirely clear on the history behind this feature, and this
feels sort of hack-y. If you could explain why this is needed that would
be awesome, or if it isn't just merge this :)
2015-02-19 15:39:14 -08:00
Daniele Sluijters
463a61c0ab Merge pull request #424 from mhaskel/hulk_smash
Hulk smash
2015-02-19 19:35:50 +01:00
Morgan Haskel
59782daea1 Fix lint issue in examples 2015-02-19 08:26:30 -08:00
Morgan Haskel
9f758e8b5f Fix acceptance tests 2015-02-18 13:42:55 -08:00
Morgan Haskel
1534042c93 Fix broken unit tests 2015-02-18 11:43:50 -08:00
Morgan Haskel
e626423b57 Placeholders for needed examples 2015-02-15 11:17:12 -08:00
Morgan Haskel
e965fe450d Update examples 2015-02-15 11:11:58 -08:00
Morgan Haskel
8ef58a456d Get rid of hold 2015-02-15 10:59:00 -08:00
Morgan Haskel
0809774006 Get rid of release 2015-02-15 10:54:33 -08:00
Morgan Haskel
8cc7d40dd9 Get rid of force 2015-02-15 10:52:57 -08:00
Morgan Haskel
90cc951753 get rid of builddep 2015-02-15 10:45:54 -08:00
Morgan Haskel
6dc52c169e Merge pull request #1 from puppet-community/daenney/remove_unattended_upgrades_remains
Remove some vars for unattended_upgrades.
2015-02-15 10:41:54 -08:00
Daniele Sluijters
4def3987e0 Remove some vars for unattended_upgrades. 2015-02-15 19:40:42 +01:00
Morgan Haskel
501a1b5627 stop including params everywhere 2015-02-15 10:25:36 -08:00
Morgan Haskel
9debb1a909 Remove backports and debian 2015-02-15 10:22:37 -08:00
Morgan Haskel
b09a699b8c move tests to examples 2015-02-15 09:48:10 -08:00
Morgan Haskel
87b087e9c0 Get rid of unattended upgrades and cleanup unused templates 2015-02-15 09:46:04 -08:00
Morgan Haskel
6b5e4d1790 and an acceptance test 2015-02-15 09:41:20 -08:00
Morgan Haskel
61080fb676 Unbreak broken tests 2015-02-15 09:39:17 -08:00
Morgan Haskel
6cdbe562ab Starting to clean up init.pp 2015-02-15 09:09:47 -08:00
Daniele Sluijters
da4a1dcecf Merge pull request #422 from cmurphy/lint
Ensure linter fails on lint warnings
2015-02-13 09:23:53 +01:00
Daniele Sluijters
6166de1f4a Merge pull request #421 from cmurphy/future
Update spec tests for future parser
2015-02-13 09:23:41 +01:00
Colleen Murphy
4d39089ac2 Ensure linter fails on lint warnings 2015-02-12 12:24:56 -08:00
Colleen Murphy
e05810d032 Update spec tests for future parser
Strings must be quoted in the future parser.
2015-02-12 12:24:02 -08:00
Daniele Sluijters
83ae566b08 Merge pull request #389 from stdietrich/global_header_partial
(MODULES-1200) Fix inconsistent header across files
2015-02-06 22:10:41 +01:00
Stefan Dietrich
443db5a7c2 (MODULES-1200) Fix inconsistent header across files 2015-02-06 21:16:05 +01:00
Daniele Sluijters
bf9b187405 Merge pull request #416 from mkrakowitzer/add_param_documentation
(doc) Add documentation for apt::key parameters and apt::pin parameters
2015-02-04 23:50:37 +01:00
Hunter Haugen
95bed8902f Merge pull request #418 from cmurphy/rspec
Pin rspec gems
2015-02-04 12:04:17 -08:00
Colleen Murphy
553e3004ba Pin rspec gems 2015-02-04 17:03:32 +01:00
Merritt Krakowitzer
e8bef852ed (doc) Add documentation for apt::key parameters and apt::pin parameters
Add documentation for apt::key parameters and apt::pin parameters.
Fix minor spelling error
2015-02-03 18:59:54 +02:00
Daniele Sluijters
157262e795 Merge pull request #414 from phaf/fix_doc_unattended_upgrades
Documentation: Fix typo and syntax for example of apt::unattended_upgrad...
2015-01-30 14:22:18 +01:00