Re: [Puppet Users] Re: Multiple nodes.pp files

2011-11-19 Thread Hugo Deprez
Thank you Ramin, I used import "nodes/*.pp" this is exactly what I wanted. I am quite confuse about the difference between "import" and "include" (used for a module). is there a real difference ? Regards, Hugo On 17 November 2011 21:04, Ramin K wrote: > Tech documentation is littered with

[Puppet Users] Re: When will Puppet officially support Ruby 1.9.2+

2011-11-19 Thread tetsu
Oh, nice to hear that ! Thank you. On Nov 19, 11:01 am, James Turnbull wrote: > On Nov 18, 2011 5:57 PM, "tetsu" wrote: > > > > > Hello everyone, > > > Ruby 1.8.7 is EOS now. So, when will Puppet become Ruby 1.9.2+ > > compatible? > > > I am considering to deploy Puppet on a large hosts of server

Re: [Puppet Users] Puppet in a bash script

2011-11-19 Thread Harish Agarwal
I did the echo above and didn't get any output It's as if this command is never encountered. If there are errors thrown during the puppet run, will it throw an error and prevent the next command from executing? BTW, I do have the full path of the binaries in my shell script now. -- You r

Re: [Puppet Users] Installing Oracle

2011-11-19 Thread Douglas Garstang
That's what I am already using. On Fri, Nov 18, 2011 at 6:33 PM, Mohamed Lrhazi wrote: > Maybe you need something like this: > http://www.oracle-base.com/articles/misc/OuiSilentInstallations.php > > > On Fri, Nov 18, 2011 at 9:23 PM, Douglas Garstang > wrote: >> This is pretty ugly. >> >> I'm us

Re: [Puppet Users] Installing Oracle

2011-11-19 Thread Ashley Penney
This is not what you want to hear but I ended up installing oracle with the installer and then using "fpm" to bundle the entire thing into (two, because it's too goddamn big) rpms. I had no luck doing the installer via Puppet so I just cheated. On Sat, Nov 19, 2011 at 1:11 PM, Douglas Garstang wr

Re: [Puppet Users] Facter Windows: domain is "none"

2011-11-19 Thread Josh Cooper
Hi Mohamed, On Fri, Nov 18, 2011 at 6:02 PM, Mohamed Lrhazi wrote: > I could swear this worked fine earlier.. Now facter, and hence puppet, > do not see the domain name anymore: > > What could cause this? > > C:\Temp>facter --version > 1.6.2 > > C:\Temp>facter | findstr kernel > kernel => window

Re: [Puppet Users] Installing Oracle

2011-11-19 Thread Ken Barber
I actually agree with Ashley's approach. Binary installation is going to be better done with a package if you can - albeit the package may be quite large. You want to install it in such a way so its generic, and then let Puppet specialize it afterwards. Activities like creating new schemas, users,

Re: [Puppet Users] Installing Oracle

2011-11-19 Thread Douglas Garstang
Ashely, Not familiar with fpm. What is it? Are you saying you installed Oracle, and then use fpm (rpm?) to create a package from the installed files? I thought about that... this approach would work if installing Oracle meant just installing files, but what if the installer executes scripts etc th

Re: [Puppet Users] Installing Oracle

2011-11-19 Thread Eric Shamow
Douglas, https://github.com/jordansissel/fpm It's pretty good at quick and dirty package building. -Eric -- Eric Shamow Professional Services http://puppetlabs.com/ (c)631.871.6441 On Saturday, November 19, 2011 at 1:44 PM, Douglas Garstang wrote: > Ashely, > > Not familiar with fpm. Wha

Re: [Puppet Users] Puppet in a bash script

2011-11-19 Thread Mohamed Lrhazi
Try adding -x to the bash (first line) to output each command as they are run... What if you removed everything in the script but the shutdown command.. does it work? Mohamed. On Sat, Nov 19, 2011 at 11:25 AM, Harish Agarwal wrote: > I did the echo above and didn't get any output  It's as

Re: [Puppet Users] Puppet on windows: File resource problem

2011-11-19 Thread Mohamed Lrhazi
I should note that "--test" enables "--show_diff", even if you add "--show_diff false" to the command line... took me a while to figure that out! On Fri, Nov 18, 2011 at 5:13 PM, Josh Cooper wrote: > Hi Mohamed, > This is issue https://projects.puppetlabs.com/issues/10417 Windows doesn't > have

Re: [Puppet Users] Installing Oracle

2011-11-19 Thread Douglas Garstang
Ashley, Thanks. One question though. I'm not much of an Oracle expert, and I guess this is more of an Oracle question, than a puppet one, but what did you do to configure Oracle on the command line once it was installed? It seems like there are some post install config steps, but the Oracle docume