Displaying 14 results from an estimated 14 matches for "puppetlabs_spec_help".
Did you mean:
puppetlabs_spec_helper
2012 Jun 08
1
Announce: puppetlabs_spec_helper 0.1.0 Available
puppetlabs_spec_helper is a Rubygem to make writing and running module spec
tests using rspec-puppet easier. It includes a set of common rake tasks and
a spec_helper that correctly initializes puppet and rspec-puppet for
testing.
The code is available on github at
http://github.com/puppetlabs/puppetlabs_spec_helper. P...
2012 Jun 03
3
rspec spec_helper
Hi,
I was playing with rspec and 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
2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
I am using puppet 2.7.14 on Ubuntu 10.04 LTS. I have the following gems:
*** LOCAL GEMS ***
diff-lcs (1.1.3)
hiera (0.3.0)
hiera-puppet (0.3.0)
metaclass (0.0.1)
mocha (0.12.1)
puppet-lint (0.1.13)
puppetlabs_spec_helper (0.2.0)
rake (0.9.2.2)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
rspec-mocks (2.11.1)
rspec-puppet (0.1.3)
When I run "rake help" I get the following:
$ sudo rake help --trace
(in /etc/puppet/environments/test/modules/ruby)
rake aborted!
uninitialized constant Rak...
2012 Dec 26
0
Announce: puppetlabs_spec_helper 0.4.0 available
puppetlabs_spec_helper is a Rubygem to make writing and running module
spec tests using rspec-puppet easier. It includes a set of common rake
tasks and a spec_helper that correctly initializes puppet and
rspec-puppet for testing.
Changes:
* Rake should fail if git can''t clone repository
* add backwards-comp...
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
2013 Oct 28
1
Using puppetlabs_spec_helper on Windows 7
I''m trying to make puppetlabs_spec_helper runs on Windows 7 to test my
Puppet modules.
Is this supported ? Because I encountered some problems:
1. symlinks were not created on Windows 7 (even if the functionnality
are availabe). To manage that I added to rake_tasks.rb an ugly function:
def make_link(source,target)...
2014 Aug 12
0
How to make puppetlabs_spec_helper ignore modules inside fixtures
Hello all,
I have created this module:
https://github.com/Spantree/puppet-thrift and everything worked fine all
specs ran fine.
Now I using the puppetlabs/apt module and when I run the 'rake spec' it is
trying to run the 'apt' tests, and it is failing (I think) because I am not
providing the appropriate facts.
Is there a way to ignore the rspecs inside the
2012 Dec 17
3
Rspec with rspec-hiera-puppet
...n''t have any reasonable defaults. It looks like there is a project on GH (https://github.com/amfranz/rspec-hiera-puppet) that is designed to fill this need, but for the life of me I cannot make it work. FriedBob helped out on the IRC channel some with his solution of including a patch to puppetlabs_spec_helper that was pulled pending further discussion (https://github.com/puppetlabs/puppetlabs_spec_helper/pull/16).
I''ve attempted to make a working example using both the basic and advanced methods of rspec-hiera-puppet (I can live with either one) but cannot get them to work. Does anyone have...
2013 Aug 30
3
rspec-puppet not working
...rspec, but if I do ''gem list --local'' it shows
in the list of locally installed gems:
*vagrant@ubuntu-server-10044-x64-vbox4210-nocm:/modules/couchbase$ gem list
--local*
*
*
**** LOCAL GEMS ****
*
*
*diff-lcs (1.2.4)*
*metaclass (0.0.1)*
*mocha (0.14.0)*
*puppet-lint (0.3.2)*
*puppetlabs_spec_helper (0.4.1)*
*rake (10.1.0)*
*rspec (2.14.1)*
*rspec-core (2.14.5)*
*rspec-expectations (2.14.2)*
*rspec-mocks (2.14.3)*
*rspec-puppet (0.1.6)*
*
*
Does anyone know why it''s not working? I''ve searched for an answer online,
but I''m not overly familiar with ruby, gems, rake,...
2013 Mar 02
0
Problems getting rspec testing working in OSX?
...spected that installing the gem might help, but no; no change:
http://pastie.org/private/b34pv87osbefarl77j5m5g
kiera:apache loiosh$ gem list
*** LOCAL GEMS ***
diff-lcs (1.2.1)
facter (1.6.17)
metaclass (0.0.1)
mocha (0.13.2)
puppet (2.7.20)
puppet-lint (0.3.2, 0.1.13)
puppet-module (0.3.4)
puppetlabs_spec_helper (0.4.1)
rake (10.0.3)
rspec (2.13.0)
rspec-core (2.13.0)
rspec-expectations (2.13.0)
rspec-mocks (2.13.0)
rspec-puppet (0.1.6)
kiera:apache loiosh$ pwd
/etc/puppet/modules/apache
kiera:apache loiosh$ rake spec
HEAD is now at 9a06f11 Merge branch ''4.x''
/System/Library/Framewor...
2012 Jul 31
1
puppet doc questions
....0.0.rc1)
audited-activerecord (3.0.0.rc1)
builder (2.1.2)
diff-lcs (1.1.3)
erubis (2.6.6)
has_many_polymorphs (3.0.0.beta1)
hiera (0.3.0)
i18n (0.5.0)
jquery-rails (1.0.19)
json (1.7.3)
mail (2.2.19)
metaclass (0.0.1)
mime-types (1.19)
mocha (0.12.1)
mysql (2.8.1)
net-ldap (0.3.1)
polyglot (0.3.3)
puppetlabs_spec_helper (0.2.0)
rack (1.2.5, 1.1.0)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.15)
railties (3.0.15)
rake (0.9.2.2)
rdoc (3.12)
rdoc-data (3.12)
rest-client (1.6.7)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
rspec-mocks (2.11.1)
rspec-puppet (0.1.3)
ruby2ruby (1.3.1)
ruby_parser...
2012 Aug 16
0
Announcing stdlib 3.0.0
...source and defined_with_params (ba789de)
2012-07-10 - Hailee Kenney <hailee@puppetlabs.com> - 3.0.0
* (#2157) Remove facter_dot_d for compatibility with external facts
(f92574f)
2012-04-10 - Chris Price <chris@puppetlabs.com> - 3.0.0
* (#13693) moving logic from local spec_helper to puppetlabs_spec_helper
(85f96df)
Cheers,
-Jeff McCune
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.co...
2012 Sep 21
0
rspec testing - what am I missing?
Hi all,
There is something amiss with what I am doing. I believe the following
should work.
puppetlabs_spec_helper (0.3.0)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
rspec-mocks (2.11.1)
rspec-puppet (0.1.4)
.
├── manifests
│ └── init.pp
├── Rakefile
└── spec
├── classes
│ └── testthis_spec.rb
├── defines
├── fixtures
│ ├── manifests
│ │ └── site.pp
│...
2012 Sep 19
2
Puppet testing
I''m in the process of trying to get automated testing for my modules, using
puppet-lint, rspec-puppet, puppetlabs_spec_helper and Jenkins.
Are there any automated, or semi-automated ways to ensure coverage on my
tests? At the moment I am writing tests for existing modules, but I also
need to be able to be relatively certain that tests are updated as modules
are, and minimize reliance on people remembering to do the...