Solved

creating Puppet package to install file

Posted on 2013-01-17
1
279 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 W earned 500 total points
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now