[Puppet Users] Installing from source, not a package

2011-07-17 Thread S Ahmed
So I ran through a server setup on ec2, and have a text file of all the commands I used to get the server to where I wanted it. I have a few questions now :) I am running Ubuntu 10.10, and this is for a rails application. 1. I need to install Ruby Enterprise edition, which I had to do the follow

Re: [Puppet Users] Installing from source, not a package

2011-07-17 Thread vagn scott
On 07/17/2011 12:45 PM, S Ahmed wrote: So I ran through a server setup on ec2, and have a text file of all the commands I used to get the server to where I wanted it. step 1: turn your list of commands into an idempotent script #! /bin/sh site=http://rubyenterpriseedition.googlecode.com/files

Re: [Puppet Users] Installing from source, not a package

2011-07-17 Thread Scott Smith
Step 1: don't do that Step 2: make a package On Jul 17, 2011 9:46 AM, "S Ahmed" wrote: > So I ran through a server setup on ec2, and have a text file of all the > commands I used to get the server to where I wanted it. > > I have a few questions now :) > > I am running Ubuntu 10.10, and this is

Re: [Puppet Users] Installing from source, not a package

2011-07-17 Thread S Ahmed
wow, what can I say, thanks for guidance! The last bit of what you said I don't understand: "But, the biggest improvement would be to make your own package and install that instead of fiddling around with this low level stuff in the manifests." On Sun, Jul 17, 2011 at 2:33 PM, vagn scott wrot

Re: [Puppet Users] Installing from source, not a package

2011-07-17 Thread Scott Smith
You don't know what a package is? On Jul 17, 2011 12:05 PM, "S Ahmed" wrote: > wow, what can I say, thanks for guidance! > > The last bit of what you said I don't understand: > > "But, the biggest improvement would be to make your own package and install > that > instead of fiddling around with th

Re: [Puppet Users] Installing from source, not a package

2011-07-17 Thread vagn scott
On 07/17/2011 03:05 PM, S Ahmed wrote: The last bit of what you said I don't understand: "But, the biggest improvement would be to make your own package and install that instead of fiddling around with this low level stuff in the manifests." My apologies. I should remember to use standard

Re: [Puppet Users] Installing from source, not a package

2011-07-17 Thread S Ahmed
I do, I was confused as to whether that was puppet talk or debian/ubuntu related. On Sun, Jul 17, 2011 at 3:07 PM, Scott Smith wrote: > You don't know what a package is? > On Jul 17, 2011 12:05 PM, "S Ahmed" wrote: > > wow, what can I say, thanks for guidance! > > > > The last bit of what you s

Re: [Puppet Users] Installing from source, not a package

2011-07-17 Thread vagn scott
Is suppose I should mention that, if you have an idempotent script like the one mentioned, you can use it directly. Again, not tested, so may bugs. class ruby_from_src { file { "/root/ruby_from_src.sh": content => template("ruby_from_src/ruby_from_src.sh"),

[Puppet Users] ruby DSL and calling defines.

2011-07-17 Thread tu2Bgone
Hi all, Wonder if there is a quick answer to the following question: What I am trying to do is use the ymllookup function to get a list of php ini values to set. php_ini: engine: On short_open_tag: On asp_tags: Off precision: 14 y2k_compliance: On output_buffering: Off zlib.output_compressio