Planet Puppet

Your source of Puppet technical information

Tip of the Week 89 - tp install anything (anywhere), and configure

Anonymous, 0 minutes | Source: Example 42

We have talked about Tiny Puppet in this blog more than 3 years ago when introducing the example42 tp module and then again at release 1.0: Introducing Tiny Puppet Preparing for Tiny Puppet 1.0 Tiny Puppet 1.0 More recently, we had a Tip of the Week on using the tp command from the cli: Tip of the Week 82 - A few steps to Tiny Puppet on the command line I think it’s time for some updates on Tiny Puppet given that we are at version 2.3. The module is stable, solid, used in several productions ...

[ Read More ]

Tip of the Week 88 - Managing packages on MacOSX with Puppet and Home Brew

Anonymous, 0 minutes | Source: Example 42

Puppet ships natively with some providers to manage the package type on MacOS X: The macports provider supports installation of packages via MacPorts. The appdmg and apple and pkgdmg providers use /usr/bin/hdiutil and /usr/sbin/installer to mount DMG disk images and installs the included applications. Generally we need to specify the source from where to get the dmg files. Besides the App Store, Mac OS has not a native repository and package managers, and this makes it harder to automate the installation of software without specifying from where to get it. But we live in interesting and ...

[ Read More ]

Introducing Puppet 6 Platform

Eric Sorenson, 6 days | Source: Puppet Labs

Puppet 6 Platform is out, which includes improvements in its security subsystems, new APIs for developers, and loads of bug fixes.

[ Read More ]

Using custom DSC resources in Puppet

Dan Franciscus, 6 days, 8 hours | Source: Puppet Labs

System engineer Dan Franciscus takes us through the steps of using custom DSC resources in Puppet with the dsc_lite module.

[ Read More ]

There is More Than 0 and 1 to Binary Data in Puppet

Henrik Lindberg (noreply@blogger.com), 6 days, 9 hours | Source: Puppet on the Edge

There is More Than 0 and 1 to Binary Data In Puppet

There is More Than 0 and 1 to Binary Data in Puppet

Sometimes you have the need to manage resources that have binary data. Historically you needed luck to be on your side to make this work (more about this below), and more recently Puppet was given the ability to handle binary data by using the Puppet specific PSON on the wire format instead of JSON.

The problems caused by binary data are caused by two things:

  • Ruby does not have a data type for binary data other ...

[ Read More ]

More about undef

Henrik Lindberg (noreply@blogger.com), 6 days, 23 hours | Source: Puppet on the Edge

More about undef

More about undef

In my earlier blogpost Let’s talk about undef I covered the data type Undef itself. In this blog post I am going to cover what happens when you use undef in puppet manifests and in Ruby.

Over time the Puppet Language undef has been represented internally in different ways. Starting with Puppet 4 (and with future parser in Puppet 3) the compiler (i.e. the puppet language) represents undef as the Ruby nil value.

However, the resource API and the older so called 3.x function API required nil to be transformed to ...

[ Read More ]

Welcome file

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

Welcome file

Welcome to StackEdit!

Hi! I’m your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.

if a == b { $x = 'hello' }

Files

StackEdit stores your files in your browser, which means all your files are automatically saved locally and are accessible offline!

Create files and folders

The file explorer is accessible using the button in left ...

[ Read More ]

Welcome file

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

Welcome file

Welcome to StackEdit!

Hi! I’m your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.

Files

StackEdit stores your files in your browser, which means all your files are automatically saved locally and are accessible offline!

Create files and folders

The file explorer is accessible using the button in left corner of the navigation bar ...

[ Read More ]

Tip of the Week 90 - Update of official Puppet Training courses

Anonymous, 1 week | Source: Example 42

example42 trainers conducts the official Puppet Training courses since 2011. Since then Puppet has adopted best practices multiple times. These adoptions also had an impact on the official training courses material. The old courses In the early days everybody was using a Linux based virtual machine on every attendee laptop. The last major update was done in 2016, when the course material switched to Puppet 4 and people used a Docker container to run their course exercises. Containers were provided by the trainer. Course management was built around a self developed tooling where attendees were able to create their account ...

[ Read More ]

2018 State of DevOps Report: Practical guidance for your DevOps evolution

Alanna Brown, 1 week, 5 days | Source: Puppet Labs

Evidence-based, real-world guidance for getting started and making progress on your DevOps journey, based on data from the Puppet 2018 State of DevOps survey.

[ Read More ]

Tip of the Week 89 - tp install anything (anywhere), and configure

Anonymous, 2 weeks | Source: Example 42

We have talked about Tiny Puppet in this blog more than 3 years ago when introducing the example42 tp module and then again at release 1.0: Introducing Tiny Puppet Preparing for Tiny Puppet 1.0 Tiny Puppet 1.0 More recently, we had a Tip of the Week on using the tp command from the cli: Tip of the Week 82 - A few steps to Tiny Puppet on the command line I think it’s time for some updates on Tiny Puppet given that we are at version 2.3. The module is stable, solid, used in several productions ...

[ Read More ]

Managing SharePoint complexity with Puppet’s dsc_lite module

Andrew Ball, 2 weeks, 5 days | Source: Puppet Labs

Read about how the University of Saskatchewan used Puppet’s dsc_lite module to upgrade from a SharePoint 2013 farm to 2016.

[ Read More ]

Linux OS Patching with Puppet Tasks

rnelson0, 1 month | Source: RNELSON0

One of the biggest gaps in most IT security policies is a very basic feature, patching. Specific numbers vary, but most surveys show a majority of hacks are due to unpatched vulnerabilities. Sadly, in 2018, automatic patching on servers is still out of the grasp of many, especially those running older OSes. While there are […]

[ Read More ]

Using Puppet Enterprise 2018’s new backup/restore features

rnelson0, 1 month, 1 week | Source: RNELSON0

I was pretty excited when I read the new features in Puppet Enterprise 2018.1. There are a lot of cool new features and fixes, but the backup/restore feature stood out for me. Even with just 5 VMs at home, I don’t want to rock the boat when rebuilding my master by losing my CA or […]

[ Read More ]

Disabling rubocop and upgrading to PDK 1.6.0

rnelson0, 3 months | 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 ]

Creating your first Puppet Task for Puppet Enterprise

rnelson0, 3 months, 2 weeks | 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 ]

Choria Progress Update

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

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, 5 months, 3 weeks | Source: R.I.Pienaar - www.devco.net

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.

Overview


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, 7 months | 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, 7 months | 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 ]