Ask Your Question

Basic Help Needed to Get me Started

asked 2013-04-06 13:55:24 -0600

Diar gravatar image

Just need a simple guide to get me started. Trying to push an rpm onto a node and then install it... Some checking if its already installed would be good. But I would like to now where do I put all the files and assign it to nodes etc, have read a book but doesn't seem to go into the basics. Any help appreciated.

Once i have these basics of where files go (like the rpm) and how it gets delivered and how the checking is done I will have the basics I need to test it in angry ... (more)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-04-07 02:38:24 -0600

domcleal gravatar image

Generally RPMs should be delivered via Yum rather than installed individually via rpm, so you should first publish the RPM in a Yum repo. This is outside the scope of Puppet, but put the RPM on a web server in /var/www/html/repo for instance and then run createrepo . from within that directory. The yum repo will then be available at

Also see: RHEL Deployment Guide: Creating a Yum repo

In Puppet, you can configure your client to a) use this repo and b) install a package (which will then get resolved by yum ... (more)

edit flag offensive delete link more

answered 2013-04-07 03:29:28 -0600

Diar gravatar image

Thanks comclean thats just what I needed. But one further question our internal developers have made a commitment that there binaries will be delivered via puppet so I was lead to believe that puppet would pull the new binaries, back up the existing via file bucket (just in case) and restart the application.

To this point they have not packaged their applications in rpm's via our yum server, that would make my life to easy, so would the class be something along the lines of :-

copy file to file bucket, stop app, replace binary from nfs share, restart app ... (more)

edit flag offensive delete link more



Puppet has poor file distribution - it's fine for configs, but will be poor for binaries, so I'd really avoid this. You could have a file { } resource for your ...(more)

domcleal gravatar imagedomcleal ( 2013-04-07 04:31:45 -0600 )edit

In my opinion, Puppet should really only be used for simple application deployments. Anything more complicated is best accomplished through other orchestration. I use the Package resource to bootstrap new ...(more)

Ancillas gravatar imageAncillas ( 2013-04-07 20:37:13 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-04-06 13:55:24 -0600

Seen: 241 times

Last updated: Apr 07 '13