Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

creating Puppet package to install file

Posted on 2013-01-17
1
Medium Priority
?
293 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
1 Comment
 
LVL 29

Accepted Solution

by:
Michael Worsham earned 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month12 days, 20 hours left to enroll

972 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