Solved

creating Puppet package to install file

Posted on 2013-01-17
1
287 Views
Last Modified: 2014-01-16
Hey, I'm totally new to Puppet and haven't had a chance to configure my own packages before. Can anyone give me some pointers on how to get this done? IE - are there some good tutorials, etc. that will guide me? I've been hunting around but I couldn't find a whole lot.

Basically what I have is a small bin file that installs an agent on a server and I want to 'puppet-ize' this so that I can install it with the same command line options as if I was running it on the machine.

Any ideas?
0
Comment
Question by:will1977
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 29

Accepted Solution

by:
Michael Worsham earned 500 total points
ID: 38791350
I have done it using RPMs (which self-install), but not with parameters.
package { "mysql":
       provider => rpm,
       ensure => installed,
       source => "http://myserver.com/rpms/mysql-rhel5.rpm"
}

Open in new window

Check out these references & examples pages for details on possibilities:

http://docs.puppetlabs.com/references/latest/type.html#package
https://wiki.mozilla.org/ReleaseEngineering/How_To/Install_a_Package_with_Puppet
http://comments.gmane.org/gmane.comp.sysutils.puppet.user/30092
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question