Re: [Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-25 Thread David Schmitt
On Fri, Aug 25, 2017 at 11:40 AM Pete Brown wrote: > Does it have support for puppet 5 and can you use it to test code against > multiple versions of puppet? > This kinda works with v1, using the old pattern of setting environment variables (see this snippet

Re: [Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-25 Thread Pete Brown
Does it have support for puppet 5 and can you use it to test code against multiple versions of puppet? Could it also be used in the manner to test code under a CI/CD setup like Jenkins or Travis? On Mon, 21 Aug 2017 at 09:57, David Schmitt wrote: > Hi Charlie, > > thanks for trying out the PDK! >

Re: [Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-21 Thread David Schmitt
Hi Charlie, thanks for trying out the PDK! On Mon, Aug 21, 2017 at 2:22 PM Charlie Derwent wrote: > Can I use the PDK to validate my Roles and Profiles? > The short answer is: Yes, you can. > Keep getting complaints that I'm not in a valid module (missng > metadata.json) > Personally, I'd r

[Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-21 Thread Charlie Derwent
Can I use the PDK to validate my Roles and Profiles? Keep getting complaints that I'm not in a valid module (missng metadata.json) On Tuesday, 15 August 2017 21:51:52 UTC+1, Lindsey Smith wrote: > > After a few preview releases, we're happy to announce the availability of > the Puppet Developme

Re: [Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-18 Thread David Schmitt
A hot fix for this has been released at https://pm.puppetlabs.com/cgi-bin/pdk_download.cgi?dist=win&arch=x64&ver=1.0.1.0 ; and will be available on the download page Really Soon Now. On Wednesday, August 16, 2017 at 1:41:57 PM UTC+1, David Schmitt wrote: > > > > On 16 August 2017 at 13:06, Pete

Re: [Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-16 Thread David Schmitt
On 16 August 2017 at 13:06, Peter Faller wrote: > Seems to be a hitch with the Windows install on Windows 8.1: I installed > pdk-1.0.0.1-x64.msi; opened a new powershell window, and found that while > pdk works, the PATH is wrong: > > > modules> $env:path > C:\Program Files\Puppet Labs\Developmen

[Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-16 Thread Peter Faller
BTW: changing line 3 in C:\Program Files\WindowsPowerShell\Modules\PuppetDevelopmentKit\PuppetDevelopmentKit.psm1 to: $env:PATH = "$($env:DEVKIT_BASEDIR)\bin;"+$env:PATH ... fixes it. On Wednesday, 16 August 2017 14:06:23 UTC+2, Peter Faller wrote: > > ... > >> -- You received this

[Puppet Users] Re: [ANN] Puppet Development Kit (pdk) 1.0

2017-08-16 Thread Peter Faller
Seems to be a hitch with the Windows install on Windows 8.1: I installed pdk-1.0.0.1-x64.msi; opened a new powershell window, and found that while pdk works, the PATH is wrong: modules> $env:path C:\Program Files\Puppet Labs\DevelopmentKit\\bin;%PATH% Any tips on how to correct this? On Tuesd