Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

creating Puppet package to install file

Posted on 2013-01-17
1
Medium Priority
?
288 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 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
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…
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.:
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

671 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