Re: [Puppet Users] mcollective tcp port

2012-10-09 Thread R.I.Pienaar
- Original Message - > From: "Andrei-Florian Staicu" > To: puppet-users@googlegroups.com > Sent: Tuesday, October 9, 2012 7:28:25 AM > Subject: [Puppet Users] mcollective tcp port > > Hi all, > > I'm trying to prepare a common config for the DMZ hosts, and also to > account for future

Re: [Puppet Users] mcollective tcp port

2012-10-09 Thread Andrei-Florian Staicu
On Tue, Oct 9, 2012 at 10:21 AM, R.I.Pienaar wrote: > > > - Original Message - >> From: "Andrei-Florian Staicu" >> To: puppet-users@googlegroups.com >> Sent: Tuesday, October 9, 2012 7:28:25 AM >> Subject: [Puppet Users] mcollective tcp port >> >> Hi all, >> >> I'm trying to prepare a com

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-09 Thread David Schmitt
Use file's replace => false parameter. See http://docs.puppetlabs.com/references/latest/type.html#file Fun, D. On 09.10.2012 07:19, pdurkin wrote: I've been looking around but can't seem to find an answer to this. I would like to create a file whose initial contents come from the default in

Re: [Puppet Users] mcollective tcp port

2012-10-09 Thread R.I.Pienaar
- Original Message - > From: "Andrei-Florian Staicu" > To: puppet-users@googlegroups.com > Sent: Tuesday, October 9, 2012 8:29:41 AM > Subject: Re: [Puppet Users] mcollective tcp port > > On Tue, Oct 9, 2012 at 10:21 AM, R.I.Pienaar wrote: > > > > > > - Original Message - > >>

Re: [Puppet Users] mcollective tcp port

2012-10-09 Thread Andrei-Florian Staicu
On Tue, Oct 9, 2012 at 10:36 AM, R.I.Pienaar wrote: > > > - Original Message - >> From: "Andrei-Florian Staicu" >> To: puppet-users@googlegroups.com >> Sent: Tuesday, October 9, 2012 8:29:41 AM >> Subject: Re: [Puppet Users] mcollective tcp port >> >> On Tue, Oct 9, 2012 at 10:21 AM, R.I.

[Puppet Users] Possible to disable global definition outside of nodes?

2012-10-09 Thread Sandra Schlichting
Hi =) I just made the following mistake, but puppet 2.7.19 didn't complain. node test { ... } package { [ ... ]: ensure => present } So I guess all the packages became global for all nodes? Is it possible to disable this "global definition" option, or get puppet to warn about it? Hugs,

Re: [Puppet Users] Invalid resource type anchor.

2012-10-09 Thread Fran Rodríguez
Yes, it does. This occurs when change apt module for the puppetlabs-apt. Maybe is a issue with environments, im trying to figure out what is happening, and like the log said the module stdlib which provide the anchor type, is not being recognize. On Monday, October 8, 2012 10:15:46 PM UTC+2, J

Re: [Puppet Users] Invalid resource type anchor.

2012-10-09 Thread Hugh Cole-Baker
On Tuesday, October 9, 2012 10:24:53 AM UTC+1, Fran Rodríguez wrote: > Yes, it does. This occurs when change apt module for the puppetlabs-apt. > Maybe is a issue with environments, im trying to figure out what is > happening, and like the log said the module stdlib which provide the anchor > t

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-09 Thread Mason Turner
That is the intent of "ensure => present". If the file isn't there, puppet will create it with the source/content parameter. If it is there (exists), puppet will leave it alone. http://docs.puppetlabs.com/references/latest/type.html#file — Mason Turner On Oct 9, 2012, at 1:19 AM, pdurkin wrot

Re: [Puppet Users] Possible to disable global definition outside of nodes?

2012-10-09 Thread Henrik Lindberg
Afaik, there is no way to make puppet tell you about this. Puppet is a powerful tool and you got what you asked for :-) What you can do is to write Rspec tests for your catalogs and use that as a regression test. Hope that helps. - henrik On 2012-09-10 10:45, Sandra Schlichting wrote: Hi =)

[Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
Hello, I've been trying to implement a puppet definition that uses vcsrepo and notifies the caller through an update_notify parameter when the repository contents change on disk. I have however found this very hard to accomplish. Basically I am trying to pull down a git repo and when the head

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Henrik Lindberg
Did you try using an update resource, and a build resource, where the second depends on the first? i.e. something like exec { 'repository_update': command => 'git pull', } exec { 'build': command => 'make', require => Exec['repository_update'] } or, if you prefer: exec { 'repository_upd

[Puppet Users] PuppetDB crashes upon startup

2012-10-09 Thread Ger Apeldoorn
Hi, I've got a Puppet Enterprise 2.6 installation on RHEL6 and have followed this installer doc: http://docs.puppetlabs.com/puppetdb/1/install.html When I try to start the daemon, I get the following in the errorlogs: JVMDUMP010I System dump written to /tmp/core.20121009.144917.3691.0001.dmp JV

[Puppet Users] Re: Creation of modifiable files via puppet

2012-10-09 Thread jcbollinger
On Tuesday, October 9, 2012 12:19:20 AM UTC-5, pdurkin wrote: > > I've been looking around but can't seem to find an answer to this. > > I would like to create a file whose initial contents come from the default > in the puppet server but is subsequently modifiable and puppet won't > overwrite

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
Unfortunately what I need is a little more abstract because I have rolled my definition into a module that is used by other modules. Below is my definition (that does not work as intended) right now define git::repo ( $repo_name= $name, $user = $git::params::use

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
Sorry, my last post got cut off: So my real problem is how to trigger the conditional exec notify after the vcsrepo resource pulls in updates. It is very important that this stay abstract because this is used in multiple modules and in each triggers different build operations. On Tuesday,

[Puppet Users] Re: PuppetDB crashes upon startup

2012-10-09 Thread Ger Apeldoorn
The issue was that there was java 1.7 installed, forcing it to a java 1.6 JVM seems to fix this. Thanks Ger Op dinsdag 9 oktober 2012 13:05:10 UTC schreef Ger Apeldoorn het volgende: > > Hi, > > I've got a Puppet Enterprise 2.6 installation on RHEL6 and have followed > this installer doc: http:

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Ramin K
On 10/9/2012 6:40 AM, Adrian Webb wrote: Unfortunately what I need is a little more abstract because I have rolled my definition into a module that is used by other modules. Below is my definition (that does not work as intended) right now define git::repo ( $repo_name = $name, $user = $git::p

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
Are you sure this notify is only triggered when there is an actual change in the repo (working copy has changed) or is it when the vcsrepo resource is executed like most notify's? On Tuesday, October 9, 2012 3:18:48 PM UTC+1, Ramin K wrote: > > On 10/9/2012 6:40 AM, Adrian Webb wrote: > > Unfor

[Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-09 Thread Luca Gioppo
Same problem for me: here is the trace: Error: Cached catalog for backup.cortile.cloudlabcsi.local failed: Could not autoload puppet/indirector/catalog/active_record: uninitialized constant ActiveRecord /usr/lib/ruby/site_ruby/1.8/puppet/util/autoload.rb:75:in `load_file' /usr/lib/ruby/site_ruby

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Ramin K
On 10/9/2012 7:25 AM, Adrian Webb wrote: Are you sure this notify is only triggered when there is an actual change in the repo (working copy has changed) or is it when the vcsrepo resource is executed like most notify's? I don't believe your logic on Puppet notifies is correct. Assuming the p

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
Will do. Thanks! Do you by any chance know how notifications are generated by providers? In essence, what tells Puppet that there needs to be a notify? I was looking through the vcsrepo git provider code but did not see anything that looked like it would tell but I am newer to the low level

[Puppet Users] Re: Question about conditional exec notifications

2012-10-09 Thread jcbollinger
On Tuesday, October 9, 2012 6:12:30 AM UTC-5, Adrian Webb wrote: > > Hello, > > I've been trying to implement a puppet definition that uses vcsrepo and > notifies the caller through an update_notify parameter when the repository > contents change on disk. I have however found this very hard to

[Puppet Users] Re: Replacing a file if a checksum matches

2012-10-09 Thread Axel Bock
Hi Klaus, why not simply manage the file using puppet (file { "/to/my/file" : ensure => present, content => "..." }) ? Puppet actually makes sure the file's contents are always constant. HTH, Axel. Am Dienstag, 9. Oktober 2012 14:08:52 UTC+2 schrieb Klaus Ethgen: > > Hello, > > is it poss

Re: [Puppet Users] Invalid resource type anchor.

2012-10-09 Thread Fran Rodríguez
Thanks Hugh, you are right!! Now it works. On Tuesday, October 9, 2012 12:20:33 PM UTC+2, Hugh Cole-Baker wrote: > > On Tuesday, October 9, 2012 10:24:53 AM UTC+1, Fran Rodríguez wrote: > >> Yes, it does. This occurs when change apt module for the puppetlabs-apt. >> Maybe is a issue with environm

[Puppet Users] Re: Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
That is definitely helpful information. Thanks! So about the repo notifications: Could I assume that the true or false state of the def below in the vcsrepo.rb resource type controls whether the notification is fired or not for the related providers? Forgive me I'm rather new to the lower lev

[Puppet Users] Seeing an error that is totally confusing the heck out of me

2012-10-09 Thread Peter Berghold
Got the following: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload package: Could not autoload /usr/local/lib/site_ruby/1.8/puppet/provider/package/windows.rb: no such file to load -- windows/error at /etc/puppet/modules/php/manifests/init.pp:28 on node

Re: [Puppet Users] RHEL 5: Stuck on Puppet 2.7

2012-10-09 Thread Craig White
If you install ruby from one source, you can't use rpm's from another source and expect them to always work. Chances are that the libraries use to build ruby are not the same libraries to build passenger. If you want to ensure a working passenger when using a non-official CentOS ruby, then just

[Puppet Users] Wierd errors RESOLVED

2012-10-09 Thread Peter Berghold
Found the issue with respect to the error I posted earlier. Seems I had to backdate facter as well as puppet to make the issue disappear. -- Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net -- You received this message because you are subscribed to th

Re: [Puppet Users] Seeing an error that is totally confusing the heck out of me

2012-10-09 Thread Michael Stahnke
On Tue, Oct 9, 2012 at 8:22 AM, Peter Berghold wrote: > Got the following: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not autoload package: Could not autoload > /usr/local/lib/site_ruby/1.8/puppet/provider/package/windows.rb: no such > file to load -- wind

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-09 Thread Josh Cooper
Jonathan and Luca, How did you install puppet (from source, gem, apt-get, ...)? In the cases that fail, is it always that you installed 2.7.x and upgraded from there? If so, how did you update? We are tracking this issue at http://projects.puppetlabs.com/issues/16770 Josh On Tue, Oct 9, 2012 at

Re: [Puppet Users] domain resolution in facter

2012-10-09 Thread Michael Stahnke
On Tue, Oct 9, 2012 at 5:05 AM, Klaus Ethgen wrote: > Hello, > > The domain.rb tries to get the domain by calling hostname without any > option. This will mostly leed in only the name without any domain part. > The hostname tool only give the fqdn if called with -f (or --fqdn or > --long). > > Add

Re: [Puppet Users] Seeing an error that is totally confusing the heck out of me

2012-10-09 Thread Peter Berghold
On Tue, Oct 9, 2012 at 11:52 AM, Michael Stahnke wrote: > > The contents of that php/manifests/init.pp file might be helpful here. > > It actually turned out to be totally unrelated to the PHP module. When I backdated to 2.7.11 I needed to do two things as it turns out. 1. Backdate facter 2. cl

Re: [Puppet Users] RHEL 5: Stuck on Puppet 2.7

2012-10-09 Thread Jakov Sosic
On 10/09/2012 05:26 PM, Craig White wrote: If you install ruby from one source, you can't use rpm's from another source and expect them to always work. Chances are that the libraries use to build ruby are not the same libraries to build passenger. If you want to ensure a working passenger when

[Puppet Users] Puppet master and Servants inside DMZ

2012-10-09 Thread Peter Spatz
Hey, my puppet works great now. Plans are going in know. My FW admin said, he dont wan´t s the servants polling from inside DMZ to the Master. What´s the strategy then? Use kick, is this one connection doing all, or just wake up agent and he creates own new connection? Regards Peter -- You

[Puppet Users] How to use prerun_command in puppet.conf ?

2012-10-09 Thread Sandra Schlichting
Hi, I am using puppet 2.7.19 and if I use puppet.conf as [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig prerun_command = /bin/false or add prerun to [main] and do puppet

[Puppet Users] 3.0 and Passenger

2012-10-09 Thread Worker Bee
Can anyone direct me to documentation for configuring 3.0 to use apache/passenger? I cannot seem to fin this for puppet open source. Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@goog

[Puppet Users] Re: razor hang

2012-10-09 Thread Daniel Pittman
On Monday, October 8, 2012 9:30:37 AM UTC-7, Markus Falb wrote: > > I was playing with razor today. But I am not going far. > > ipxe is downloading the microkernel but stays at 98% > On the server side I see > > /opt/razor/Razor/bin/razor -w boot default > '{"hw_id":"00:50:56:2e:c4:50___",

[Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Andrei-Florian Staicu
Hi all, I wanted to upgrade today the clients to 3.0 but, for RHEL 5, ruby 1.8.7 is not in the official repos. If we upgrade from the official (1.8.5) package to the puppetlabs provided one, there is a good chance that we will lose support for several applications that we are running. Is there a w

Re: [Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Matthaus Owens
ruby 1.8.7 is in the dependencies repo for el5. That repo is enabled by default if you install the puppetlabs-release package (http://yum.puppetlabs.com/el/5/products/x86_64/puppetlabs-release-5-6.noarch.rpm). http://yum.puppetlabs.com/el/5/dependencies/{i386,x86_64,SRPMS}/ Once you add the depen

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-09 Thread Jonathan Gazeley
My version of puppet 2.7 was installed on CentOS 6 from the puppetlabs RPM repo with "yum install puppet". When puppet 3 was released, I did a "yum update" to get the latest. The issue does not occur with a blank CentOS box starting out with puppet 3. Want me to add this information to the tra

Re: [Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Matthaus Owens
Oh, sorry, I didn't understand what you had written before responding. Please ignore my reply :). On Tue, Oct 9, 2012 at 9:54 AM, Matthaus Owens wrote: > ruby 1.8.7 is in the dependencies repo for el5. That repo is enabled > by default if you install the puppetlabs-release package > (http://yum.p

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-09 Thread Joe Hillenbrand
Same story here. Started with puppet 2.7 on Ubuntu 10.04, did apt-get upgrade, then it broke. I have since switched from storedconfig to PuppetDB, which I highly recommend to anyone else having this issue. On Tue, Oct 9, 2012 at 9:54 AM, Jonathan Gazeley wrote: > My version of puppet 2.7 was ins

[Puppet Users] Service Resources and Selinux

2012-10-09 Thread Tom
Hi list, I've got an issue at the moment, which isn't really a big problem, but an untidy annoyance really, and I'd just like to understand what the best practice might be when dealing with the issue. As a really quick summary, the issue is that Puppet is starting up the mysqld service for t

[Puppet Users] Setting Powershell execution policy through Puppet

2012-10-09 Thread Puppet 3.0 Powershell 2.0 Set ExecutionPolicy Err
Hi, I am trying to set the execution policy on the Powershell 64 bit version. exec { 'rolesfeatures1': command => 'C:\Windows\System32\cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe Invoke-Command {Set-ExecutionPolicy RemoteSigned}', provider => windows, logoutput =>

[Puppet Users] performance of source vs template vs file

2012-10-09 Thread Mihai Stan
Hello everyone, I'm currently looking into using puppet to manage my homedir .dot files, including .vim/ folder with a bunch of plugins totaling a few tens of files (almost 100), in order to have a pleasant and productive working experience on our organization's 500+ machines. While this looks

[Puppet Users] Re: upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Puppet 3.0 Powershell 2.0 Set ExecutionPolicy Err
Hi, I dont know about redhat but i did change my ubuntu repository list to point to the /dev repositories rather than the /main repositories and it worked. On Tuesday, October 9, 2012 12:51:59 PM UTC-4, SAF wrote: > > Hi all, > > I wanted to upgrade today the clients to 3.0 but, for RHEL 5, r

Re: [Puppet Users] domain resolution in facter

2012-10-09 Thread Michael Stahnke
On Tue, Oct 9, 2012 at 9:46 AM, Klaus Ethgen wrote: > Michael Stahnke schrieb: > [Bug in domain.rb] >>> I think that is a bug in facter but I do not know how to open a bug >>> report on the website, there is only a way to display open issues. >> >> You can open one here: http://projects.puppetlab

Re: [Puppet Users] Re: Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-09 Thread Jeff McCune
On Mon, Oct 8, 2012 at 12:21 PM, Jeff McCune wrote: > > Finally, we acknowledge that using `ensure => latest` inside of > Puppet, or doing the equivalent of `yum install puppet` in kickstart, > scripts, or cobbler doesn't qualify as knowingly deciding to upgrade > across incompatible versions. No

Re: [Puppet Users] RHEL 5: Stuck on Puppet 2.7

2012-10-09 Thread Craig White
different strokes for different folks. ruby and the various gem packages move so fast that no packaging system really has a chance of keeping up. It's also extremely likely that what we are talking about is a puppet master where you will have to resort to gem packaging anyway to install rails/r

Re: [Puppet Users] Setting Powershell execution policy through Puppet

2012-10-09 Thread Josh Cooper
On Tue, Oct 9, 2012 at 9:58 AM, Puppet 3.0 Powershell 2.0 Set ExecutionPolicy Err wrote: > Hi, > > I am trying to set the execution policy on the Powershell 64 bit version. > > > exec { 'rolesfeatures1': > command => 'C:\Windows\System32\cmd.exe /c > C:\Windows\System32\WindowsPowerShell\v1.0\Powe

Re: [Puppet Users] 3.0 and Passenger

2012-10-09 Thread Jeff McCune
On Tue, Oct 9, 2012 at 9:31 AM, Worker Bee wrote: > Can anyone direct me to documentation for configuring 3.0 to use > apache/passenger? I cannot seem to fin this for puppet open source. The documentation is largely the same as previous versions [1], the difference being a new config.ru [2] file

Re: [Puppet Users] 3.0 and Passenger

2012-10-09 Thread Worker Bee
Ok, thanks! On Tue, Oct 9, 2012 at 2:01 PM, Jeff McCune wrote: > On Tue, Oct 9, 2012 at 9:31 AM, Worker Bee wrote: > > Can anyone direct me to documentation for configuring 3.0 to use > > apache/passenger? I cannot seem to fin this for puppet open source. > > The documentation is largely the s

[Puppet Users] Answer a question after a command has been run in a init.pp in a module.

2012-10-09 Thread JGonza1
I have the command below in a init.pp file that I run to startup splunk for the first time but it outputs the license agreement which requires to input a y or n. Is there a way to input a y after the lincese agreement? exec { "start": command => "/opt/splunkforwarder/bin/splunk start",

[Puppet Users] Puppet 3.0 on Debian Lenny

2012-10-09 Thread Felipe Salum
Hi guys. I don't see the latest puppet 3.0 on the puppetlabs debian repository for lenny and also the latest puppet dashboard. Aren't you guys adding the new versions to the deprecated Debian Lenny anymore ? Can I grab the puppet 3.0 agent from squeeze to use on Lenny ? Regards, Felipe -- Y

Re: [Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Andrei-Florian Staicu
On Tue, Oct 9, 2012 at 7:55 PM, Matthaus Owens wrote: > Oh, sorry, I didn't understand what you had written before responding. > Please ignore my reply :). No worries, thanks for replying. Another solution/question would be: could i function properly with puppetmaster 3.0 and clients 2.7.19 (on

Re: [Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Matthaus Owens
2.7.19 clients should work just fine against a 3.0 master. On Tue, Oct 9, 2012 at 11:38 AM, Andrei-Florian Staicu wrote: > On Tue, Oct 9, 2012 at 7:55 PM, Matthaus Owens > wrote: >> Oh, sorry, I didn't understand what you had written before responding. >> Please ignore my reply :). > > No worri

Re: [Puppet Users] upgrade to 3.0, ruby and rhel 5

2012-10-09 Thread Andrei-Florian Staicu
On Tue, Oct 9, 2012 at 9:48 PM, Matthaus Owens wrote: > 2.7.19 clients should work just fine against a 3.0 master. Excellent. I'll remove the 3.0 packages from our satellite then. Thanks for you answer. -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Ramin K
On 10/9/2012 7:43 AM, Adrian Webb wrote: Will do. Thanks! Do you by any chance know how notifications are generated by providers? In essence, what tells Puppet that there needs to be a notify? I was looking through the vcsrepo git provider code but did not see anything that looked like it woul

[Puppet Users] Puppet 3.0, Passenger not starting

2012-10-09 Thread Worker Bee
Hello Everyone; I am somewhat of a newbie to puppet... I have installed puppet 3.0 and configured according to the insteuctions for 2.6 I updated the config.ru as instructed for 3.0. However, when I start httpd manually, passenger starts. When I start puppetmaster, it does not start httpd and is

Re: [Puppet Users] RHEL 5: Stuck on Puppet 2.7

2012-10-09 Thread Jo Rhett
Dude, seriously. Install Ruby, then build the passenger RPMs. It just works. No, you can't use passenger between the time you update Ruby and before you update Passenger. You are updating interlocked dependancies. Install them both at once. On Oct 8, 2012, at 2:44 PM, Dan White wrote: > I think

Re: [Puppet Users] Puppet 3.0, Passenger not starting

2012-10-09 Thread Jo Rhett
On Oct 9, 2012, at 12:04 PM, Worker Bee wrote: > However, when I start httpd manually, passenger starts. When I start > puppetmaster, it does not start httpd and is still using WebBrick… > I am stumped and not really even sure where to begin troubleshooting. Yes, puppetmaster service is webric

[Puppet Users] Re: Puppet 3.0, Passenger not starting

2012-10-09 Thread Ellison Marks
Running the puppetmaster from it's init script runs the default server, and you don't want it running if you're using passenger. As long as you've set up passenger correctly and httpd is running, you have a puppetmaster running. Try triggering a client. On Tuesday, October 9, 2012 12:04:54 PM U

Re: [Puppet Users] Puppet 3 killed my environment variables

2012-10-09 Thread Hawk Kroeger
Hey jwkoelewijn, do you mind posting your solution for the rabbitmq provider. Thanks! On Monday, 8 October 2012 04:18:42 UTC-7, jwkoelewijn wrote: > > Thanks for this suggestion, > > this did the trick! > > Kind regards, > > J.W. Koelewijn > > On Thursday, October 4, 2012 4:24:26 PM UTC+2, jcbol

[Puppet Users] Trying to set up a class parameter override.

2012-10-09 Thread jeff.b
I'm trying to set up some classes where there is a default action that is applied to everything in a base class. And then have a subclass that can override the default action for specific resources. I am using this blog post as inspiration: http://www.craigdunn.org/2011/09/puppet-parameteriz

Re: [Puppet Users] Puppet 3.0 on Debian Lenny

2012-10-09 Thread Matthaus Owens
Yes, the squeeze packages *should* work just fine on lenny. We aren't building new packages for lenny because, as you note, lenny went EOL in February. On Tue, Oct 9, 2012 at 11:29 AM, Felipe Salum wrote: > Hi guys. > > I don't see the latest puppet 3.0 on the puppetlabs debian repository for > l

Re: [Puppet Users] Re: Puppet 3.0, Passenger not starting

2012-10-09 Thread Worker Bee
Thanks, guys! Totally forgot about that! Much appreciated! Have a great evening! On Tue, Oct 9, 2012 at 3:14 PM, Ellison Marks wrote: > Running the puppetmaster from it's init script runs the default server, > and you don't want it running if you're using passenger. As long as you've > s

Re: [Puppet Users] Answer a question after a command has been run in a init.pp in a module.

2012-10-09 Thread Gonzalo Servat
On Wed, Oct 10, 2012 at 5:26 AM, JGonza1 wrote: > I have the command below in a init.pp file that I run to startup splunk > for the first time but it outputs the license agreement which requires to > input a y or n. Is there a way to input a y after the lincese agreement? > According to http://d

[Puppet Users] Re: Answer a question after a command has been run in a init.pp in a module.

2012-10-09 Thread Michael Dodwell
For future reference you where trying to do: command => "yes | /opt/splunkforwarder/bin/splunk start", 'yes' is a unix program that will type 'y' over and over again.. you could also of used 'echo y | ' if you needed just 1 y.. On Wednesday, October 10, 2012 5:26:37 AM UTC+11, JGonza1 wrote:

[Puppet Users] preseed chroot enterprise install failing

2012-10-09 Thread Andrew Galka
Hi I'm installing puppet enterprise 2.6 in the preseed last_command process for ubuntu. While running the installer in a chroot, it is failing while it attempts to start the agent (pe-puppet-agent: unrecognized service). This all makes perfect sense. I was wondering is there a way to stop the

Re: [Puppet Users] preseed chroot enterprise install failing

2012-10-09 Thread Matthaus Owens
Andrew, If you set 'q_puppet_agent_first_run=n' in your answers file, the agent service won't be started at the end of the install. On Tue, Oct 9, 2012 at 4:24 PM, Andrew Galka wrote: > Hi > > I'm installing puppet enterprise 2.6 in the preseed last_command process for > ubuntu. While running the

Re: [Puppet Users] Service Resources and Selinux

2012-10-09 Thread Peter Brown
You need to add a require to the service for the config files you are managing. I find the best way to do that is put all the config files in a config subclass and then require that in in the service. On 10 October 2012 01:02, Tom wrote: > Hi list, > > I've got an issue at the moment, which isn'

[Puppet Users] Re: preseed chroot enterprise install failing

2012-10-09 Thread Andrew Galka
TY!!! On Wednesday, October 10, 2012 10:24:47 AM UTC+11, Andrew Galka wrote: > > Hi > > I'm installing puppet enterprise 2.6 in the preseed last_command process > for ubuntu. While running the installer in a chroot, it is failing while it > attempts to start the agent (pe-puppet-agent: unrecogni

[Puppet Users] Re: Creation of modifiable files via puppet

2012-10-09 Thread pdurkin
Thanks for all the help, the two solutions + using them both together will solve all the situations I'm considering. Paul On Tuesday, October 9, 2012 9:19:20 AM UTC+4, pdurkin wrote: > > I've been looking around but can't seem to find an answer to this. > > I would like to create a file whose in

[Puppet Users] Puppet client not listening on port 8139

2012-10-09 Thread Pondy
Hi everyone, Please help, I have built a new server and installed puppet (2.6.17) running on RHEL 6.3. It seems that it is not listening on port 8139. iptables -L: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target

[Puppet Users] Scalability and performance

2012-10-09 Thread Robjon
Hi guys, I am pretty new to this space, playing around with a few tools. I am trying to read up on how I would scale Puppet (or other tools) up in my installation, and came across this blog post comparing Puppet and CFEngine: http://www.blogcompiler.com/2012/09/30/scalability-of-cfengine-and-pu

Re: [Puppet Users] Scalability and performance

2012-10-09 Thread Dan Bode
On Tue, Oct 9, 2012 at 4:56 PM, Robjon wrote: > Hi guys, > > I am pretty new to this space, playing around with a few tools. > I am trying to read up on how I would scale Puppet (or other tools) up in > my installation, and came across this blog post comparing Puppet and > CFEngine: > http://www.

Re: [Puppet Users] Service Resources and Selinux

2012-10-09 Thread Tom
Hi, Thanks for the response. Really, I think the way I'm approaching this is thinking about starting mysqld under the right selinux user context so that it doesn't label its own files incorrectly. Every time a database or table is created, MySQL will be creating it under the wrong user cont