Re: [Puppet Users] Spec test failure

2013-01-14 Thread Justin Lambert
Jeff, You haven't by chance had a chance to look at this have you? I'd be curious if I'm just doing something wrong. Thanks, jl On Dec 16, 2012, at 7:24 PM, Justin Lambert jlamb...@infiniteviewtech.com wrote: Jeff, I finally got a few simple modules together to recreate this issue. A

Re: [Puppet Users] Spec test failure

2012-12-16 Thread Justin Lambert
Jeff, I finally got a few simple modules together to recreate this issue. A 'rake spec' will fail for the 'test' module. https://github.com/jlambert121/puppet-rspec-test Let me know if I did something incorrect. It seems to be the spec for a function will fail if the function depends on

Re: [Puppet Users] Spec test failure

2012-11-02 Thread Justin Lambert
Jeff, Thanks for your response. It is possible, but I'm not sure. Would uploading some sample modules that show the breakage help? Thanks, jl On Oct 31, 2012, at 3:37 PM, Jeff McCune j...@puppetlabs.com wrote: I'm not entirely certain, but do you think this could be a variant of this

Re: [Puppet Users] Spec test failure

2012-11-02 Thread Jeff McCune
On Friday, November 2, 2012, Justin Lambert wrote: Jeff, Thanks for your response. It is possible, but I'm not sure. Would uploading some sample modules that show the breakage help? Yes, if you publish modules that trigger the issue I'll definitely make an effort to reproduce the problem

Re: [Puppet Users] Spec test failure

2012-10-31 Thread Justin Lambert
One other issue I have I can't figure out (that is potentially related), I have a module backups which passes all tests and uses the concat module. Anything else that uses a backups define fails with the error: Failure/Error: it { should create_exec('initialize repo') } Puppet::Error:

Re: [Puppet Users] Spec test failure

2012-10-31 Thread Jeff McCune
I'm not entirely certain, but do you think this could be a variant of this bug: http://projects.puppetlabs.com/issues/show/15529 If so, could you please upvote the bug, watch it, and update it with information about how it's impacting you? Thanks, -Jeff On Wed, Oct 31, 2012 at 9:52 AM, Justin

[Puppet Users] Spec test failure

2012-10-30 Thread Justin Lambert
I am adding spec tests to my modules and have run into an issue I can't seem to figure out. I have a simple class: (ruby/manifests/init.pp) class ruby { include common $blah = dirname('/tmp/test/file.txt') file { $blah: ensure = director } } And a spec file: