Re: [Puppet Users] multimaster architecture with central report server

2011-04-15 Thread Jason Rojas
https://github.com/puppetlabs/puppet-dashboard Check under the "Reporting section", it shows you how to do it for 0.25* and 2.6.* -Jason On Fri, Apr 15, 2011 at 4:44 AM, Antony Mayi wrote: > Hi, > > is there a way how to instruct the master to forward the obtained reports > to another master se

Re: [Puppet Users] Removing a host from stored config.

2010-08-19 Thread Jason Rojas
I have a script that does it.. Looks like the script is from James Turnbull and you can find it in the ext directory: http://projects.reductivelabs.com/projects/puppet/repository/revisions/master/raw/ext/puppetstoredconfigclean.rb I also added a wrapper that removes the certificates form the pupp

Re: [Puppet Users] Help

2010-08-12 Thread Jason Rojas
The puppetmaster version must always be greater than or equal to the version of the client. On Aug 11, 2010, at 11:49 PM, parag(PK) wrote: > Hey, > If sumone could help me down > i have ubuntu (karmic ) an i run my puppetmaster on it . version > 0.24.8 > Now, have a client machine w

Re: [Puppet Users] Modelling different aspects of a datacenter

2010-04-20 Thread Jason Rojas
Most people will use a "node" classification tool. In my specific case I use a combination of a node classifier, and standardized DNS naming conventions. For hardware related items, you have custom facts, dmiedecode etc etc. Really you will always hit the "one-off" bug of a system when it c

Re: [Puppet Users] Selectors

