You are going to probably need something along the lines of
context = '/files/etc/hosts.allow'
changes = [
'ins 01 after *[last()]',
'set 01/process[1] ssh',
'set 01/process[2] ssh2',
'set 01/client ipaddr'
]
onlyif = 'match *[process[1] == 'ssh' and 'client' == 'ipaddr'] size == 0'
you
/classes/test__c_spec.rb
This doesn't
rspec spec/classes/test__c_spec.rb spec/classes/test_spec.rb
Running them both separately works too.
On Monday, October 29, 2012 2:48:25 PM UTC-5, Nathan Huff wrote:
Looks like the subnamespace thing isn't important either. Just having two
classes triggers
wrote:
Hrmmm.
Is there a small rspec example you could post that reproduces this
issue? I'd love to try and reproduce it since there's definitely a
possibility that a change between Puppet 2.7 and 3.0 is responsible
for this issue.
-Jeff
On Fri, Oct 26, 2012 at 8:01 AM, Nathan Huff
files in place the
system complains about anchor not being defined.
If you remove the test file for test::c the test for class test will pass.
On Monday, October 29, 2012 10:36:50 AM UTC-5, Nathan Huff wrote:
A super simple module that just has a file and anchor resources works fine
so it isn't
Looks like the subnamespace thing isn't important either. Just having two
classes triggers this as well.
On Monday, October 29, 2012 1:13:05 PM UTC-5, Nathan Huff wrote:
OK so I have what I think is a minimal test case here:
https://github.com/nhuff/spec-failure
The readme has a list