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
Solved

creating Puppet package to install file

Posted on 2013-01-17
1
284 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 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

789 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