Re: [Puppet Users] Re: rspec first steps troubles

2012-05-25 Thread Tim Sharpe
Hi Markus, For more information on what that script does, check out http://rspec-puppet.com/setup/ (also contains a step by step guide for how to setup rspec-puppet in your modules manually). Cheers, Tim On Saturday, 26 May 2012 at 5:39 AM, Matthaus Litteken wrote: > This is related to https:

Re: [Puppet Users] Re: rspec first steps troubles

2012-05-25 Thread Matthaus Litteken
This is related to https://github.com/rodjek/rspec-puppet/issues/15 and http://projects.puppetlabs.com/issues/11191. It looks like there is a setup script in rspec-puppet called rspec-puppet-init to handle this problem. Alternatively, the workaround that bodepd mentions in the github issue is to ju

Re: [Puppet Users] Re: rspec first steps troubles

2012-05-25 Thread Markus Falb
On 25.5.2012 14:51, Atha Kouroussis wrote: > Hi Markus, > you are missing an opening statement. Try: > > require 'spec_helper' > describe 'class::name', :type => :class do > describe 'irqbalance' do > it { should include_class('irqbalance') } > it { should include_class('irqbalance::data') } > it

[Puppet Users] Re: rspec first steps troubles

2012-05-25 Thread Atha Kouroussis
Hi Markus, you are missing an opening statement. Try: require 'spec_helper' describe 'class::name', :type => :class do describe 'irqbalance' do it { should include_class('irqbalance') } it { should include_class('irqbalance::data') } it { should contain_package('irqbalance').with(:ensure => 'inst