Planet Puppet

Your source of Puppet technical information

Tip of the Week 56 - Running acceptance tests on different Puppet versions with PSICK

Anonymous, 3 hours, 26 minutes | Source: Example 42

Example42’s psick control-repo has several features which allows user to manage most of the typical infrastructure tasks easily. PSICK has a set of unit and acceptance tests already built in. Usually we want to test the Puppet version we have running in infrastructure and we want to test functionality with newer versions. Unit Testing Handling different Puppet versions on unit testing is done by reading an environment variable from Gemfile. rspec puppet uses the Puppet version installed by bundler to compile and check catalogs. Running unit tests for different Puppet versions is easy: export PUPPET_GEM_VERSION='4.10.9' bundle ...

[ Read More ]

Enabling staff performance and development at Puppet

Amy Dobler, 3 days, 11 hours | Source: Puppet Labs

At Puppet, enabling our employees to achieve our company mission — helping customers deliver better software, faster — is the critical priority.

[ Read More ]

Tip of the Week 55 - Classification and First Run mode with PSICK

Anonymous, 1 week | Source: Example 42

Example42’s psick module has several features which allows users to manage most of the typical infrastructure tasks with a single module. One of them is classification: we can use it to define which classes we want on each node via Hiera data. The module provides different parameters to manage in which phase of a Puppet run we want to include classes for different major families of operating systems (Linux, Windows, Solaris, Darwin…). Classification via psick module Psick has a different subclass for each phase: pre, in this phase prerequisites classes are included, they are applied before all the other ...

[ Read More ]

New supported Puppet modules make Kubernetes deployments easier

John Tonello, 1 week, 3 days | Source: Puppet Labs

Puppet released supported modules for Kubernetes and Helm, tools that make it easier to deploy, manage, and automate cloud-native infrastructure.

[ Read More ]

How Porsche used Puppet Enterprise to speed up its IT processes

Arik Hesseldahl, 1 week, 4 days | Source: Puppet Labs

In his PuppetConf keynote, Thorsten Biel explained how Porsche has embraced IT automation and DevOps to move faster and innovate on digital services.

[ Read More ]

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

Einladung: DevOps und Automatisierung Workshop “IT is too important to leave to IT” (Mark Smalley) Wie setzt man DevOps um? Wo bekommt man DevOps her? Wenn Deutsche Bank, Volkswagen oder Deutsche Telekom erwähnt werden, denkt man nicht sofort an IT… Allen diesen Firmen ist gemeinsam, dass IT und Softwarebereitstellung einen kritischen Erfolgsfaktor bei der Erreichung und Bindung von Kunden spielen. Die dazugehörigen IT Infrastrukturen müssen effizient und zeitnah bereitgestellt und verwaltet werden. Kostentransparenz und -effizienz sind hierbei wichtige Parameter für das Business. Das DevOps Konzept hat sich hierbei als eine Methodik etabliert, mit der man einen Informationsaustausch zwischen IT und ...

[ Read More ]

Tip of the Week 54 - Einladung DevOps und Automatisierung Workshop

Anonymous, 2 weeks | Source: Example 42

Einladung: DevOps und Automatisierung Workshop “IT is too important to leave to IT” (Mark Smalley) Wie setzt man DevOps um? Wo bekommt man DevOps her? Wenn Deutsche Bank, Volkswagen oder Deutsche Telekom erwähnt werden, denkt man nicht sofort an IT… Allen diesen Firmen ist gemeinsam, dass IT und Softwarebereitstellung einen kritischen Erfolgsfaktor bei der Erreichung und Bindung von Kunden spielen. Die dazugehörigen IT Infrastrukturen müssen effizient und zeitnah bereitgestellt und verwaltet werden. Kostentransparenz und -effizienz sind hierbei wichtige Parameter für das Business. Das DevOps Konzept hat sich hierbei als eine Methodik etabliert, mit der man einen Informationsaustausch zwischen IT und ...

[ Read More ]

A guide to converting a module with PDK

Helen Campbell, 1 month | Source: Puppet Labs

Introducing a new capability, pdk convert, that allows you to take a pre-existing module and convert it to a module that is compatible with Puppet Development Kit.

[ Read More ]

Self-documenting Puppet modules with puppet-strings

rnelson0, 1 month, 2 weeks | 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 ]

Managing multiple puppet modules with modulesync

Dean Wilson (dwilson@unixdaemon.net), 2 months, 1 week | 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 ]

Upgrading Puppet Enterprise from 2016.4 to 2017.3

