Planet Puppet

Your source of Puppet technical information

Shiny new things in Puppet 4

R.I. Pienaar, 9 hours, 3 minutes | Source: R.I.Pienaar - www.devco.net

Puppet 4 has been out a while but given the nature of the update – new packaging requiring new modules to manage it etc I’ve been reluctant to upgrade and did not have the time really. Ditto for Centos 7. But Docker will stop supporting Centos 6 Soon Now so this meant I had to look into both a bit closer.

Puppet 4 really is a whole new thing, it maintains backward compatibility but really in terms of actually using its features I think you’d be better off just starting fresh. I am moving the bulk of my services ...

[ Read More ]

“They Do Amazing Things with Some Really Half-Assed Tools”

Suzame Tong, 11 hours, 21 minutes | Source: Puppet Labs

Tim-Tam slams, scotch, pinball wizardry, lava lamps, and, oh, yeah, they keep all our systems up and running. Happy SysAdmin Day to our SysOps and IT team!

[ Read More ]

How to Choose the Right Tools & Processes for DevOps

Alanna Brown, 1 day, 7 hours | Source: Puppet Labs

Tools are not the sum total of DevOps; yet, choosing the right tools for your team will help establish early successes — and help convince people to embrace change rather than fear it.

[ Read More ]

PuppetConf 2015: Get Hyped About Visiting Portland

Hallie Exall, 1 day, 10 hours | Source: Puppet Labs

Summer is here, which means PuppetConf 2015 is right around the corner. This year, PuppetConf 2015 will be held October 5-9 in Portland, OR and it’s going to be packed with keynotes, workshops and training sessions you won’t want to miss. Plus, Fall is a great time of the year to experience all that Portland has to offer.

[ Read More ]

From 0 to OpenStack with devtest: the process in details

Yanis Guenane, 1 day, 13 hours | Source: eNovance Puppet Blog

Main points :

  • Environment variables driven process
  • 8 steps process
  • Deploy OpenStack using upstream Puppet modules
  • Works for both bare metal and virtualized deployments

What is devtest and how does it work ?

Devtest is the upstream way to deploy Openstack with TripleO. In simple words it takes you from a fresh bare metal server to an overcloud (understand OpenStack cloud) up and running with a single script.

All the devtest related code and components are located in the tripleo-incubator project. The one we will take a closer look at is scripts/devtest.sh.

The main devtest.sh is a wrapper around ...

[ Read More ]

Demystifying DevOps for Ops — Including Findings from the 2015 State of DevOps Report

molly, 2 days, 10 hours | Source: Puppet Labs

How do you approach collaboration between dev & ops? Does your company need to evolve its approach? How can you articulate the ways DevOps will make a difference to the team & business?

Join us for a webinar on July 30, where Alanna Brown and Carl Caum will cut through the DevOps noise — and help you achieve alignment in your organization.

Webinar title: Demystifying DevOps for Ops
When: July 30, 2015, 10 AM PDT
Register here

[ Read More ]

Git archive with submodules and tar magic

jamesjustjames, 1 week, 1 day | Source: The Technical Blog of James

Git submodules are actually a very beautiful thing. You might prefer the word powerful or elegant, but that’s not the point. The downside is that they are sometimes misused, so as always, use with care. I’ve used them in projects like puppet-gluster, oh-my-vagrant, and others. If you’re not familiar with them, do a bit of reading and come back later, I’ll wait.

I recently did some work packaging Oh-My-Vagrant as RPM’s. My primary goal was to make sure the entire process was automatic, as I have no patience for manually building RPM’s. Any good ...

[ Read More ]

puppet snmp module 3.4.0

Michael Arnold, 3 weeks, 3 days | Source: The Razor's Edge

