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
Zach Leslie
d28de44266
move pin out to a template
2012-05-21 14:49:30 -07:00
Zach Leslie
2d19d8664e
Add functionality to support apt pinning to more than just the release.
...
Write the pin preference filename as ${name} rather than ${release}, so
that we can pin more than one thing.
Change apt::source so that when pin is set, that it pins to the origin
rather than the release.
2012-05-21 14:19:18 -07:00
Zach Leslie
989b95a12d
Fixup name issue with apt::backports
...
The '.list' is not needed since the apt::source type handles this.
White space alignment.
2012-05-21 14:17:37 -07:00
Ryan Coleman
a2422f7f7b
Merge pull request #58 from nanliu/tb/ppa
...
Fix dependency issues introduced with anchor.
2012-05-09 13:12:42 -07:00
Nan Liu
2ce47f0652
Fix apt::dep spec tests.
...
Some of the existing tests were not verifying anything useful. This
update replace them with more meaningful tests.
2012-05-09 12:22:28 -07:00
Nan Liu
e3784987fc
Fix dependency issues introduced with anchor.
...
apt::ppa and apt::builddep requires apt class. The anchor introduced for
containment of apt-get update causes a dependency loop. apt::ppa appears
to depend on apt class sources.d direcory. While apt::builddep have no
clear reason for a dependency on apt class. This change refactor both
define type, so they no longer cause a dependency loop.
2012-05-09 12:04:17 -07:00
Dan Bode
f8cc762122
Merge pull request #57 from nanliu/tb/style
...
Fix style related issues in module.
2012-05-08 11:07:46 -07:00
Branan Purvine-Riley
05fba437a3
Add configuration for Travis CI
2012-05-08 11:01:31 -07:00
Nan Liu
322f3b68e7
Fix style related issues in module.
2012-05-08 10:47:43 -07:00
Dan Bode
9538d23305
Merge pull request #55 from nanliu/tb/containment
...
(#11966 ) apt module containment for apt_update.
2012-05-07 15:49:33 -07:00
Nan Liu
666a05dea1
( #11966 ) apt module containment for apt_update.
...
The update to separate Exec["apt-get update ${name}"] to single exec in
apt::update class resulted in apt-get update command to be dangled.
Previously if user specified Package['package_a'] <-
Apt::Resource['source_a'], the original refactor would no longer
guarantee apt-get update is executed before the package is installed.
This patch fixes the problem using the anchor resource and ensuring the
old behaviour is maintained and user can depend on apt-get update
command being invoked if they specify dependency on any apt::*
define resource type as well as the apt class.
2012-05-07 15:27:53 -07:00