Planet Puppet

Your source of Puppet technical information

Watch These DevOps Talks To Change How You Think About Your Work

molly, 1 day, 20 hours | Source: Puppet Labs

This year’s DevOps talks at PuppetConf were some of the most highly attended, and it’s easy to see why: Speakers covered everything from the positive business impacts of automated continuous integration and testing to shifting how we think about teamwork, hiring and measurement.

Sign up here to access all of the DevOps talks, plus more than 80 additional talks from PuppetConf 2014. Meanwhile, enjoy a sneak peek of three DevOps talks below.

[ Read More ]

Encrypt Your Data Using Hiera-Eyaml

Terri Haber, 3 days, 21 hours | Source: Puppet Labs

How to use hiera-eyaml to store sensitive data (such as passwords) securely: tips & advice from a Puppet Labs professional services engineer.

[ Read More ]

#WomenInTech: Padmasree Warrior, Chief Technology & Strategy Officer, Cisco

Alanna Brown, 4 days, 20 hours | Source: Puppet Labs

Cisco Chief Technology & Strategy Officer Padmasree Warrior is charged with aligning technology development and corporate strategy to enable Cisco to anticipate, shape, and lead major market transitions. She helps direct technology and operational innovation across the company and oversees strategic partnerships, mergers and acquisitions, the integration of new business models, the incubation of new technologies, and the cultivation of world-class technical talent.

[ Read More ]

Ansible and Salt

Anonymous, 6 days | Source: david.log

Motivated by Florian Haas I've looked into Ansible and Salt Stack. After spending most of the day reading the docs, I've achieved a certain grasp of the functionality of both systems. Here's my summary.


Ansible and Salt use some common concepts and share a surprising number of technical details that I've put them up here, to be able to concentrate on the unique features below.

  • Implementation language: implemented in python.
  • Syntax and templating: YAML files and the Jinja templating language are used as basic building blocks for their instructions. The underlying data model is totally ...

[ Read More ]

Round-Up of Continuous Delivery Talks at PuppetConf

christym, 1 week | Source: Puppet Labs

Continuous delivery and continuous integration were recurring themes of presentations and workshops at PuppetConf this year. We saw everything from real-world use cases to new projects and tools, like Beaker for automated testing and R10K for automated deployment. Check out the presentations we've rounded up below, and sign up to access video recordings of all of the below sessions and 80+ additional presentations from the event!

[ Read More ]

Brief insight on the all new Puppet Server!

Choon Ming Goh, 1 week, 5 days | Source: OlinData

It has been a while since the PuppetConf 2014 ended in San Francisco and there are lot of news that came out of it as usual. But, the biggest news is during the keynote that Luke Kanies, CEO of PuppetLabs announced there will be a new Puppet Server. A new Puppet Server? Yup. A Puppet Server and its not the same as our current Puppet Master. Curious on what this means I decided to check out the preview. All my opinions stated below are my own and does not reflect any of OlinData or PuppetLabs.


When Luke announced the ...

[ Read More ]

Example42 goes Org

Anonymous, 1 week, 5 days | Source: Example 42

The Github account where all the Example42 Puppet modules have been published so far, is now an organization on GitHub.

This change is not only “a flag in a db record”, but involves a new approach on how Example42 Puppet modules are going to be maintained.

The effort to keep this modules set updated and in good shape was becoming overwheling for a single person not even working on them full time.

Rspec tests and Travis integration were breaking, support for new OSes was not introduced timely, bugs and sometimes pull requests had been ignored for too much time.

This ...

[ Read More ]

Getting comfortable...

Anonymous, 2 weeks | Source: david.log

Used a slow afternoon to get the next example42 to pass its tests again. Also rebased my sundry of changes from last year on top of the upstream development since then. I'll drip in the commits later one by one to avoid a too confused git history.

[ Read More ]

Continuous integration for Puppet modules

jamesjustjames, 2 weeks | Source: The Technical Blog of James

I just patched puppet-gluster and puppet-ipa to bring their infrastructure up to date with the current state of affairs…

What’s new?

  • Better README’s
  • Rake syntax checking (fewer oopsies)
  • CI (testing) with travis on git push (automatic testing for everyone)
  • Use of .pmtignore to ignore files from puppet module packages (finally)
  • Pushing modules to the forge with blacksmith (sweet!)

This last point deserves another mention. Puppetlabs created the “forge” to try to provide some sort of added value to their stewardship. Personally, I like to look for code on github instead, but nevertheless, some do use the forge. The ...

[ Read More ]

Facter: Ansible facts in Puppet

