[Puppet Users] Puppet Agent croaks when running as daemon

2015-11-12 Thread rjl
Folks, I upgraded to open source 3.8.4. If I start the puppet agent daemon on my clients, it croaks with 'puppet-agent[8279]: Could not retrieve local facts: Invalid Argument. Try -h, --help'. I have set debug = true and cannot get any additional information. If I stop the puppet agent, then it

[Puppet Users] Ordering agent runs

2015-10-06 Thread rjl
able to derive a good solution. Scratching my head... Thanks in advance. rjl -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-user

[Puppet Users] CA Master Woes

2015-05-14 Thread rjl
Hi All, I have spent days trying to get a CA Master configuration setup. I have followed the exactly followed the documentation provided by Puppet cannot seem to determine what I am doing wrong. I have DNS configured to Round Robin between 2 Non-CA Puppet Masters. I have one CA Puppet Master. I

[Puppet Users] Re: Puppet 3.2.4 will not recognize that ruby 2.x is installed

2013-08-31 Thread rjl
I found my own answer. I didn't realize that I either have to install ruby via an rpm or use --no-deps to install. On Saturday, August 31, 2013 1:57:43 PM UTC-6, rjl wrote: > > I am trying to install puppet puppet-server 3.2.4-1. I have installed ruby > 2.0.0p247 from sour

[Puppet Users] Puppet 3.2.4 will not recognize that ruby 2.x is installed

2013-08-31 Thread rjl
I am trying to install puppet puppet-server 3.2.4-1. I have installed ruby 2.0.0p247 from source. This is on Centos5.9. I am installing from my own yum repository. All of my dependencies are resolved except for ruby. --> Finished Dependency Resolution puppet-3.2.4-1.el5.noarch from lvlt-tools-fa

[Puppet Users] Re: Will the puppetmaster compile a catalog if there are not changes?

2013-08-08 Thread rjl
d one or an old one if it didn't need to > recompile. > > On Thursday, August 8, 2013 1:09:32 PM UTC-7, rjl wrote: >> >> I have been asked a question for which I cannot seem to find an answer. >> When a client contacts my puppetmaster, will the puppet master compil

[Puppet Users] Will the puppetmaster compile a catalog if there are not changes?

2013-08-08 Thread rjl
o you need not do anything'? Thanks in advance rjl -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. T

[Puppet Users] IBM gpfs file system and mount resource

2013-05-01 Thread rjl
Hi all, I wonder if anyone know whether or not it is possible to issue a custom mount command via the mount resource? My issue is that we are running a gpfs file system which uses the commands mmmount and mmumount for file system mounting and re-mounting. The standard mount resource does not w

[Puppet Users] Re: Modify Facter Value

2012-07-31 Thread rjl
cts can override other ruby custom facts once they are > set (thought I believe the FACTER_ environment variables can override ruby > custom facts). > > On Tuesday, July 31, 2012 3:38:15 PM UTC-5, rjl wrote: >> >> Hi all, >> I have a custom facts script that is dis

[Puppet Users] Re: Modify Facter Value

2012-07-31 Thread rjl
Of course should be == and not = if Facter.value("http_server") == "false" # Change value of "server_type" here. I have tried many different approaches but none work. end On Tuesday, July 31, 2012 2:38:15 PM UTC-6, rjl wrote: > > Hi all, > I have a cus

[Puppet Users] Modify Facter Value

2012-07-31 Thread rjl
Hi all, I have a custom facts script that is distributed to all of my puppet clients. This first thing this script does is read a file on the client to determine the 'type' of server that it is. Later in the script, I would like to change the value based on some additional information. I don't s

[Puppet Users] Re: coping linked files problem

2012-05-03 Thread rjl
Found the problem. Looks like a return character...here is my solution. $realname = regsubst(generate('/usr/bin/readlink','/opt/level3/component/ams/repo/current'),'^(.*)\n$','\1') On Thursday, May 3, 2012 12:03:59 PM UTC-6, rjl wrote: > > Hi, &g

Re: [Puppet Users] coping linked files problem

2012-05-03 Thread rjl
; > $linkvalue = generate('/usr/bin/readlink', '/somepath/current'); > $linkbasename = generate('/usr/bin/basename', $linkvalue); > > and then > >path -> "destinationpath/$linkbasename", > > tom > > On 5/3/12 2:0

[Puppet Users] coping linked files problem

2012-05-03 Thread rjl
Hi, It seems like this should be pretty easy but I can't find a solution. On my puppet master, I have a directory of zipped files. These are created by another application. When a new zipped file is added to the directory, the other application attaches a symlink to it called current. /somepath

Re: [Puppet Users] Re: puppet 2.7.11 requires ruby = 1.8.5

2012-03-02 Thread rjl
e gem. Is there not a server gem? Obviously I am very confused. On Friday, March 2, 2012 4:28:10 PM UTC-7, Craig White wrote: > > > On Mar 2, 2012, at 3:43 PM, rjl wrote: > > > Thanks Michael, > > I have a working environment using ruby 1.8.5 (The Centos 5 default). &

[Puppet Users] Re: puppet 2.7.11 requires ruby = 1.8.5

2012-03-02 Thread rjl
greatly appreciated. On Friday, March 2, 2012 2:39:37 PM UTC-7, rjl wrote: > > I have compiled and installed ruby 1.9.3 on Centos 5 > > # ruby -v > ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] > > Now I am trying to install puppet 2.7.11. However, it is requiring

[Puppet Users] puppet 2.7.11 requires ruby = 1.8.5

2012-03-02 Thread rjl
I have compiled and installed ruby 1.9.3 on Centos 5 # ruby -v ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] Now I am trying to install puppet 2.7.11. However, it is requiring that ruby version 1.8.5-5.el5_4.8. # yum install puppet Installing: puppet

[Puppet Users] Re: Error 400 on SERVER: No support for http method POST

2012-02-08 Thread rjl
with a 2.6.3 client which was upgraded today to > 2.7.10. Master is 2.6.3 > Sent via BlackBerry > > > > > > > > -Original Message- > From: rjl > > Sender: puppet-users@googlegroups.com > Date: Tue, 7 Feb 2012 15:01:14 > To: Puppet Users > Rep

[Puppet Users] Re: Error 400 on SERVER: No support for http method POST

2012-02-07 Thread rjl
The puppet master is at the same version. [root@stsdev-pri conf.d]# rpm -qa | grep puppet puppet-server-2.7.10-1.el5 level3-osp-puppetmaster-2.2.07-el5 puppet-2.7.10-1.el5 On Feb 7, 3:21 pm, Craig White wrote: > On Feb 7, 2012, at 2:37 PM, rjl wrote: > > > Hi All, > > I foun

[Puppet Users] Error 400 on SERVER: No support for http method POST

2012-02-07 Thread rjl
Hi All, I found a post from last year similar to this but it did not provide me with a solution. I just upgraded from 2.6.7 to 2.7.10. My clients that are still running the older 2.6.7 version are working fine. However, my clients that I have upgraded to 2.7.10 are throwing the following error: C

[Puppet Users] Re: Data Sources CSV files vs Database

2011-05-09 Thread rjl
Thanks Ohad and Nan. Your responses were helpful On May 5, 12:37 am, Ohad Levy wrote: > On Thu, May 5, 2011 at 6:59 AM, Nan Liu wrote: > > On Wed, May 4, 2011 at 12:51 PM, rjl wrote: > > > Hi all, > > > Presently, I am managing my external data via CSV files. The

[Puppet Users] Data Sources CSV files vs Database

2011-05-04 Thread rjl
Hi all, Presently, I am managing my external data via CSV files. These files are manually changed as required. I would like to have a UI that updates a database (probably postgres) and then have puppet retrieve its external data directly from the database. Has anyone done this? Does this make sen

[Puppet Users] General Question about passenger and puppet

2011-03-25 Thread rjl
Does puppetd or puppetmasterd need to be running on the puppetmaster if I have configured puppet to use passenger? Thanks in advance... -- 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@googlegrou

[Puppet Users] Re: Passenger

2011-03-21 Thread rjl
2.11/lib/native_support.so > > Thanks > Eric > > On Sat, Mar 19, 2011 at 5:32 PM, rjl wrote: > > Hi all, > > I am having a very difficult time getting passenger installed and > > configured with puppet. I have puppet installed and working fine but > > it is

[Puppet Users] Re: Passenger

2011-03-19 Thread rjl
Hi Michael, Thanks for the reply. Is there a way to install passenger without a compiler? On Mar 19, 3:46 pm, Michael Knox wrote: > Hi, > > > However, apache is giving me errors such as > > # mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.5/ext/ruby/native > > # cd /usr/lib/ruby/gems/1.8/gems

[Puppet Users] Passenger

2011-03-19 Thread rjl
Hi all, I am having a very difficult time getting passenger installed and configured with puppet. I have puppet installed and working fine but it is using webrick. I have followed the documentation here (http:// projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger) with no success. I need

[Puppet Users] Re: Puppetrun problem

2011-02-03 Thread rjl
Just FYI...looks like it was an ordering problem in auth.conf. I did not know that this file was ordered. Entries in this file have to be *before* path / auth any On Feb 2, 4:27 pm, rjl wrote: > One more piece of infolisten = true in my puppet.conf file on the > clients. > >

[Puppet Users] Re: Puppetrun problem

2011-02-02 Thread rjl
One more piece of infolisten = true in my puppet.conf file on the clients. On Feb 2, 3:19 pm, rjl wrote: > Hi, > I am running puppet-2.6.4-0.7.el5 and puppetmaster-2.6.4-0.7.el5 on > CentOS 5.4 and cannot get puppetrun to work. > > Files on my clients are as follows: > /et

[Puppet Users] Puppetrun problem

2011-02-02 Thread rjl
Hi, I am running puppet-2.6.4-0.7.el5 and puppetmaster-2.6.4-0.7.el5 on CentOS 5.4 and cannot get puppetrun to work. Files on my clients are as follows: /etc/puppet/auth.conf contains: path /run method save allow * /etc/puppet/namespaceauth.conf contains: [fileserver] allow * [

[Puppet Users] Re: Changing the run interval

2011-01-31 Thread rjl
That makes perfect sense. Thanks for response Nigel. On Jan 31, 1:32 pm, Nigel Kersten wrote: > On Mon, Jan 31, 2011 at 12:03 PM, rjl wrote: > > Hi, > > Is it possible to set the runinterval for my clients on my > > puppetmaster? I have tried numerous things and the only

[Puppet Users] Changing the run interval

2011-01-31 Thread rjl
Hi, Is it possible to set the runinterval for my clients on my puppetmaster? I have tried numerous things and the only one that seem to work is actually setting it in the puppet.conf file on each client. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: Node syntax error

2010-12-20 Thread rjl
Felix, I have made the changes base on your feedback and it works well. Thanks for your assistance...rjl On Dec 20, 10:00 am, Felix Frank wrote: > On 12/20/2010 05:55 PM, rjl wrote: > > > I have take it out of the case statement to try to resolve the > > problem. Here is an

[Puppet Users] Re: Node syntax error

2010-12-20 Thread rjl
{ include adm } On Dec 20, 9:51 am, Felix Frank wrote: > On 12/20/2010 05:46 PM, rjl wrote: > > > Hi Felix, > > Actually, it will not apply to each client. Each of my clients knows > > what role it plays. That is set in a facter variable ($osp_type) on > > the cli

[Puppet Users] Re: Node syntax error

2010-12-20 Thread rjl
de "${fqdn}" { include ing } } rep: { node "${fqdn}" { include rep } } oss: { node "${fqdn}" { include oss } } mds: { node "${fqdn}" { include mds } } default: { notice("Could not resolve role for ${fqdn}") } } I am applying the appropriate

[Puppet Users] Node syntax error

2010-12-20 Thread rjl
Hi all, I am having an issue with the syntax for a node definition. I want to use a facter variable in my definition but I get a syntax error. Here is the code node "${fqdn}" { include adm } Here is the error. Could not parse for environment production: Syntax error at ''; expected '}' at /etc/

[Puppet Users] Re: Update time in template file.

2010-12-20 Thread rjl
Thanks to everyone for all of your input. It was very helpful. I like Felix's suggestion about writing a plugin. rjl On Dec 20, 5:03 am, Felix Frank wrote: > On 12/19/2010 10:16 PM, rjl wrote: > > > > > Hi all, > > How can I put in an update time in a template file?

[Puppet Users] Update time in template file.

2010-12-19 Thread rjl
puppet runs, it updates the time stamp. I only want it to update if there was an actual change to the content of the file Thanks in advace. rjl -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send em

[Puppet Users] Re: Priority of collection entries

2010-12-18 Thread rjl
Hi Ken, I have a module that will set the forwarding IPs in the snmptrapd.conf: - My init.pp file for the module is as follows -- class snmp { file { "snmptrap

[Puppet Users] Priority of collection entries

2010-12-17 Thread rjl
Hi all, I am creating (or allowing creation) of collections of servers on which to perform some action. Does anyone have any suggestion as to how to set priority if a server is contained in one or more collections. I could write a ruby script to handle this but I was wonder if there is any 'typica

[Puppet Users] Re: first install

2010-12-02 Thread rjl
Doohhh, Shoot...obviously my problem is with the command (test vs --test). Please disregard. On Dec 2, 9:37 am, rjl wrote: > I am following the install instructions in the documentation. I have > the server installed and one client. To test the install (as directed > by the documentati

[Puppet Users] first install

2010-12-02 Thread rjl
-pri.cdntools.nsatc.net --waitforcert 60 test Could not prepare for execution: Could not create PID file: /var/run/ puppet/agent.pid Thanks in advance. rjl -- 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] gem install puppet-2.6.3 problem

2010-11-22 Thread rjl
All, Trying to install puppet-2.6.3 on CentOS 5.4 and I get the following. [r...@stsdev-pri ~]# gem install puppet-2.6.3 ERROR: http://rubygems.org/ does not appear to be a repository ERROR: Error installing puppet-2.6.3: puppet requires facter (>= 1.5.1, runtime) Facter is installed: [