Planet Puppet

Your source of Puppet technical information

Tip of the Week 81 - Facter fork bombs and timeouts - what are they, how to prevent them

Anonymous, 1 day, 16 hours | Source: Example 42

On April 11th 2018 we wrote about external facts. Within the mentioned posting we explained the possibilities you have and that you can use executables (like shell scripts) which will allow you to add individual facts. What we have not talked about is the facter fork bomb and long facter execution times which you can run into easily. Facter fork bomb Facter fork bomb example Facter fork bomb explanation Facter fork bomb prevention Facter execution times Facter timeout example Facter timeout prevention Facter fork bomb What is the facter fork bomb? A fork bomb means that the same process executes ...

[ Read More ]

Puppetize Live 2018 registration and call for proposals are open

Kara Sowles, 1 week, 1 day | Source: Puppet Labs

PuppetConf is now Puppetize Live, a 24-hour event coming to three cities around the world this October. Registration and the CFP are now open!

[ Read More ]

Tip of the Week 80 - Update on example42 Puppet modules

Anonymous, 1 week, 1 day | Source: Example 42

TL;DR: We “un-deprecated” two more modules - by customer request. example42 Puppet modules in early 2018 example42 Puppet modules in mid 2018 example42 Puppet modules in future example42 Puppet modules in early 2018 In April 2018 we talked about the status of example42 modules. Within the mentioned posting we also gave a short historical summary (from 2008 to 2017) regarding example42 Puppet modules, underlying how most of the “NextGen” modules, written in 2010, were deprecated (even if most of them, written at Puppet 2.6 times, can still work under Puppet 5) and how most of their functionalities could be ...

[ Read More ]

Tip of the Week 79 - How to adopt the Puppet Developer Kit (PDK) to your code

Anonymous, 2 weeks, 1 day | Source: Example 42