Today, I have released a minor update to my Puppet module for Net-SNMP to the Puppet Forge. Included are some fixes from community members: Add a pause after service stop and before creating SNMPv3 users (Guy Martin) Skip zero length strings in ERB template output (Brett Delle Grazie) Fixed a small typo in example (Markus […]

[ Read More ]

puppet vmwaretools module 5.0.0

Michael Arnold, 3 weeks, 6 days | Source: The Razor's Edge

This is a major release of my Puppet module to deploy the VMware Tools Operating System Specific Packages. There is a backwards-incompatible change that necessitated the major version bump. The parameters yum_server, yum_path, and just_prepend_yum_path have been renamed to be reposerver, repopath, and just_prepend_repopath respectively. Also, the module now officially supports Puppet 4 and a […]

[ Read More ]

Customizing bash and vim for better git and puppet use

rnelson0, 1 month | Source: RNELSON0

Welcome back to our Puppet series. I apologize for the extended hiatus and thank you for sticking around! As an added bonus, in addition to inlining files, I’m including links to the corresponding files and commits in my PuppetInABox project so you can easily review the files and browse around as needed. I hope this […]

[ Read More ]

Puppet Module Functional Testing with Vagrant, OpenStack and Beaker

Emilien Macchi, 1 month, 1 week | Source: eNovance Puppet Blog

This post is originally published on Emilien Macchi’s blog.

During the last OpenStack Summit, I had the pleasure to participate to the Infra sessions and we agreed at how to make functional testing for both Puppet OpenStack and Puppet Infra modules, which is a real proof of collaboration between both groups.

However, I met some people still wondering how to test a patch in a Puppet module without affecting our own system by installing OpenStack.

This article is short but effective: it’s about testing a Puppet module by using Vagrant with OpenStack provider and Beaker.

Prerequisites

  • Linux, Windows ...

[ Read More ]

A super privileged Puppet container

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

In this new crazy world of containers and immutable hosts, one might still want to run previous generation software such as Puppet on a current generation Atomic host. This article will explain how you can do that, and offer some proof of concept code.

The atomic host doesn’t provide a yum or dnf command, because the software is pre-baked into a read-only /usr/ partition. To “install” (to use) additional software, it usually needs to be distributed and run as a container.

The Dockerfile which describes the docker container that we will build, has two important sections:

ENV FACTER_fqdn=localhost ...

[ Read More ]

Testing puppet modules: an overview

Patrick Schönfeld, 1 month, 3 weeks | Source: just-imho: tech

When it comes to testing puppet modules, there are lot of options, but for someone entering the world of puppet module testing, the pure variety may seem overwhelming. This is a try to provide some overview.

So you’ve written a puppet module and would like to add some tests. Now what?As of today, puppet tests basically can be done in two ways, complementing each other:

  • Catalog tests (e.g. testing the compiled puppet catalog)
  • Functional/Acceptance tests in a real environment

Catalog tests
In most cases you should at least write some catalog tests.
As of writing this ...

[ Read More ]

The Type Hierarchy and Scalars

Henrik Lindberg (noreply@blogger.com), 2 months | Source: Puppet on the Edge

The Type Hierarchy

In the previous post about the Puppet 3.5 experimental feature Puppet Types I covered the rationale behind having a type system, and exemplified by using a handful of types such as Integer, and Array to achieve simple tasks.

This time, I am going to present an overview of all the types in the type system and present the most fundamental type - the Scalar in more detail.

The Type Hierarchy

 Any
|- Scalar
| |- Numeric
| | |- Integer[from, to]
| | | |- (Integer with range inside another Integer)
| | |
| | |- Float[from, to]
| | | |- (Float with range inside another Float)
| |
| |- String
| | |- Enum[*strings]
| | |- Pattern[*patterns]
| |
| |- Boolean ...

[ Read More ]

Puppet OpenStack plans for Liberty

Emilien Macchi, 2 months, 1 week | Source: eNovance Puppet Blog

Our Vancouver week just ended and I think it was a very productive Summit for the Puppet OpenStack folks.
This blog post summarizes what we did this week, and what we plan for the next release.

Vancouver-Canada

Releases and master branch policy

https://etherpad.openstack.org/p/liberty-summit-design-puppet-master-branch

So we officially decided to support the latest version of OpenStack provided by upstream packages (Ubuntu UCA and CentOS7 RDO) in our modules master branch. That means if you submit a change in the module, it will have to pass our integration testing (running Beaker).

Examples:

  • if your change update configuration to support ...

[ Read More ]

The Puppet 4x function API

Henrik Lindberg (noreply@blogger.com), 2 months, 1 week | Source: Puppet on the Edge

In Puppet 4.0.0 there is a new API for writing Ruby functions that extend the functionality of the Puppet language. This API is available in the 3.7.x versions of Puppet when using --parser future, so you can try out this functionality today.

The new 4x API for functions was created to fix problems and add missing features in the 3x API:

  • The function runs as a method on Scope (and has access to too much non-API)
  • Undefined arguments are given to the function as empty strings, but as a :undef Symbol if undefined values are given ...

[ Read More ]

Hiera-fy your Hiera setup

rnelson0, 2 months, 2 weeks | Source: RNELSON0

In 2014, we set up our puppet environment and we’ve spent the first half of 2015 improving the configuration. In that time, we installed hiera, were introduced to it through the role/profile pattern, focused on separating the data from the code and moving it into hiera, and most recently on an improved controlrepo that modified […]

[ Read More ]

Software Factory Update

Matthieu Huin, 2 months, 2 weeks | Source: eNovance Puppet Blog

We are proud to announce the first stable release of Software Factory. We have been operating a deployment that is hosting some projects along SF itself for a long time already. And since the platform has been proven stable enough for us, and consistently upgraded without much outage, it’s a good opportunity to look back at what we built and where we are now.

Key Features

Included components

The Software Factory stack includes the well known Jenkins (job automation) and Gerrit (code review) services as well as Zuul (gating system) and makes them all work together. In addition the ...

[ Read More ]

Configuring an R10k webhook on your Puppet Master

rnelson0, 2 months, 4 weeks | Source: RNELSON0

Now that we have a unified controlrepo, we need to set up an r10k webhook. I have chosen to implement the webhook from zack/r10k. There are other webhooks out there – I’m a huge fan of Reaktor – but I chose this because I’m already using this module and because it is recommended by Puppet […]

[ Read More ]

Puppet Tutorials: Check out Puppetinabox instead

rnelson0, 3 months | Source: RNELSON0

Quick note: I am deprecating my individual repos – role, profile, hiera etc – that I have used throughout the Puppet series. I will be doing representative work within the Puppetinabox repositories, mostly the controlrepo. I’m not sure when I’ll shut down the repos entirely, not until after I update old links, of course. Some […]

[ Read More ]