Re: [Puppet Users] Puppet Module spec testing

2015-08-28 Thread Ilja Bobkevic
Hi, You're welcome to checkout our modules as well at https://github.com/unibet/. For instance https://github.com/unibet/puppet-vagrant. Some details about our testing mechanics: 1. rake used to manage the project. See https://github.com/unibet/puppet-vagrant/blob/master/Rakefile 2.

[Puppet Users] Re: How can I install ruby193 gems on CentOS 6 with softwarecollections (SCL)?

2015-07-22 Thread Ilja Bobkevic
I guess you're left with doing exec. Something like this should work: exec { 'ruby193_scl_install_blah': command = scl enable ruby193 'gem install --bindir /usr/bin --no-rdoc --no-ri blah', path= ['/bin','/usr/bin'], unless = scl enable ruby193 'gem list'| grep -qs