Ashley Penney
e2297a1ea6
Merge pull request #250 from hunner/move_unit
...
Move unit tests to spec/functions
2014-05-08 13:58:53 -04:00
Hunter Haugen
96e43e69d8
Move unit tests to spec/functions
...
rspec-puppet matchers are defined for tests which exist in
spec/functions, but the function unit tests lived in
spec/unit/puppet/parser/functions. This moves them to the correct place
for using rspec-puppet
2014-05-08 10:47:24 -07:00
Ashley Penney
17a912ea0a
Merge pull request #247 from hunner/more_tests
...
Adding more spec coverage
2014-05-07 18:03:57 -04:00
Hunter Haugen
c66a2e4f49
Add mode +x to spec .rb files
2014-05-07 15:00:30 -07:00
Hunter Haugen
78982c9238
Move the 4 misplaced tests
2014-05-07 15:00:30 -07:00
Hunter Haugen
890ef5c471
Adding more spec coverage
2014-05-07 15:00:30 -07:00
Hunter Haugen
176ff3abdc
Merge pull request #248 from averi/master
...
Add the missing shebangs and fix the wrong ones
2014-05-07 09:53:30 -07:00
Andrea Veri
09f892023c
Add the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly
2014-05-07 11:49:25 +02:00
Hunter Haugen
e962b9553b
Merge pull request #246 from hunner/update_build_csv
...
Update build_csv to understand contexts
2014-05-02 14:15:52 -07:00
Hunter Haugen
226cc7653c
Update build_csv to understand contexts
2014-05-02 13:44:20 -07:00
Hunter Haugen
7443e8b805
Merge pull request #245 from hunner/fix_augeas
...
Fix the validate_augeas beaker tests
2014-05-02 12:57:04 -07:00
Hunter Haugen
af49ef4ca2
Fix the validate_augeas beaker tests
2014-05-02 12:56:22 -07:00
Ashley Penney
143a0078b0
Merge pull request #244 from hunner/add_tests
...
Add more specs
2014-05-01 18:56:29 -04:00
Hunter Haugen
80590a9bfe
Add more specs
2014-05-01 14:07:54 -07:00
Ashley Penney
f8bfe46bbf
Merge pull request #243 from hunner/add_beaker
...
Add beaker tests for functions.
2014-04-28 14:55:29 -04:00
Ashley Penney
0b59dfe642
Merge pull request #222 from mfoo/fix/master/concat-primitives
...
Allow concat to take non-array second parameters
2014-04-24 13:41:42 -04:00
Ashley Penney
f42fc4bfd8
Merge pull request #238 from Spredzy/add_default_ensure_packages
...
(MODULES-603) Add defaults arguments to ensure_packages()
2014-04-24 13:38:07 -04:00
Hunter Haugen
1bdb213778
Merge pull request #242 from apenney/facts_d
...
Adjust the regular expression for facts.
2014-04-22 14:21:44 -07:00
Ashley Penney
68acb59bf7
Adjust the regular expression for facts.
...
Previously this was incorrectly handling facts that were of the form
foo=1+1=2 due to the ='s in the actual fact contents. Fix this and
add tests to try and prevent regressions.
2014-04-22 23:15:16 +02:00
Ashley Penney
6a5dee25a6
Merge pull request #239 from kylog/maint/remove-facter-versions-test
...
(maint) Remove facter versions test
2014-04-16 16:00:32 -04:00
Kylo Ginsberg
b691be7ea9
(maint) Remove facter versions test
...
This test attempts to emulate various versions of facter, but is
still dependent on the version of facter it is running against. The
immediate symptom was that the test breaks with facter 2.0.1 because
it adds another external facts search directory.
I tried a couple ways to stub this but allowing it to pretend
to run against one set of facters, while actually running against
one real facter (which might itself be one of several versions)
eluded me.
So this patch just removes the test.
2014-04-16 12:30:24 -07:00
Hunter Haugen
90222959b1
Adding more tests
2014-04-09 14:35:34 -07:00
Hunter Haugen
8a269c6722
Add build_csv
2014-04-08 16:38:33 -07:00
Hunter Haugen
f8f147e794
Add success/fail groups
2014-04-08 15:04:55 -07:00
Hunter Haugen
fcbc4b59a6
First set of tests
2014-04-03 16:58:12 -07:00
Ashley Penney
afb78e2b25
Add some acceptance tests for functions.
2014-04-03 16:58:12 -07:00
Yanis Guenane
d9b5e912bb
(MODULES-603) Add defaults arguments to ensure_packages()
...
Without this patch one can not specify package resource specific
parameters. All the ensure_packages() function does it makes sure
the named packages are installed. This patch allows one to pass
default as a second argument and allow greater flexibility on
packages installations.
Use case like the following are now possible :
* ensure_packages(['r10k', 'serverspec'], {'provider' => 'gem'})
* ensure_packages(['ntp'], {'require' => 'Exec[foobar]'})
2014-03-30 18:47:36 -04:00
Ashley Penney
746a4cc67a
Merge pull request #236 from PierreRambaud/patch-1
...
Update README.markdown
2014-03-27 08:41:43 -04:00
GoT
d20cf40697
Update README.markdown
...
Add code block for validate_slength.
2014-03-27 11:56:17 +01:00
Adrien Thebo
62e8c1d769
Merge branch '4.x'
2014-03-25 13:26:12 -07:00
Adrien Thebo
bc14381573
Merge branch '3.x' into 4.x
2014-03-25 13:26:00 -07:00
Adrien Thebo
fba67a1178
Merge branch '3.2.x' into 3.x
2014-03-25 13:25:31 -07:00
Adrien Thebo
39339ff313
Merge branch 'maint/3.2.x-ruby-rake-1.8-compat' into 3.2.x
2014-03-25 13:24:49 -07:00
Adrien Thebo
b6ee24687c
(maint) Pin rake version to 10.1.0 for 1.8 compat
2014-03-25 09:46:53 -07:00
Hunter Haugen
a2f7202ec9
Merge branch '4.x'
2014-03-18 16:24:02 -07:00
Hunter Haugen
aedb89d91f
Merge branch '3.x' into 4.x
2014-03-18 16:18:53 -07:00
Hunter Haugen
904f1a003e
Merge branch '3.2.x' into 3.x
2014-03-18 16:16:00 -07:00
Ashley Penney
fec943f441
Merge pull request #231 from apenney/32-testing
...
Numerous changes to update testing gems.
2014-03-18 12:34:40 -04:00
Ashley Penney
9aa28f1c10
Remove this test.
...
It turns out that in 3.x the refresh functionality doesn't actually
exist yet, so testing it makes no sense.
2014-03-13 11:10:01 -07:00
Ashley Penney
4a461423cc
Merge pull request #234 from apenney/add-beaker
...
Add beaker framework.
2014-03-12 11:24:32 -07:00
Ashley Penney
9a3107fed1
Add beaker framework.
...
This prepares the module for beaker acceptance tests.
2014-03-12 18:22:23 +00:00
Ashley Penney
e467d8f084
Merge pull request #220 from mediatemple/fix/master/deep_merge_fix
...
PUP-1724 Don't modify the paramaters to deep_merge
2014-03-11 09:31:23 -07:00
Ashley Penney
6a89e1cee4
Merge pull request #221 from puphpet/hash-fix
...
hash example has misplaced comas
2014-03-11 09:29:46 -07:00
Ashley Penney
3feb846cf4
Ensure Gemfile retains facilities for Jenkins.
2014-03-11 09:21:37 -07:00
Ashley Penney
e6c1aa6a02
Merge pull request #233 from apenney/add-back-location
...
Make sure location_for is used when installing Puppet.
2014-03-10 15:22:56 -07:00
Ashley Penney
36dda7b180
Make sure location_for is used when installing Puppet.
2014-03-10 15:19:03 -07:00
Ashley Penney
e382c0db5c
Merge pull request #232 from apenney/add-back-location
...
Readd location_for
2014-03-10 14:58:25 -07:00
Ashley Penney
0fabaa5f07
Readd location_for
...
location_for is used in Jenkins to transform a passed in git
repo into something usable by bundler.
2014-03-10 14:56:12 -07:00
Ashley Penney
0bf470a71b
Remove pry, whoops.
2014-03-10 13:07:43 -07:00
Ashley Penney
dbb29980a1
Numerous changes to update testing gems.
...
This work updates a number of Gems to the latest versions (rspec,
rspec-puppet), and updates and tweaks a bunch of tests to work
with the updated gems.
2014-03-10 10:58:49 -07:00