Commit graph

585 commits

Author SHA1 Message Date
Erik Dalén
40f8755217 (#16070) Allow optional order parameter to apt::pin
As the apt pinnings are parsed in ascending alphabetical order with
first match wins within a given scope it is useful to be able to specify
a ordering parameter. Then the name parameter can be kept to something
meaningful.
2012-08-23 11:25:17 +02:00
Dan Bode
f3d84c6744 Merge pull request #84 from dalen/pin_version
(#16075) Allow pinning on version numbers
2012-08-22 06:55:00 -07:00
Dan Bode
62d4557db6 Merge pull request #79 from sathlan/feature/apt-force-timeout
Add a way to specify a timeout for the apt::force define.
2012-08-22 06:47:01 -07:00
Dan Bode
32d312ea41 Merge pull request #78 from saz/source-remove-release
remove check, if $release is empty
2012-08-22 06:46:36 -07:00
Dan Bode
c683ae24d0 Merge pull request #82 from dalen/style
Fix style errors
2012-08-22 06:00:39 -07:00
Erik Dalén
14b2eb1ca0 (#16075) Allow pinning on version numbers
This is needed to be able to produce the following pinning from
apt_preferences(5):

Package: perl
Pin: version 5.8*
Pin-Priority: 1001
2012-08-22 10:11:48 +02:00
Erik Dalén
a3d782c3b5 Fix style errors 2012-08-21 22:55:24 +02:00
Steffen Zieger
d49dbb49ae fix check of release parameter 2012-07-10 01:39:53 +02:00
sathlan
fcb90f7b6c Add a way to specify a timeout for the apt::force define. 2012-07-09 05:24:49 +03:00
Branan Purvine-Riley
710b1c6a66 Merge pull request #77 from jonhattan/master
«main» repository is missing from ubuntu backports.
2012-07-02 17:58:12 -07:00
Jonathan Araña Cruz
145a2853d4 Add «main» to Ubuntu backports repos. 2012-06-29 13:15:13 +02:00
Dan Bode
ecb3a0be23 Merge pull request #75 from ytjohn/patch-1
Without puppetlabs/stdlib, you will get "err: Could not retrieve catalog...
2012-06-13 14:59:27 -07:00
ytjohn
3adb53c4a6 Without puppetlabs/stdlib, you will get "err: Could not retrieve catalog from remote server: Error 400 on SERVER: Unknown function validate_bool" 2012-06-13 18:48:58 -03:00
Dan Bode
c63353cc92 Merge pull request #74 from antonlindstrom/variable-scoping
fix scoping of $lsbdistcodename in source.pp
2012-06-12 08:19:54 -07:00
Anton Lindström
74959d8f8e fix scoping of $lsbdistcodename in source.pp
Current unscoped variable yields deprecation warning:
warning: Dynamic lookup of $lsbdistcodename at
[..]/apt/manifests/source.pp:7 is deprecated.
2012-06-12 09:56:19 +02:00
Branan Purvine-Riley
9d20803457 Merge pull request #73 from nanliu/tb/logoutput
Add logoutput on_failure for all exec resources.
2012-06-07 15:19:41 -07:00
Nan Liu
2dcec036ca Add logoutput on_failure for all exec resources.
We need more information to debug issues on exec failure. This change
enables logouput => on_failure.
2012-06-07 14:53:41 -07:00
Nan Liu
f6e7e02632 Merge pull request #72 from branan/fix_modulefile_repo
Fix Modulefile for puppet-apt to puppetlabs-apt rename
2012-06-05 10:32:05 -07:00
Branan Purvine-Riley
f9218530f8 Fix Modulefile for puppet-apt to puppetlabs-apt rename 2012-06-05 09:50:41 -07:00
Dan Bode
64fd42fb2f Merge pull request #70 from branan/use_spec_gem
Switch to the new puppetlabs_spec_helper gem
2012-05-31 17:30:59 -07:00
Branan Purvine-Riley
918a3767ff Switch to the new puppetlabs_spec_helper gem 2012-05-31 15:32:03 -07:00
Dan Bode
f72d1005d9 Merge pull request #68 from branan/release_0.0.4
Update Modulefile and CHANGELOG for 0.0.4
2012-05-25 16:06:55 -07:00
Dan Bode
1a294a83fb Merge pull request #69 from branan/fix_source_test
Fix the spec test for apt::source
2012-05-25 16:03:40 -07:00
Branan Purvine-Riley
7450a5ffc0 Fix the spec test for apt::source
the $location paramater is meant to be a deb location, so it should be
formatted as a URI.
2012-05-25 15:32:49 -07:00
Nan Liu
d7a19f3219 Merge pull request #67 from branan/older_puppet_fix
Remove a trailing comma to fix older puppets
2012-05-25 14:36:59 -07:00
Branan Purvine-Riley
16bb92da36 Update Modulefile and CHANGELOG for 0.0.4 2012-05-25 14:06:29 -07:00
Branan Purvine-Riley
bf1bb27998 Remove a trailing comma to fix older puppets 2012-05-25 12:38:53 -07:00
Branan Purvine-Riley
95beb15266 Merge pull request #63 from rskvazh/master
Pin source with originator. Useful for pinning Launchpad PPA
2012-05-25 11:57:12 -07:00
Nan Liu
de276aeeb7 Merge pull request #64 from branan/rakefile_clean
Update Rakefile to my latest template version
2012-05-25 11:45:05 -07:00
Nan Liu
b63b5e19bc Merge pull request #65 from branan/spec_fix
Fix spec tests
2012-05-25 11:26:47 -07:00
Branan Purvine-Riley
ebd05e5c51 Fix spec tests 2012-05-25 11:23:54 -07:00
Branan Purvine-Riley
4c77eed8ec Update Rakefile to my latest template version
* Add a 'clean' task
* Fix an issue when there are no repository fixtures
2012-05-25 11:08:15 -07:00
Roman Skvazh
f5b3c5bcdf Add functionality to pin source with originator "release o=..."
If you need to pin certain Launchpad PPA (ppa:rskvazh/php), you may do:
apt::pin { 'my-launchpad-repo':
   priority      => 700,
   originator  =>'LP-PPA-rskvazh-php',
}
2012-05-24 13:46:00 +04:00
Adrien Thebo
b97cb4ae28 Merge pull request #62 from xaque208/contribute
Retroactively add Zach Leslie as a contributor
2012-05-23 10:56:16 -07:00
Zach Leslie
4ea122feac contribute 2012-05-23 10:24:00 -07:00
James Turnbull
5f1cf4a245 Merge pull request #61 from xaque208/pin_origin
Pin origin
2012-05-23 10:17:31 -07:00
James Turnbull
efb2ed2094 Merge pull request #60 from branan/ppa_filename
(#14657) Fix filename when there is a period in the PPA
2012-05-23 10:16:49 -07:00
Dan Bode
64e1bf9a2f Merge pull request #59 from branan/spec_improvements
Spec improvements
2012-05-22 17:27:00 -07:00
Branan Purvine-Riley
83e20806b2 (#14657) Fix filename when there is a period in the PPA 2012-05-22 17:22:18 -07:00
Branan Purvine-Riley
0f9793bda8 Make gemfile and fixtures.yml hidden files for the sake of module tool 2012-05-22 15:20:14 -07:00
Branan Purvine-Riley
f420cb6314 add spec_prep, spec_clean, and spec_full rake tasks
These targets automate the fixtures directory using a configuration stored in
fixtures.yml. Because we can now handle the fixtures directory with a rake task,
the clone commands have been removed from the Travis config.
2012-05-22 15:00:43 -07:00
Branan Purvine-Riley
a4e1ee7508 fallback to the puppet modulepath if a module is missing from fixtures 2012-05-22 13:27:28 -07:00
Branan Purvine-Riley
fbe44e8b27 Remove recursive symlink from fixtures 2012-05-22 13:27:20 -07:00
Dan Bode
cdfad26d83 Merge pull request #56 from branan/travisci
Add files for travis CI
2012-05-22 09:21:52 -07:00
Zach Leslie
836f16e946 add .pref extension, which according to apt_preferences(5) may or may not be present, and is helpful if you are going to have an extension at all 2012-05-21 17:06:10 -07:00
Zach Leslie
f0d18b6ed7 use variable from params and also validate the purge_preferences_d 2012-05-21 15:56:29 -07:00
Zach Leslie
cfb6a35603 allow for purging preferences 2012-05-21 15:51:33 -07:00
Zach Leslie
6e9232a627 align = 2012-05-21 15:48:00 -07:00
Zach Leslie
3ac02c5c42 Preserve backwards compatibility 2012-05-21 15:03:30 -07:00
Zach Leslie
5d94369f15 pass ensure through so that we can remove pin prefs too 2012-05-21 14:52:36 -07:00