Joshua Hoblitt
89dc9a9f71
mv spec/defines -> spec/unit/defines
...
To be more consistent with other PL modules
2013-10-23 10:57:03 -07:00
Joshua Hoblitt
86522e1eb2
make class concat::setup a private class
2013-10-23 10:55:05 -07:00
Joshua Hoblitt
cca9401844
remove puppet 0.24 support
...
Introduction of stdlib functions makes support of puppet < 2.7
impractical.
2013-10-23 10:55:05 -07:00
Joshua Hoblitt
6e554e1a26
add stdlib to rspec-system tests
2013-10-23 10:55:05 -07:00
Joshua Hoblitt
d7498a4e25
add tests for class concat::setup
2013-10-23 10:55:05 -07:00
Joshua Hoblitt
7b992f79e3
validate define concat::fragment params
2013-10-23 10:55:01 -07:00
Joshua Hoblitt
eaf8407941
validate define concat params + split warn param
...
In addition, the warn param has been split into a warn (a bool) and
warn_message (a string).
2013-10-23 10:48:34 -07:00
Graham Bleach
fbb8f40594
Fix group ownership on files.
...
And add a test to stop it being broken again.
2013-10-22 12:36:19 +01:00
Joshua Hoblitt
cdb6d6b007
remove undocumented requirement to include concat::setup in manifest
...
Unless the class `concat::setup` has been manually included into the
manifest before using the `concat` / `concat::fragment` defined types,
the puppet master will generate this warning while compiling the catalog.
Tue Oct 15 14:05:06 -0700 2013 Scope(Concat[/etc/exports]) (warning):
Could not look up qualified variable 'concat::setup::root_group'; class
concat::setup has not been evaluated
The need to `include concat::setup` directly into the manifest has never
been part of the documented API.
2013-10-17 15:07:57 -07:00
petems
c89863cf7c
Updated .gitignore for spec generated files
2013-10-02 13:53:00 +01:00
Tom McLaughlin
1830a686e7
Fix spec tests
2013-08-09 10:19:00 -04:00
Ashley Penney
1d403b6763
Add rspec-system tests.
2013-08-08 08:44:31 -07:00
Jan Vansteenkiste
1972a9b86b
Add a second spec test for the name/path combination
2012-08-30 10:10:23 +02:00
Paul Belanger
7d0b5709c9
Lets use puppetlabs_spec_helper
...
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
2012-06-23 17:13:08 -04:00
sathlan
1fbe790b9a
Cleanup.
2012-05-31 14:42:49 +02:00
sathlan
653444bd0a
Adding basic tests.
...
Successfully tested inside rvm:
- ruby 1.8.7-p302;
- puppet (2.7.13)
- facter (1.6.9)
- bundler (1.1.3)
- diff-lcs (1.1.3)
- metaclass (0.0.1)
- mocha (0.11.4)
- puppet-lint (0.1.13)
- rake (0.9.2.2)
- rspec (2.8.0)
- rspec-core (2.8.0)
- rspec-expectations (2.8.0)
- rspec-mocks (2.8.0)
- rspec-puppet (0.1.3)
- rubygems-bundler (1.0.2)
- rvm (1.11.3.3)
2012-05-31 14:31:43 +02:00