On Fri, Aug 25, 2017 at 11:40 AM Pete Brown <[email protected]> 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 <https://github.com/puppetlabs/pdk-module-template/blob/5db7961352cda998578e3abf811b35604abb1505/moduleroot/Gemfile.erb#L98-L101> for details). Obviously this is not a nice workflow, so we're investigating the best way to expose these settings on the CLI. Follow along in PDK-414 <https://tickets.puppetlabs.com/browse/PDK-414> if you're interested. > Could it also be used in the manner to test code under a CI/CD setup like > Jenkins or Travis? > Travis is already pre-configured in the pdk-module-template <https://github.com/puppetlabs/pdk-module-template> (a copy of it is shipped with the PDK packages, and used by default), but see PDK-447 <https://tickets.puppetlabs.com/browse/PDK-447> and PDK-448 <https://tickets.puppetlabs.com/browse/PDK-448> for some caveats. Cheers, David On Mon, 21 Aug 2017 at 09:57, David Schmitt <[email protected]> > wrote: > >> Hi Charlie, >> >> thanks for trying out the PDK! >> >> On Mon, Aug 21, 2017 at 2:22 PM Charlie Derwent < >> [email protected]> 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 recommend putting all puppet code deployed to your puppet >> installation into modules. This makes the code more mobile, and allows your >> roles and profiles to integrate fully into your code workflows, without any >> special casing. >> >> With the PDK, you can start with `pdk new module` to create the necessary >> base structures, and then copy over your manifests to try it out. >> >> I'd love to hear how it worked out for you! >> >> >> Cheers, David >> >> >>> >>> 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 Development Kit >>>> <https://puppet.com/blog/develop-modules-faster-new-puppet-development-kit> >>>> v1.0! The open-source PDK facilitates an easy, unified development >>>> workflow for Puppet modules, and should appeal both to newcomers and >>>> experienced developers. >>>> >>>> >>>> Get the package for your platforms at the PDK download >>>> <https://puppet.com/download-puppet-development-kit> page, check out the >>>> docs <https://docs.puppet.com/pdk/latest/index.html> and the code >>>> lives at puppetlabs/pdk <https://github.com/puppetlabs/pdk>. >>>> >>>> >>>> The Puppet Development Kit makes it easier than ever to develop and >>>> test Puppet modules by providing a simple, unified interface to a set of >>>> helpful tools for anyone who writes or consumes Puppet code. Leveraging the >>>> Puppet Development Kit, it’s now possible to: >>>> >>>> - >>>> >>>> Quickly get started developing modules using best practices and new >>>> tools that enable you to create, test and publish high-quality Puppet >>>> modules with confidence >>>> - >>>> >>>> Shift quality to the left by catching issues earlier and faster >>>> before Puppet code is applied to live infrastructure >>>> - >>>> >>>> Unit test modules from your Windows or Linux workstation to ensure >>>> that Puppet code is creating and managing configuration resources as >>>> intended >>>> - >>>> >>>> Develop and share even more high-quality content for managing >>>> Windows environments >>>> >>>> >>>> Join us for a webinar >>>> <http://info.puppet.com/Puppet-Development-Kit-Webinar-Registration.html> >>>> on Tuesday 22 Aug 2017 to see how you can leverage the new Puppet >>>> Development Kit to save time and take advantage of the more than 5,000 >>>> modules of pre-written configuration code for managing an entire >>>> infrastructure - everything from NTP and DNS to Apache, IIS, WebSphere, >>>> Microsoft Azure, Splunk and Docker already available on the Puppet Forge. >>>> >>>> Lindsey Smith >>>> Puppet >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Puppet Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/puppet-users/e974ef70-7572-45ed-9bc6-0bb01bc5e302%40googlegroups.com >>> <https://groups.google.com/d/msgid/puppet-users/e974ef70-7572-45ed-9bc6-0bb01bc5e302%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/CALF7fHbtbp28OTyZKszgs_mL3BCSK%3DTNj5_iV2qQePCKB-NEgw%40mail.gmail.com >> <https://groups.google.com/d/msgid/puppet-users/CALF7fHbtbp28OTyZKszgs_mL3BCSK%3DTNj5_iV2qQePCKB-NEgw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . > > >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAJ8DPF7Q-RMCXBxDPocjbP3S9O0aAMCfDPUdLf5APM5wM2rs%3Dg%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAJ8DPF7Q-RMCXBxDPocjbP3S9O0aAMCfDPUdLf5APM5wM2rs%3Dg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALF7fHbnoD6eu3S3fXMVME6ZLiP73isCyxmwSQwWH4%3D7u2rXHQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