Dean Wilson (, 2 weeks, 1 day | Source: Dean Wilson@UnixDaemon

Have you ever needed to access Ansible facts from inside Puppet? well, if you ever need to, you can use the basic ansible_facts custom fact.

    # make sure you have ansible installed
    $ sudo puppet resource package ansible ensure=present

    # clone my experimental puppet fact repo
    $ git clone

    # Try running the fact
    $ ruby -I unixdaemon-puppet_facts/lib/ `which facter` ansible_facts -j
      "ansible_facts": {
        "ansible_architecture": "x86_64",
        "ansible_bios_date": "04/25/2013",
        "ansible_bios_version": "RKPPT%$DSFH.86A.0457.20DF3.0425.1251",
        "ansible_cmdline": {
        ... snip ...

While it's nice to see the output in facter you need to make a small change to your ...

[ Read More ]

Puppet 3.7 File Function Improvements

Dean Wilson (, 2 weeks, 1 day | Source: Dean Wilson@UnixDaemon

Puppet's always had a couple of little inconsistencies when it comes to the file and template functions. The file function has always been able to search for multiple files and return the contents of the first file found but it required absolute paths. The template function accepts module based paths but doesn't allow for matching on the first found file. Although this can be fixed with the Puppet Multiple Template Source Function.

One of the little niceties that came with Puppet 3.7 is an easily missed improvement to the file function that makes using it easier and ...

[ Read More ]

Puppet Module Testing

Anonymous, 2 weeks, 3 days | Source: david.log

Today I've invested a bit of time into getting modules back into shape. The first was Alessandro's excellent puppet module. The PR had six commits in the end, fixing the various nits that travis complained about. Nothing fancy, but annoying anyways. Now that this is green again, perhaps a little bit more care with new contributions can be taken.

I've also added some other improvements I was sitting on for far too long:

Also, Alessandro has posted an offer for shared maintainership on the example42 modules.

[ Read More ]

Puppet Lint Custom Checks

Dean Wilson (, 3 weeks | Source: Dean Wilson@UnixDaemon

In the past if you wanted to run your own puppet-lint checks there was no official, really clean way to distribute them outside of the core code. Now, with the 1.0 release of puppet-lint you can write your own, external, puppet-lint checks and make them easily distributable.

I spent a little bit of time this morning reading through the existing 3rd party community plugins and after porting a private absolute template path check over to the new system I have to say that rodjek has done an excellent job with both the ease of writing your own checks and ...

[ Read More ]

Foreman Community Newsletter - September 2014

Daniel Lobato (, 3 weeks, 3 days | Source: The Foreman: Blogs

Foreman 1.6.0 released!

After some testing in late August with the release candidate versions, Foreman 1.6.0 is out! Some of the highlights are:
  • Smart Proxy plugins support
  • API v2 is now declared stable, will be the default in 1.7.0
  • External user groups for LDAP and Kerberos group support
  • Support for RHEL7 (CentOS and Scientific will be supported when SCL 1.1 becomes available)
  • Configurable and extensible dashboard
  • Puppet directory environment support
The full list of release notes can be found in the manual, as usual. There are two CVEs explained in the security advisories ...

[ Read More ]

Migrating Puppets

Anonymous, 3 weeks, 3 days | Source: david.log

I've wrapped up a nice little project preparing an infrastructure to switch to puppet. The customer's own puppet lead had the system configuration already well prepared, so it was mostly a matter of integrating the final pieces, lining up all stars and keeping an eye out for unforeseen surprises.

Some takeaways:

  • preparation is everything: having base services like sssd and logstash well tested before starting the switchover was a great help to focus on the more delicate applications.
  • reusing puppet's CA for apps is convenient, but creates a noticeable coupling. While it reduces time to rollout, it ...

[ Read More ]

Book review: Mastering Puppet by Thomas Uphill

Hendricus Kramer, 3 weeks, 5 days | Source: Puppet Blog

When you are considered to be an experienced Puppet user or you just started using Puppet, this book will help you with all requirements on getting a good Puppet implementation.
The book is not only about Puppet… To get an enterprise ready Puppet environment, you will be guided through the configuration of all needed linux components which results in a scalable and high available Puppet installation.
Some other good topics are GIT version control, Private and Public modules, GitHub, reporting and troubleshooting.

The book is based on a RedHat/CentOS environment, so when you use an other Linux distribution, you ...

[ Read More ]

First impressions of the new cfacter

walterheck, 3 weeks, 5 days | Source: OlinData

Having just come back from PuppetConf 2014 in the San Francisco last week, there have been a lot of new developments. Some of the most significant changes since Puppet was started all the way 10 years back have been announced.

A lot of the announced changes have to do with a move away from Ruby as the language for everything puppet. We have already seen this started when PuppetDB was implemented in Clojure. That has been largely succesful and without pain, so there's good hope we can extend that into the rest of the toolset.

The first two tools ...

[ Read More ]

Review of the book Mastering Puppet

Anonymous, 4 weeks | Source: People & Software

#Review of the book 'Mastering puppet' I've had the privilege of reviewing a new Puppet book. The book is called ['Mastering Puppet']( and it is published by [Packt publishing]( and written by Thomas Uphill. ##Structure of the book The book is 251 pages that contain the following ten chapters: - Dealing with Load/Scale - Organizing Your Nodes and Data - Git and Environments - Public Modules - Custom Facts and Modules - Custom Types - Reporting and Orchestration - Exported Resources - Roles and Profiles - Troubleshooting ##Learning style All chapters contain lots of commands and screen output ...

[ Read More ]

Module Basics

Henry den Hengst, 1 month, 1 week | Source: Puppet Blog

Modules are reusable, sharable units of Puppet code. Basics you need to know about modules you can find here. You can use any editor to edit your modules, I personally use Geany if I have a GUI, and vim when I just have a CLI. Than we have Geppetto which is an integrated development environment for Puppet modules and manifests. Ofcourse it is always important to make good documentation of your module for future use. This is what you need to know when you are ready to start installing modules. If you wish you can use other peoples’ modules or ...

[ Read More ]

Puppet Certificates

Hendricus Kramer, 1 month, 1 week | Source: Puppet Blog

This blog describes how the puppet certificates work and what to do when it doesn’t.

After you installed the first puppet master, the CA on this master will generate a root ssl certificate. With this certificate the connection between the puppet master and puppet agent will be encrypted and secured.

To prevent certificate problems you have to comply with the following checklist before installing the puppet master software:

  • Hostname: puppet
  • Network connectivity
  • DNS -> all machines with puppet software require the same dns suffix
  • Open firewall ports: 80, 443, 8140
  • Sufficient rights

When you comply with the checklist you can ...

[ Read More ]