rnelson0, 2 months, 1 week | Source: RNELSON0

Over the past year, there have been some pretty big improvements to Puppet. I am still running PE 2016.4.2 and the current version is 2017.3.2, so there’s lot of changes in there. Most of the changes are backwards-compatible, so an upgrade from last November’s version is not quite as bad as it sounds, and I […]

[ Read More ]

Copyleft is Dead. Long live Copyleft!

purpleidea, 3 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.

Disclaimer:

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 ]

Retrospec - the Task Generator

Anonymous, 3 months, 1 week | Source: Logical thoughts exposed

Puppet introduced Bolt at Puppetconf 2017 this year and so far I like what I see. Simple, easy to use remote task execution without a huge requirement of any one language. Best of all puppet modules can start adding one off bolt tasks to help with the administrative duties of various applications. Bolt makes it really easy to get started but adds some required scaffolding to create a properly defined task, namely the metadata file.

One of the use cases of retrospec puppet is to build out this scaffolding for you with the many generators it has. So starting with ...

[ Read More ]

The Choria Emulator

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

In my previous posts I discussed what goes into load testing a Choria network, what connections are made, subscriptions are made etc.

From this it’s obvious the things we should be able to emulate are:

  • Connections to NATS
  • Subscriptions – which implies number of agents and sub collectives
  • Message payload sizes

To make it realistically affordable to emulate many more machines that I have I made an emulator that can start numbers of Choria daemons on a single node.

I’ve been slowly rewriting MCollective daemon side in Go which means I already had all the networking and connectors available ...

[ Read More ]

Puppet 5 Beginner's Guide (third edition)

John Arundel, 3 months, 3 weeks | Source: Bitfield Consulting

Order your copy now on Amazon.com (Amazon.co.uk)

A new book on Puppet for the cloud-native era

A new edition of the bestselling Puppet Beginner’s Guide is now available, covering all the latest features of Puppet 5. Learn Puppet from scratch, from installation to managing complex infrastructures, including chapters on managing Amazon AWS cloud resources and Docker containers with Puppet. Every code example is available right now online in a special GitHub repo just for this book. There is also a complete, working Puppet infrastructure for you to download, adapt, and use on your own servers.

Praise ...

[ Read More ]

Load testing Choria

R.I. Pienaar, 4 months | Source: R.I.Pienaar - www.devco.net

Overview


Many of you probably know I am working on a project called Choria that modernize MCollective which will eventually supersede MCollective (more on this later).

Given that Choria is heading down a path of being a rewrite in Go I am also taking the opportunity to look into much larger scale problems to meet some client needs.

In this and the following posts I’ll write about work I am doing to load test and validate Choria to 100s of thousands of nodes and what tooling I created to do that.

Middleware


Choria builds around the NATS middleware which ...

[ Read More ]

puppet network module 3.10.0

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

Today, I have released a large update to my Red Hat network Puppet module to the Puppet Forge.  Numerous pull requests were merged including: Added support for promiscuous interfaces. (Elyse Salberg) Added a parameter to disable restart of network service on change. (Evgeni Golov) Added support for netmask and broadcast parameters in alias range. (Nick […]

[ Read More ]

strict_variables and the RazorsEdge Puppet Modules

Michael Arnold, 5 months, 4 weeks | Source: The Razor's Edge

Over the past month I have been adding much needed support for running Puppet with strict_variables = true to all of the RazorsEdge Puppet modules. Thanks to coreone, I finally had a solution that did not require tearing out the legacy global variable support. As much as I think that continued inclusion of global variable […]

[ Read More ]

Converting and Formatting Data Like a Pro With Puppet 4.5.0

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

Before Puppet 4

Before Puppet 4.0.0 there was basically only the data types; String, Boolean, Array, Hash, and Undef. Most notably missing were numeric types (Numeric, Integer, and Float). In Puppet 4.0.0 those and many other types were defined and implemented in a proper type system. This was all good, but a few practical problems were not solved; namely data conversion. In Puppet 4.5.0 there is a new feature that will greatly help with this task. But first lets look at the state of what is available in prior versions.

Converting String to Number ...

[ Read More ]

Managing SSH server security with Puppet

rnelson0, 6 months, 3 weeks | Source: RNELSON0

Edit: In an earlier edition, I credited the wrong newsletter as the source. My apologies to R.I.Pienaar! In this past week’s DevCo Newsletter, I saw the Rebex SSH Check, which reminded me that I’ve locked down the SSH server security configuration at work, but not at home. Sounds like a good opportunity to blog about […]

[ Read More ]