[Puppet Users] Puppet agent 5.1.0 released

2017-08-17 Thread Jorie Tappa
Today, we released Puppet agent 5.1.0! Components updated in this release include Puppet, Facter, and MCollective. We've also added a new platform, packages are now available for Puppet agent 5.1.0 for Debian 9. Read the Puppet agent release notes for full details:

Re: [Puppet Users] PDK 1.0.0.1 on Windows

2017-08-17 Thread David Schmitt
Oh, that was easier than expected: rspec-puppet does not provide a default set of facts to your tests. Without any facts, puppet assumes your "host" OS as test environment. Since your test is targeting a Linux machine, when running the tests on Windows, this assumption is wrong. To fix, use

Re: [Puppet Users] PDK 1.0.0.1 on Windows

2017-08-17 Thread Peter Faller
Hi David Reduced example manifest and test attached ... On Linux: [root@tstpuppet01 rimcdm]# rspec spec/defines/test_reduced_spec.rb . Finished in 0.79952 seconds (files took 2.66 seconds to load) 1 example, 0 failures On Windows: PS rimcdm> pdk bundle exec -- rspec

Re: [Puppet Users] revoke / delete node certificate from puppet ca remotely?

2017-08-17 Thread Martin Alfke
> On 17 Aug 2017, at 14:23, Jason McMahan wrote: > > Good morning, > We installed a puppet agent on our citrix mgmt servers. > The problem became that the way it is done a golden image is used, > server_dev. Once sealed that spins off multiple other servers for

Re: [Puppet Users] PDK 1.0.0.1 on Windows

2017-08-17 Thread David Schmitt
On 17 August 2017 at 12:11, Peter Faller wrote: > Hi David > > Thanks for pointing out 'pdk bundle' - it does provide what I was looking > for. It is however a bit noisy (but that's not a big deal): > > PS> pdk bundle exec -- rspec .\spec\classes\apg_base_spec.rb > . > >

[Puppet Users] revoke / delete node certificate from puppet ca remotely?

2017-08-17 Thread Jason McMahan
Good morning, We installed a puppet agent on our citrix mgmt servers. The problem became that the way it is done a golden image is used, server_dev. Once sealed that spins off multiple other servers for stage and prod environments. We want to know about the servers, ensure they are in

Re: [Puppet Users] PDK 1.0.0.1 on Windows

2017-08-17 Thread Peter Faller
Hi David Thanks for pointing out 'pdk bundle' - it does provide what I was looking for. It is however a bit noisy (but that's not a big deal): PS> pdk bundle exec -- rspec .\spec\classes\apg_base_spec.rb . Finished in 7.81 seconds (files took 1.85 seconds to load) 1 example, 0 failures

Re: [Puppet Users] PDK 1.0.0.1 on Windows

2017-08-17 Thread David Schmitt
On 17 August 2017 at 07:12, Peter Faller wrote: > While trying to use the PDK on Windows (instead of using a Linux VM for > development), I've come across a few hitches: > > 1) 'rake' is not available as a command (it is accessible via >

[Puppet Users] PDK 1.0.0.1 on Windows

2017-08-17 Thread Peter Faller
While trying to use the PDK on Windows (instead of using a Linux VM for development), I've come across a few hitches: 1) 'rake' is not available as a command (it is accessible via $env:DEVKIT_BASEDIR/private/private\ruby\2.1.9\bin\rake though) 2) 'rspec' is not available as a command 3) errors