Re: [Puppet-dev] Need some rspec and ruby assistance please.

2015-01-05 Thread Michael Smith
Trying to run actual commands that require a specific OS (and verify the expected behavior) is reserved for acceptance tests, not spec tests. There are no HP-UX acceptance tests, but you can look at other acceptance tests and https://github.com/puppetlabs/puppet/blob/master/docs/index.md for guidan

Re: [Puppet-dev] Need some rspec and ruby assistance please.

2015-01-05 Thread Felix Frank
Hi, I don't fully understand the issue at hand, but it seems to me that specs like the one for the gem provider do something similar. https://github.com/puppetlabs/puppet/blob/master/spec/unit/provider/package/gem_spec.rb#L27 HTH, Felix On 01/05/2015 07:03 PM, James Perry wrote: > I am trying t

[Puppet-dev] Need some rspec and ruby assistance please.

2015-01-05 Thread James Perry
I am trying to add some functionality to the HP-UX user provider module. In the past I was able to submit changes that allowed it to check for trusted computing and find the password crypt properly. Unfortunately, even through the password was updated, HP-UX was not resetting the password age