2009-11-26 Thread Jason Rojas
On Nov 26, 2009, at 12:03 AM, David Schmitt wrote: > Douglas Garstang wrote: >> The docs at http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial say: >> >> file { "/etc/config": >>owner => $operatingsystem ? { >>"sunos" => "adm", >>"redhat" => "bin", >>defaul

[Puppet Users] Re: passenger with ruby enterprise edition

2009-09-09 Thread Jason Rojas
On Sep 9, 2009, at 6:27 PM, Asif Iqbal wrote: > > Hi I am failing to start apache2 with ruby enterprise edition and > passenger 2.2.5 > > [Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu) > mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured -- > resuming normal operations

[Puppet Users] Re: storeconfigs + environments issue

2009-08-26 Thread Jason Rojas
Sounds like you need to run puppetmaster as the root user or change some file permissions. -Jason On Aug 26, 2009, at 4:58 PM, josbal wrote: > > Hi Guys, > > Im trying to turn on storeconfigs with a mysql db backend. On my > testing server in our lab, i configured this successfully and can s

[Puppet Users] Re: Performance issues

2009-07-29 Thread Jason Rojas
if you use summarize = true on your client configs, you should get a block at the end that looks like this: #puppetd -vt Changes: Total: 1 Resources: Applied: 1 Out of sync: 1 Restarted: 1 Scheduled: 317 Total: 266 Time: Config retrieva

[Puppet Users] Re: templates with ERB

2009-06-05 Thread Jason Rojas
content => template("one","two","three"); I think is what will work for concatenation. http://projects.reductivelabs.com/issues/1818 Read Luke's comment at the bottom. in 0.24.8 lib/puppet/parser/functions/inline_template.rb:if multiple template strings are specified, their output is all con

[Puppet Users] Re: --enablerepo=epel*

2009-05-21 Thread Jason Rojas
Have an exec that will execute the enable repo, have it depend on the yumrepo config, and also have a package depend on the exec, then have another exec subscribing to the package to disable the repo? Thats only my guess for now. I agree with the comments in the ticket, manage internal repos,

[Puppet Users] Re: facter lsbdistid returns no result

2009-05-19 Thread Jason Rojas
is the redhat-lsb rpm installed? On May 19, 2009, at 1:48 PM, kymas wrote: > > Hi all, I am creating a recipe for rhel boxes which needs to > determine what type of install is present (server or client). I > thought I would use the facter fact lsbdistid for this purpose but > when I run "facte

[Puppet Users] Re: newbie-ish question

2009-05-19 Thread Jason Rojas
Have you tried putting quotes around "dev.mycompany.com" ? On May 19, 2009, at 11:57 AM, David Bishop wrote: > > Okay, that was a fairly general question, this is more specific. > While > prototyping each of these approaches, I've come across an oddity. I'm > trying to use a selector to dete

[Puppet Users] Re: Cant get puppet to remove rpm's with circular dependencies

2009-05-01 Thread Jason Rojas
RPM circular dependencies have nothing to do with puppet. I would rebuild the packages and fix the dependency issue, then the problem would go away. If you are not comfortable with rebuilding the packages then my suggestion would be use an exec for this specific case doing a rpm -e --allmat

[Puppet Users] Re: strategies for plugins with environments?

2009-04-20 Thread Jason Rojas
With the use of the [production] and [development] sections of the puppetmaster config, you can specify a plugin path, you can have it either be shared, or the same directory just checked out from the development branch in subversion, in my case it is: [production] pluginpath=/opt/puppet/producti

[Puppet Users] Re: Puppet Camp

2009-04-20 Thread Jason Rojas
Look into the city club of san francisco. Great venue, they have good food/catering. Central to Bart stops and close to hotels around union square. 5 minute ride to north beach or south market. Plenty of bars and restaraunts in the area. (bars are important) If the city club doesn't work there

[Puppet Users] Re: debugging puppetrun + HTTP 503 error

2009-04-01 Thread Jason Rojas
I think I get this as well when I use puppetrun. Are you by change using passenger at all? -Jason On Apr 1, 2009, at 12:03 PM, chris wrote: > > > Puppet's been super for our installation of ~800 hosts, but I'm trying > to figure out why puppetrun isn't working for our us. Nodes work fine > as

[Puppet Users] Re: Puppet and pushing changes

2009-04-01 Thread Jason Rojas
Ohad, I have been doing some thinking about this as well. I can definitely see situations where I need a "cap shell" type of approach to push a single change or something else, but usually those are for administration needs. Now feel free to correct me if I am wrong, but puppet's whole goal

[Puppet Users] Re: certificate signing error on debian

2009-03-27 Thread Jason Rojas
The only time I see these errors is when the date on my client is screwed up. Sorry if that doesn't help. -Jason On Mar 27, 2009, at 5:57 PM, Trevor wrote: > > Hello to All, > > > I've setup 5 centos hosts that all work fine but after signing my > debian client request I get > > > Certificat

[Puppet Users] Re: compressing client/server communications

2009-03-26 Thread Jason Rojas
I agree, my puppetmaster running behind passenger averages 40requests per second, and I am serving a lot of files with no splay. So being able to adjust accordingly for servers that get more files might be a good idea. Maybe even an option to just use gzip for file serving instead of normal

[Puppet Users] Re: Props to the Passenger instructions.

2009-03-25 Thread Jason Rojas
Did you have any issues where you had to add *s to namespace.conf like I did? [puppetreports.report] allow * [puppetbucket] allow * [fileserver] allow * [puppetmaster] allow * [puppetrunner] allow * On Mar 25, 2009, at 6:09 PM, Nigel Kersten wrote: > > So I just got around

[Puppet Users] Re: Setting timezone in ubuntu and timezone conventions

2009-03-14 Thread Jason Rojas
Afaik, most timezones are set up as a symlink /etc/localtime -> / whatever/path/zoneinfo This should be fairly easy to manage as long as all the machines are in the same timezone. Symbolic links are managed by the file type, so it's Fairly simple: File { "/etc/localtime": ensure => "/

[Puppet Users] Re: Question on recursively managing permissions

2009-02-16 Thread Jason Rojas
file { "/top/level/dir": owner => user, group => usergroup, ensure => directory, mode => "0664", #whatever recurse => true; } something like that may work If that doesn't then you should be able to use an exec of your find commands and onlyif mtime/md5 of the dir tree but that may take a whil

[Puppet Users] Re: Puppet load 100%

2009-02-16 Thread Jason Rojas
Your puppet client is tryng to contact a server named "puppet". Find out where it is using puppet as the server name in the configs and replace it with the hostname of your puppetmaster and you should be set. -Jason On Feb 16, 2009, at 3:08 AM, Andy wrote: > > Hello, > > maybe this is a bug.

[Puppet Users] Re: filebucket retrieval

2009-02-11 Thread Jason Rojas
On Feb 10, 2009, at 9:17 PM, Geoff Crompton wrote: > > Hi, > > While at LCA this year I was talking to James Turnbull, and I think he > said it was possible to > a) pull files off a puppet client to the puppet master > b) push those files out to other puppet clients > > I've been reading up on

[Puppet Users] Re: pushing puppet.conf files and other questions

2009-01-31 Thread Jason Rojas
hafer wrote: > Jason, > > I agree, open an issue that explains the failure and what you > consider the desired behavior. > > I'm not sure Puppet should just ignore and keep running, but it > should at least do something informative. > > Andrew > > O

[Puppet Users] Re: pushing puppet.conf files and other questions

2009-01-30 Thread Jason Rojas
The one issue I have seen with puppet managing itself is if someone adds something stupid like: "--splay=300" To /etc/sysconfig/puppet "EXTRA_OPTS" (yes I am speaking from experience) Puppet will restart and die instead of ignoring and warning about the bad configuration option. This could b

[Puppet Users] Re: Puppet client hangs if LDAP server is not accessible

2009-01-09 Thread Jason Rojas
Look up bind_policy not soft_bind. This gives a good description: http://www.nabble.com/Re%3A-nss_ldap-and-udevd-p3202151.html -Jason On Jan 9, 2009, at 2:38 AM, Kenneth Holter wrote: > > Thanks for the advice. Regarding the soft_bind option for openldap: I > can't seem to find any documentatio

[Puppet Users] Re: Script Contribution?

2009-01-06 Thread Jason Rojas
Put them somewhere that we can download them from. I am already interested in converting some of these to facts.. On Jan 6, 2009, at 8:10 AM, Zach wrote: > > I have the following ruby scripts I would like to see implemented into > puppet, I believe they could compliment puppet and with input fro