Planet Puppet

Your source of Puppet technical information

Writing Robust Puppet Bolt Tasks: A Guide

Lucy Wyman, 1 day, 19 hours | Source: Puppet Labs

Use this walkthrough to learn how to run Tasks in either Puppet Bolt or Puppet Enterprise. Get tips on how to use Task Helpers, write better metadata, and more.

[ Read More ]

Announcing Contributor Summit projects!

Ben Ford, 1 day, 21 hours | Source: Puppet Labs

The Contributor Summit Project Month was a resounding success! We came out with six great projects that each provide genuine value to the world of DevOps and a couple more still incubating.

[ Read More ]

Tip of the Week 102 - Psick profiles. Part 4 - Managing users

Anonymous, 2 days, 13 hours | Source: Example 42

We continue our review of psick profiles describing how psick::users can help in configuring users, root password, sudo and ssh keys. This comes after: Part 1 - Overview of the psick module and its reusable profiles. Part 2 - Proxy and Hostname settings with psick profiles. Part 3 - OpenSSH settings, keys, configs management. For the following configuation we just need to classify for psick::users class: include psick::users As usual the following hiera sample parameters are expressed in yaml format. Managing root user We can set password of root user with: psick::users::root_pw: '$6$OkmG4mu/$RbyL' The value is ...

[ Read More ]

Puppet 6 type system - Posts

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

Puppet 6 type system - Posts

Puppet 6 Type System - Index

This is an index page with links to all of my blog posts in the series about the Puppet 6 Type System support for the Object data type.

  • The first post introduced the Object data type and the history behind Pcore. You probably want to read that first.
  • The second post covers more about how attributes are specified
  • The third post is about inheritance.
  • The fourth post overs Object behavior - that is the operations that are available on Object, how they can be controlled, and how methods/functions are defined ...

[ Read More ]

Puppet 6 type system - Methods

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

Puppet 6 type system - Methods

Puppet 6 Type System - Object Methods

Introduction

This is the fourth posting in the series about the Object data type in the Puppet Type System - Pcore. The first post introduced the Object data type and the history behind Pcore. You probably want to read that first. The second post covers more about how attributes are specified, and the third post is about inheritance. In this post, I will cover Object behavior - that is the operations that are available on Object, how they can be controlled, and how methods/functions are defined and implemented.

Terminology Corner ...

[ Read More ]

Puppet Joins the Cloud Native Computing Foundation

Omri Gazitt, 6 days, 15 hours | Source: Puppet Labs

Puppet has joined the Cloud Native Computing Foundation to stay better informed with its community and design solutions to address customer challenges in the cloud.

[ Read More ]

How GitHub Labels streamline the Puppet Module release process

Paula Muir, 6 days, 19 hours | Source: Puppet Labs

Learn about how the supported modules team use labels in Github to streamline their Puppet Module release processes. It’s a great way to ease into software automation.

[ Read More ]

Tip of the Week 101 - Psick profiles. Part 3 - Managing OpenSSH

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

On the first post of our series on Psick profiles we introduced the psick module and had an overview of its reusable profiles. On the second one we described how to manage hostname and proxy settings with the existing psick profiles. In this post we are going to review the resources that psick module provides to manage OpenSSH. The main psick::openssh profile, if included, installs openssh via Tiny Puppet (via the psick::openssh::tp class) and exposes parameters that act as entry points to configure other openssh related resources: psick::openssh::configs_hash expects an hash (looked via Hiera in ...

[ Read More ]

Tip of the Week 100 - Puppet Community Award

Anonymous, 2 weeks, 2 days | Source: Example 42

Puppet is a product built around a community. The Puppet community encourages learning new skills, expanding knowledge and honors contributions. We want to celebrate the 100th post in our Puppet Tip of the Week celebrating the same Puppet community of which we are proud members and talking about this year edition of Puppet MVP (Most Valued Puppeteer) award. The MVP award is voted by community and Puppet members and given to people in the community who have distinguished themselves in their Puppet activities. As far as I remember the first MVP award was given to Eric Dalen at PuppetConf 2014 ...

[ Read More ]

Tip of the Week 99 - Psick profiles. Part 2 - Setting proxy server and hostname

Anonymous, 3 weeks, 2 days | Source: Example 42

On the first post of our series on Psick profiles we introduced the psick module and had an overview of its reusable profiles. In this post we are starting to review some handy psick profiles: psick::proxy to configure proxy settings, on Linux system startup scripts, on gem and pip environments and in repo configurations for apt and yum psick::hostname to manage / enforce the system’s hostname both on Linux and Windows Managing proxy settings with psick::proxy To use it just include the class in your manifests (remember that): include psick::proxy or classify with the ENC of ...

[ Read More ]

Puppet 6 type system - Object Inheritance

Henrik Lindberg (noreply@blogger.com), 3 weeks, 5 days | Source: Puppet on the Edge

Puppet 6 type system - Object Inheritance

Puppet 6 Type System - Object Inheritance

Introduction

This is the third posting in the series about the Object data type in the Puppet Type System - Pcore. The first post introduced the Object data type and the history behind Pcore. You probably want to read that first. The second post covers more about how attributes are specified. In this post, I will cover inheritance as well as one feature I forgot in the second post.

Constant Attributes

Yeah, so, I forgot to mention that there is a short form for specifying constants. In the second ...

[ Read More ]

Puppet 6 type system Object attributes

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

Puppet 6 type system Object attributes

Puppet 6 Type System - More about Object Attributes

Introduction

This is the second posting in the series about the Object data type in the Puppet Type System - Pcore. The first post introduced the Object data type and the history behind Pcore. You probably want to read that first.

In this post I am going to show how attributes of Objects work in more detail.

Recap Defining an Object data type in Puppet

As you may recall from the earlier post - an Object data type can be created like this in Puppet:

type Car = Object ...

[ Read More ]

My Kanban Journey

David Schmitt, 1 month | Source: david.log

Disclaimer: This post was written as an employee of Puppet, Inc., but does not constitute opinions of the company.

Last year I was part of the effort to design, develop and deliver the first version of the Puppet Development Kit. We started our effort small with a Trello board of ideas and things that we wanted to achieve. Once development started, we switched over to a JIRA project using the companies standard config, which turned out to be quite limiting after a while. At one point I took a day or two to completely rebuild our kanban boards to streamline ...

[ Read More ]

Convert a controlrepo to using the Puppet Development Kit (PDK)

rnelson0, 1 month, 3 weeks | Source: RNELSON0

I previously wrote about converting an individual puppet module’s repo to use the Puppet Development Kit. We can also convert controlrepos to use the PDK. I am starting with a “traditional” controlrepo, described here, as well as centralized tests, described here. To follow this article directly, you need to: Have all hiera data and role/profile/custom […]

[ Read More ]

Linux OS Patching with Puppet Tasks

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

Choria Progress Update

R.I. Pienaar, 7 months, 3 weeks | 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, 8 months, 1 week | 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, 9 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 ]