Ask Your Question
0

rpsec-puppet alternative for puppet unit testing?

asked 2017-05-15 01:13:39 -0600

tarzain gravatar image

Hello guys,

I want to unit test my puppet code. I have checked rspec-puppet. It seems fine but it requires local admin rights to run on Windows as it create symlink between spec/fixtures/ to module root directory. So, we cannot use this in our organization. Is there any other way to that? Any other alternative tool to perform unit tests? Looking for a help please.

Kind regards.!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-10-02 04:58:15 -0600

David Schmitt gravatar image

This was fixed in the rspec-puppet 2.6 series. It's now using directory junctions, not symlinks, and doesn't require any Admin rights anymore.

If you can at least install stuff as admin, I would recommend you using the new PDK which provides an all-in-one installer of ruby, and test tools, as well as a pre-configured module template to bind everything together.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-05-15 01:13:39 -0600

Seen: 167 times

Last updated: Oct 02