[Puppet Users] Re: rspec, trusted facts, and node facts

2018-04-06 Thread jcbollinger
On Thursday, April 5, 2018 at 5:07:35 PM UTC-5, jcbollinger wrote: Of course, I realize at this point that I am too dumb to spell "::trusted" correctly. But that's ancillary -- I still want to test scenarios where the node's fqdn and hostname are independent of its certname, and rspec-puppet s

Re: [Puppet Users] Re: rspec, trusted facts, and node facts

2018-04-06 Thread Nick Miller
There was some discussion on a GitHub issue relating to this: https://github.com/rodjek/rspec-puppet/pull/643 On Fri, Apr 6, 2018 at 10:12 AM jcbollinger wrote: > On Thursday, April 5, 2018 at 5:07:35 PM UTC-5, jcbollinger wrote: > > Of course, I realize at this point that I am too dumb to spell

Re: [Puppet Users] Re: rspec, trusted facts, and node facts

2018-04-06 Thread jcbollinger
On Friday, April 6, 2018 at 9:19:04 AM UTC-5, Nick Miller wrote: > > There was some discussion on a GitHub issue relating to this: > https://github.com/rodjek/rspec-puppet/pull/643 > > Thanks, NIck. It looks like I've finally got this sorted. I went back to twiddling the trusted_node_data and

Re: [Puppet Users] Re: rspec, trusted facts, and node facts

2021-03-25 Thread nand...@gmail.com
Hi all , I have started my rspec code to test modules for unit testing .as there is no good document to start with , Can you share some of your rspec code testing the modules using rspec and steps to run spec against servers , Regards, Nandha On Friday, 6 April 2018 at 20:00:49 UTC+5:30 jcboll

Re: [Puppet Users] Re: rspec, trusted facts, and node facts

2021-03-26 Thread David Schmitt
Did you see https://rspec-puppet.com/ ? On Thu, 25 Mar 2021 at 18:00, nand...@gmail.com wrote: > Hi all , > I have started my rspec code to test modules for unit testing .as there is > no good document to start with , Can you share some of your rspec code > testing the modules using rspec and s

Re: [Puppet Users] Re: rspec, trusted facts, and node facts

2021-03-26 Thread nandha kumar
Hi David , Yes I did see the site , but it doesn't help me much with proper procedure. I am looking out to run test against list of nodegroups and how can I achieve that ? Regards, Nandha On Fri, 26 Mar, 2021, 3:30 pm David Schmitt, wrote: > Did you see https://rspec-puppet.com/ ? > > On Thu,

Re: [Puppet Users] Re: rspec, trusted facts, and node facts

2021-04-05 Thread nand...@gmail.com
Hi all, I have somehow managed to write basic rspec test . But i need to run the rspec test on multiple servers . Please some one provide guidance on running rspec against different node groups or envs ? Regards, Nandha On Friday, 26 March 2021 at 19:00:58 UTC+5:30 nand...@gmail.com wrote: >