Adventures in Puppet: concat module | Linux Today

Adventures in Puppet: concat module

Written By
Web Webster
Web Webster
Aug 6, 2010

“R.I. Pienaar has a Puppet module on github called “concat”. Its
premise is very simple, it just concatenates fragments of text
together into a particular file.

“I’m sure that a more seasoned Puppet veteran would have had
this running in no time, but since it introduced some new concepts
for me, I thought I’d throw up some notes of how I’m using it. I
was particularly interested in an example usage I saw which lists
the puppet modules a system is using in its /etc/motd, but because
of the way Ubuntu handles constructing the motd, I needed to
slightly rework the example. In Ubuntu, the /etc/motd file is
constructed dynamically when you log in – this is done by
pam_motd which executes the scripts in /etc/update-motd.d/. One of
those scripts (99-footer) will simply append the contents of
/etc/motd.tail to /etc/motd after everything else”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.