[Puppet Users] Executing check times out

2010-08-31 Thread Tore
Hi, Just recently two nodes begun to hang, I cant see that there have been any changes in our manifest. Debug output: [...] debug: //Node[X]/X[X]/Exec[create dir]: Executing check 'test \! -d / dir' debug: Executing 'test \! -d /dir' [...] Here it hangs for several minutes, executin the statemen

[Puppet Users] Environment settings not functional

2010-03-30 Thread Tore
Hi, I've got some problems with setting up environments. On the master: [main] [...] manifestdir = /etc/puppet/manifests modulepath = /etc/puppet/modules [...] environments = production,staging [production] manifestdir = /etc/puppet/manifests modulepath = /etc/puppet/modules [staging] manifestdir

[Puppet Users] Re: Environment settings not functional

2010-03-31 Thread Tore
r, 17:45, deet wrote: > > On the staging nodes, I've got this entry under [puppetd] in > > puppet.conf: > > environment = staging > >   Tore. > > To get environments working I had to include modulepath, manifest and > manifestdir under each enviroment in pup

[Puppet Users] Exported resource [...] cannot override local resource - Common error, how to get around

2010-04-06 Thread Tore
Hi, I've runned into a fairly common problem: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource File[list-updates] cannot override local resource on node X http://projects.puppetlabs.com/projects/puppet/wiki/Frequently_Asked_Questions I cannot see how I ca

[Puppet Users] Re: Exported resource [...] cannot override local resource - Common error, how to get around

