Displaying 4 results from an estimated 4 matches for "module_spec_help".
Did you mean:
module_spec_helper
2013 Jun 27
5
Is it possible to pass extra flags to Puppet via rspec?`
Hello,
I''m writing my first puppet function rspec test and am having a problem
which I don''t see how to solve.
The function (and the test) involve access to files through the File
Server. In order for the function (and the test) to work I need to pass
"--fileserverconf=fileserver.conf" parameter to Puppet.
So far I haven''t found a way to do that.
If I
2012 Jun 03
3
rspec spec_helper
...d every time I find a possible improvement
that could be made in spec_helper or rakefile I have to change it in
every module that is using rspec tests. So maybe these things could be
centralized, I thought to myself.
I found the following module, actually.
https://github.com/puppetlabs/puppetlabs-module_spec_helper
But I am at a lost how to use it.
Is it supposed to provide a centralized spec_helper?
How to use it?
--
Kind Regards, Markus Falb
2012 Jun 08
1
Announce: puppetlabs_spec_helper 0.1.0 Available
...9;'puppetlabs_spec_helper/rake_tasks''
If you have any special rake tasks, you can add them after the requires and
they will work as expected.
* Change spec/spec_helper.rb to the following contents:
require ''rubygems''
require ''puppetlabs_spec_helper/module_spec_helper''
* Create a .fixtures.yml file:
fixtures:
repositories:
"stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib"
symlinks:
"MY_MODULE": "#{source_dir}"
Other dependency modules can be added to the "repositor...
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have
a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt
package and have install rspec-puppet (and other required gems), and rake,
using gem install.
I''ve run rspec-puppet-init in the module I want to test, and have created a
very basic spec file for one of the classes in my module.