PDK alows you to easily get unit tests for your puppet modules. The Developer Kit is available for Linux, OS X and macOS and Windows. What is inside? Starting a new module Generate the Module Generate module content Using PDK on existing module Adopting PDK to your code Adding ruby gems Adding your own code to spec_helper Adding more facts Running individual tests What is inside? In the PDK installation package you get some Puppet and Ruby versions installed into /opt/puppetlabs/pdk. In version 1.5.0 you get Ruby 2.1.9 and 2.4.4 (installed into ...

[ Read More ]

A new approach to education at Puppet

Tara Swenson, 2 weeks, 5 days | Source: Puppet Labs

See how a cross-team collaboration model at Puppet is resulting in better educational content than ever before.

[ Read More ]

Introducing Puppet support for Amazon Linux 2

Cody Herriges, 2 weeks, 6 days | Source: Puppet Labs

We’re pleased to announce support for Puppet Enterprise and open source Puppet on Amazon Linux 2. Learn more and check out some use cases for leveraging Puppet on AWS.

[ Read More ]

Disabling rubocop and upgrading to PDK 1.6.0

rnelson0, 2 weeks, 6 days | Source: RNELSON0

As I lamented in my article on converting to the PDK, I really do not like Rubocop and was disappointed I could not turn it off. Thankfully, that was addressed in PDK-998 and the fix was included in time for PDK 1.6.0! Disabling it is pretty simple and though it’s strictly a fix to pdk-templates, […]

[ Read More ]

Tip of the Week 78 - What you need to know about Puppet facts. Part 5 - facter.conf

Anonymous, 3 weeks, 1 day | Source: Example 42

We end our series of blog posts about what is essential to know about Facter with some notes about the often forgotten Facter’s configuration file /etc/puppetlabs/facter/facter.conf (on Windows systems: C:\ProgramData\PuppetLabs\facter\etc\facter.conf). If you missed the previous posts, you can read them here: Part 1 - Facter and core facts Part 2 - Custom facts Part 3 - External facts Part 4 - Trusted facts The forgotten (and useful) configuration file Do not worry if you didn’t even know that Facter has a configuration file which permits the configuration of rather interesting and useful ...

[ Read More ]

Running the Puppet agent under LocalSystem vs. a service account

Claire Cadman, 3 weeks, 5 days | Source: Puppet Labs

By default, we run the Puppet agent under LocalSystem. However, your use case may be better suited to running under a Service Account. Read more to find out why.

[ Read More ]

Creating your first Puppet Task for Puppet Enterprise

rnelson0, 1 month | Source: RNELSON0

At PuppetConf 2017, Puppet Tasks were introduced as part of the new project Bolt. A task allows you to run a program on an arbitrary number of nodes. The program can be just about anything, it just needs to be written in a language that the target nodes can run. For Linux, that means pretty […]

[ Read More ]

Convert a Puppet module from Bundle-based testing to the Puppet Development Kit (PDK)

rnelson0, 1 month, 1 week | Source: RNELSON0

A few years ago, I set up my modules with a bundle-based test setup and modulesync and wrote a companion blog post. Since that was written, a lot of things have changed with puppet. One of those is the release last year of the Puppet Development Kit (PDK). The goal of the PDK is to […]

[ Read More ]

Choria Progress Update

R.I. Pienaar, 2 months, 3 weeks | Source: R.I.Pienaar -

It’s been a while since my previous update and quite a bit have happened since.

Choria Server

As previously mentioned the Choria Server will aim to replace mcollectived eventually. Thus far I was focussed on it’s registration subsystem, Golang based MCollective RPC compatible agents and being able to embed it into other software for IoT and management backplanes.

Over the last few weeks I learned that MCollective will no longer be shipped in Puppet Agent version 6 which is currently due around Fall 2018. This means we have to accelerate making Choria standalone in it’s own right ...

[ Read More ]

Adding rich object data types to Puppet

R.I. Pienaar, 3 months, 2 weeks | Source: R.I.Pienaar -

Extending Puppet using types, providers, facts and functions are well known and widely done. Something new is how to add entire new data types to the Puppet DSL to create entirely new language behaviours.

I’ve done a bunch of this recently with the Choria Playbooks and some other fun experiments, today I’ll walk through building a small network wide spec system using the Puppet DSL.


A quick look at what we want to achieve here, I want to be able to do Choria RPC requests and assert their outcomes, I want to write tests using the Puppet ...

[ Read More ]

10 years of Puppet… and counting

Raphaël Pinson, 4 months, 3 weeks | Source: Camptocamp Blog

In 2015, Puppet celebrated its 10th anniversary. At Camptocamp, Puppet has totally revolutionized our way of doing systems administration!

Cet article 10 years of Puppet… and counting est apparu en premier sur Camptocamp.

[ Read More ]

Free Puppet Webinar on March 13, 2018

camptocamp, 4 months, 3 weeks | Source: Camptocamp Blog

Join our Puppet webinar and delve into fully tested dockerized Puppet Infrastructure.

Cet article Free Puppet Webinar on March 13, 2018 est apparu en premier sur Camptocamp.

[ Read More ]

Self-documenting Puppet modules with puppet-strings

rnelson0, 7 months, 1 week | Source: RNELSON0

Documentation is hard. Anyone who has been in IT long enough will have tales of chasing their tails because of incorrect or outdated docs, or even missing docs. Documentation really benefits from automation and ease of creation. For Puppet modules, there exists a tool called puppet-strings that can help with this. There are probably other […]

[ Read More ]

Automatic renewal of Puppet Certificates

Raphaël Pinson, 7 months, 3 weeks | Source: Camptocamp Blog

Everyone who has been using Puppet with a self-signed CA for more than 5 years knows that dreaded time: the time when the CA must be renewed.

Cet article Automatic renewal of Puppet Certificates est apparu en premier sur Camptocamp.

[ Read More ]

Open Source Summit, Paris

camptocamp, 7 months, 4 weeks | Source: Camptocamp Blog

A major event of the Free and Open Source industry in Europe, the Paris Open Source Summit is the international echo chamber for the multiple contributions of Free and Open Source to current and future digital revolutions.

Cet article Open Source Summit, Paris est apparu en premier sur Camptocamp.

[ Read More ]

Managing multiple puppet modules with modulesync

Dean Wilson (, 8 months | Source: Dean Wilson@UnixDaemon

With the exception of children, puppies and medical compliance frameworks managing one of something is normally much easier than managing a lot of them. If you have a lot of puppet modules, and you’ll eventually always have a lot of puppet modules, you’ll get bitten by this and find yourself spending as much time managing supporting functionality as the puppet code itself.

Luckily you’re not the first person to have a horde of puppet modules that share a lot of common scaffolding. The fine people at Vox Pupuli had the same issue and maintain an excellent tool ...

[ Read More ]

Copyleft is Dead. Long live Copyleft!

purpleidea, 9 months | Source: The Technical Blog of James

As you may have noticed, we recently re-licensed mgmt from the AGPL (Affero General Public License) to the regular GPL. This is a post explaining the decision and which hopefully includes some insights at the intersection of technology and legal issues.


I am not a lawyer, and these are not necessarily the opinions of my employer. I think I’m knowledgeable in this area, but I’m happy to be corrected in the comments. I’m friends with a number of lawyers, and they like to include disclaimer sections, so I’ll include this so that I blend in ...

[ Read More ]