automatically generate puppet manifests for legacy servers

40 views
Skip to first unread message

live_d

unread,
Aug 11, 2016, 9:40:29 AM8/11/16
to Puppet Users
Hi puppet-users,

I've worked with puppet for a while now but was stuck on how best to manage legacy servers quickly without having to create specific manifests for each server. I basically wrote this script to do the whole thing for me and wondered if anyone else might find it useful.

I've put it on github and would like some feedback from other users if you have time to take a look. It's targeted specifically at managing legacy servers or with people who don't know how to write their own manifests but want to learn by generating their own code. It covers files, services, packages, users, templates, file_line, etc. It generates a puppet apply script to manage your server locally but I also added in a role so it can be used with directory environments.

If you want to contribute you're more then welcome to create a pull request.

Here's my code. 

Thanks.

Corey Osman

unread,
Aug 12, 2016, 1:01:18 PM8/12/16
to Puppet Users

Dennis McCarthy

unread,
Aug 15, 2016, 5:21:19 AM8/15/16
to Puppet Users
Hi Corey,

I cloned this as ran it on my Centos6 vm. It was easy to setup and use and it does collect literally everything! I can see why this is useful to a lot of people.

Mine is puppet specific but allows for a lot more control along with role setup (directory environments) for use on a puppet master.

Thanks for making me aware of this!

Regards

Dennis
Reply all
Reply to author
Forward
0 new messages