2010-04-06 Thread Tore
. Then > search for tags for instead for the import. > > For example: > > @@file { "/opt/puppet/list-updates/${fqdn}": >         ensure  => present, >         source  => "file:///tmp/puppet-list-updates", >         backup  => false, >         tag

[Puppet Users] Re: puppet clients dieing

2010-04-06 Thread Tore
Does your logs say anything about puppetd dieing during the network outage? On 7 apr, 07:09, Nat wrote: > Hi list, > > has anyone else experienced puppet clients that die when the network goes > down for an extended period of time ? > > OS rhel 5 > puppet clients / master 0.25.1 > > clients are l

[Puppet Users] Possible options to transfer information from nodes to master?

2010-04-07 Thread Tore
What options does puppet provide to transfer information back to puppetmaster? I just wrote a quick manifest to create files on the puppetmaster based on information from the nodes: http://pastebin.com/MyurwLrE Then it struck me, this wont work at all since (of course) the configuration is compil

[Puppet Users] Re: Possible options to transfer information from nodes to master?

2010-04-08 Thread Tore
can be quite time consuming to compare 30 httpd.conf just to verify that they are equal (they should be, but you never know without checking it) before managing them with puppet. Thanks for your help /Tore On 7 apr, 16:36, Daniel Pittman wrote: > Tore writes: > > What options does pupp

[Puppet Users] Re: Could not create PID file error when .svn directory exists.

2010-04-18 Thread Tore
Did you try to start puppetmaster prior you removed the .svn directory? On Apr 15, 11:18 pm, Mike wrote: > Getting some strange behavior when I try and start the puppetmaster. > I keep my configs in a subversion repository so naturally there > are .svn directories within the puppet config directo

[Puppet Users] Re: Is this an intermediate / advanced puppet users list??

2010-04-27 Thread Tore
If you want to learn more and like reading, check out James Turnbull's book: http://www.amazon.com/Pulling-Strings-Puppet-Configuration-Management/dp/1590599780 I've got it myself and I think its a good book. On 26 apr, 16:13, "Gabriel - IP Guys" wrote: > Dear Guys (and girls and autobots), > >

[Puppet Users] Could not find class, code-blind

2010-06-17 Thread Tore
I'm troubled with a node-definition not able to resolve a class: Could not find class rhnsd::common at /etc/puppet/manifests/nodes.pp: 8 on node X Content of manifest/site.pp: import "nodes.pp" [...] The layout of modules/rhnsd/ is: |-- files | `-- up2date-rhn |-- manifests | |-- client.pp |

[Puppet Users] Re: Could not find class, code-blind

2010-06-17 Thread Tore
Silviu Paragina wrote: > On 17.06.2010 13:31, Tore wrote: > > > I'm troubled with a node-definition not able to resolve a class: > >   Could not find class rhnsd::common at /etc/puppet/manifests/nodes.pp: > > 8 on node X > > > Content of manifest/site.pp: > &

[Puppet Users] Nagios allowed hosts, how would you do it?

2010-07-20 Thread Tore
Hi, We currently have a module `nagios` which install nrpe and nagios plugins for all nodes. The default node have this module included. Currently we have a customer who wants to monitor their own services. We will still monitor them, but they want to do their own checks, fair enough. How would

[Puppet Users] Re: subscribing a service to multiple files ?

2010-07-20 Thread Tore
You could also do: class httpd { ... file { '/etc/monit.d/httpd.conf': ... notify => Service['monit'] } } But I would rather do it on the service, since then you can with ease read one line to find out what that service response to. On 16 Jul, 18:48, phrawzty wrote: > Hell

[Puppet Users] Re: Installping puppet with kickstart -- Cannot find local fact /proc/cpuinfo

2010-07-20 Thread Tore
We use Satellite to kickstart our nodes. Have you tried to do this after %post? kickstart-file, I've removed a few lines: install text [] %packages @ Base %pre $kickstart_start $SNIPPET('pre_install_network_config') %post --nochroot mkdir /mnt/sysimage/tmp/ks-tree-copy [...] cp `awk '{ if (

[Puppet Users] Re: Nagios allowed hosts, how would you do it?

2010-07-23 Thread Tore
uld rather make classes out of this rather than using nodes for this. It would make more sense to make a class for variabels, then a class for includes, then I'm able to change variabels in the middle. Any toughts`? On 20 Jul, 14:06, Tore wrote: > Hi, > > We currently have a module `n

[Puppet Users] Re: Recursively setting owner ?

2010-07-23 Thread Tore
Arn't you missing the purge option? Be carefull, if you do something wrong it could destroy you data. Make a test directory for this. On 23 Jul, 08:07, alcy wrote: > Alright so if I have something like > > file {"xyz": > >        ensure=>directory, >        mode=>644 >        owner=>"abc", >    

[Puppet Users] Re: 0.25.4 caching problem with custom function

2010-07-26 Thread Tore
Could it be that when you change "nagios_name.rb" file on pupptermaster A, there is an event triggered so that Apache reloads this file? But since this event isn't passed over to nfs in any way, this doesn't happend to puppetmaster B? Have you tried to restart every component after you change a fi

[Puppet Users] Re: Help with setting facts for MySQL replication

2010-07-28 Thread Tore
I use cobbler and I push certain information to the kickstarting system via ksmeta, e.g.: cobbler system add --name=rhel-32bit --mac=XX:XX:XX:XX:XX:XX [...] -- ksmeta="swap=256 puppet=true" This example allows us to define the swap size and if puppet should be installed and configured. We use the

Re: [Puppet Users] Could not find class, code-blind

2010-06-18 Thread Tore Lønøy
Darn it. now I see the typo. I looked at your comment for 5 mins before i noticed. Oh well :) Thanks alot! On 17 June 2010 19:55, Gabriel Filion wrote: > On 2010-06-17 06:31, Tore wrote: > > I'm troubled with a node-definition not able to resolve a class: > > Could not find

[Puppet Users] Re: Announce: Puppet 3.2.1 Available

2013-05-22 Thread Tore Birkeland
Oops, sorry, I found it in the "dependencies" repo as you said :) Adding "deb http://apt.puppetlabs.com precise dependencies" to my sources.list fixed it. cheers, -Tore On Thursday, May 23, 2013 2:08:42 AM UTC+2, Matthaus Litteken wrote: > > I neglected to mention in

[Puppet Users] Re: Announce: Puppet 3.2.1 Available

2013-05-22 Thread Tore Birkeland
I'm unable to find the ruby-rgen package in the precise apt repo. This is on a fresh EC2 instance, so I don't believe there are any caching going on. It also seems like you have made previous releases of puppet-common dependent on ruby-rgen as well. Is that it really necessary? che