Re: [Puppet Users] Rspec-puppet: left match operand must result in a string

2018-02-19 Thread David Schmitt
Hi Anthony, the file with the error should be your own `manifests/init.pp`, the path is just weird because of the additional setup required for the tests. Cheers, David On Sat, Feb 3, 2018 at 2:33 AM Anthony Scudese wrote: > Hey, > > Unfortunately it seems to be a file that is autogenerated w

Re: [Puppet Users] Rspec-puppet: left match operand must result in a string

2018-02-02 Thread Anthony Scudese
Hey, Unfortunately it seems to be a file that is autogenerated when I run pdk test unit . Is there a way I can stop the clean up process that happens? I'm new to rspec and pdk in general. Thanks, Anthony On Thursday, February 1, 2018 at 7:09:56 PM UTC-5, Rob Nelson wrote: > > Can you share th

Re: [Puppet Users] Rspec-puppet: left match operand must result in a string

2018-02-01 Thread Rob Nelson
Can you share the contents of that file, or at least line 30 and a few before and after it? On Thu, Feb 1, 2018 at 6:36 PM Anthony Scudese wrote: > Hi all, > > I've grown incredibly frustrated. So I'm trying to write some unit tests > for my puppet modules. I've got PDK installed and running. My