[Puppet Users] Tags issue

2012-02-27 Thread linuxbsdfreak
Hi , I am using tags according to environments Eg: prd_env and stg_env How do i implement a default node Eg: node default inherits basenode { tag("prd_eu")|("stg_eu")) include general } The above does not work. I invoke the puppe agent puppet agent --test --noop --server=puppetm

[Puppet Users] Catalog compilation query

2011-06-17 Thread linuxbsdfreak
Hello All, Just had a query regarding catalog compiliation for nodes. When i compile the catalog on the puppetmaster with the command given below puppet master --compile When the client connects to puppetmaster. Does the client take the compile catalog created above?. Or does the puppetmaster

[Puppet Users] Puppetmaster setup with separate CA server configuration help

2011-07-08 Thread linuxbsdfreak
Hi All, I am setting up puppetmaster with nginx and passenger and separating the Puppetmaster primary CA server. I have 3 host loadbalancer01 - Nginx doing LB on IP address and also running puppetmaster with passenger under 127.0.0.1 (port 8140). primaryca - Puppetmaster Primary CA pclient - Pup

[Puppet Users] Re: Puppetmaster setup with separate CA server configuration help

2011-07-19 Thread linuxbsdfreak
Hi All Has anyone able to sucessfully split puppet CA requests from the normal catalog requests without specifying ca_server option in puppet.conf using the configuration mentioned below. Regards, Kevin On 8 Jul., 14:48, linuxbsdfreak wrote: > Hi All, > > I am setting up puppetma

[Puppet Users] lstat on a large dir done by puppet

2011-07-25 Thread linuxbsdfreak
Hi All, I did an strace on the puppet client strace puppet agent --test --noop and found out that it does an lstat and open. something like this lstat("/opt/swapfiles/GQ/example1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/opt/swapfiles/GQ/example1", O_RDONLY|O_NONBLOCK|O_DIRECTORY) =

[Puppet Users] Re: Master failover and cert names.

2011-08-01 Thread linuxbsdfreak
HI Doug, I am also facing the same issue after following the steps from the book. I tried with nginx and passenger and i mentioned it on the following post. http://groups.google.com/group/puppet-users/browse_thread/thread/44bc89455ccc311a# Regards, Kevin > > > > > > > > Douglas Garstang wrote:

[Puppet Users] Re: Writing custom manifest

2011-08-02 Thread linuxbsdfreak
Hi Himanshu, There are many ways you could do this: Create a ERB template of the httpd.conf file and set something like notify => [ Service["httpd"] ], once the httpd.conf template file changes. This would be the easiest solution. Regards, Kevin On Aug 2, 10:08 am, Himanshu Raina wrote: > Hi,

[Puppet Users] Certificate verify failed.

2011-08-31 Thread linuxbsdfreak
Hi All, I am running puppet (2.7.3) with nginx and passenger (3.0.8) and ruby-1.9.2p290. I am receiving the following error on the client when connecting to the server. info: Creating a new SSL key for hostname.domain.com err: Could not request certificate: SSL_connect returned=1 errno=0 state=

[Puppet Users] Re: Slightly OT: Puppet + OpenQRM

2011-09-07 Thread linuxbsdfreak
Hi Ohad, Does foreman support Xen?. Regards, Kevin On 7 Sep., 08:10, Ohad Levy wrote: > On Tue, Sep 6, 2011 at 6:44 PM, treydock wrote: > > I've recently been looking to move my KVM management (currently via > > Puppet and virt-manager) to something web-based and robust (ie > > "Cloud"), and c

[Puppet Users] Phasewise run of puppet

2011-11-01 Thread linuxbsdfreak
Hi All, I have a requirement to initiate puppet runs of different services in a phase wise manner. I have the following setup in my nodes.pp node /^(host1|host2)\.domain\.local$/ inherits basenode { include role_service1 } node /^(host3|host4)\.domain\.local$/ inherits basenode {

[Puppet Users] Re: SSL issues on ruby1.9

2011-11-25 Thread linuxbsdfreak
Hi Greg, There are some problems with SSL and ruby 1.9.2. Please visit the link below for solving the issue. http://urgetopunt.com/puppet/2011/09/14/puppet-ruby19.html Hope it helps. Regards, Kevin On Nov 24, 12:56 pm, Greg Sutcliffe wrote: > Hi all, > > I'm having issues with getting a clie

[Puppet Users] Puppet with Ruby1.9 issue

2011-12-15 Thread linuxbsdfreak
Hi, I have a running puppetmaster with nginx and passenger and ruby 1.9.2. When i do puppet cert --trace --list . i get the following error. /usr/lib64/ruby/gems/1.9.1/gems/puppet-2.7.9/lib/puppet/application/ cert.rb:43:in `block (2 levels) in ' /usr/lib64/ruby/gems/1.9.1/gems/puppet-2.7.9/lib/

[Puppet Users] Re: Puppet with Ruby1.9 issue

2011-12-16 Thread linuxbsdfreak
ode1.cloud.bob.sh > > (4B:12:11:DE:8F:21:71:EA:50:3A:70:97:81:0C:A9:E4) (alt names: > > DNS:puppet, DNS:node1.cloud.bob.sh, DNS:puppet.cloud.bob.sh) > > + web1.vms.cloud.bob.sh         > > (68:CC:0A:6F:80:CC:84:DE:3D:37:0A:02:E5:2A:BA:6D) > > root@node1:~# > > > O

[Puppet Users] Re: Puppet with Ruby1.9 issue

2011-12-21 Thread linuxbsdfreak
y > [https://github.com/puppetlabs/puppet/commit/933844567fbe4078cb76f2c08...]. > I'd love to hear if that solves your problems, although I think on 1.9.2 > it's functionally equivalent to what you're already doing. > > On Fri, Dec 16, 2011 at 4:50 AM, linuxbsdfrea

[Puppet Users] Re: Need advice on managing large Centos environment

2010-09-24 Thread linuxbsdfreak
Hi, You can use stuff like cobbler with puppet. The cobbler server has all the repositories configured via its Web interface and the client nodes will have the repositories that is present on the cobbler server. You then only one system (cobbler server) that manages the repository. The client ma

[Puppet Users] Redundant puppet Masters setup help

2011-01-26 Thread linuxbsdfreak
Hello All, I require some help for creating multiple puppetmaster with separate Puppet CA server. I followed the steps given in the link below for creating a separate CA server http://bodepd.com/wordpress/?p=7 My requirement is to create 2 Puppetmasters running nginx and unicorn which will b

[Puppet Users] Multiple external commands with puppet

2011-02-03 Thread linuxbsdfreak
Hi, I want to execute multiple sed commands using the exec commands within puppet. I can only setup one command parameter. For now i have to give a long list of commands separated with ";" in order to use the single command parameter. I know there are other efficient ways to solve this problem. B

[Puppet Users] Splitting PuppetMaster from PuppetCA config help

2011-02-14 Thread linuxbsdfreak
Hello All, I am running puppetmaster with nginx and unicorn. I am trying to split puppet master from the Puppet CA. The puppetCA is running well with the following nginx config: user nginx; worker_processes 10; worker_rlimit_nofile 10; error_log /var/log/nginx/error.log debug; pid

[Puppet Users] Re: AboutUs is Hiring a DevOps Engineer

2011-04-05 Thread linuxbsdfreak
Hi, If i am may ask, which place in Germany is aboutus located. Regards, Kevin On Apr 5, 2:04 am, Sam Goldstein wrote: > Our very talented sysadmin is moving to Germany so we're looking for a > new DevOps Engineer to join our team. > > Right now our systems are in great shape.  All our servers

[Puppet Users] Suggestions for using tags and variable for an Array

2011-04-25 Thread linuxbsdfreak
Hi All, I am writing some puppet manifests to manage some deployments. I have created a define which takes some parameters and i am providing the input with variables in the site.pp file.I am managing 3 different environments like testing, staging and production and have tagged the servers a

[Puppet Users] Re: Suggestions for using tags and variable for an Array

2011-04-27 Thread linuxbsdfreak
les section both arrays and variables and then call it later. Any help regarding this is appreciated. Regards, Kevin On Apr 25, 8:21 pm, Nan Liu wrote: > On Mon, Apr 25, 2011 at 10:05 AM, linuxbsdfreak > wrote: > > Hi All, > > > I am writing some puppet manifests to man

[Puppet Users] Re: Suggestions for using tags and variable for an Array

2011-04-29 Thread linuxbsdfreak
Hi, Thanks for your help. I tried the stuff. It works. Learing somethng new everday. On 27 Apr., 19:22, Nan Liu wrote: > On Wed, Apr 27, 2011 at 8:17 AM, linuxbsdfreak > wrote: > > Hi, > > > Thanks for your reply. The problem with the tagging is solved. However > >

[Puppet Users] Puppetmaster and Passenger3

2011-05-13 Thread linuxbsdfreak
Hi All, Just had a question if Puppet2.6 works with the latest version of Phusion Passenger (3.0.7). My setup is running with version 2.2.11 of passenger. If yes, then are there any changes in Puppetmaster configuration to be done. Thanks, Kevin -- You received this message because you are su

[Puppet Users] Hiera unable to retrieve the value

2012-08-16 Thread linuxbsdfreak
Hi All, I am using hiera for storing configuration values. I have setup puppet to use facter following the article from http://nuknad.com/2011/02/11/self-classifying-puppet-nodes/ I have custom facts company_role company_platform company_location I have defined the following in hiera.yaml

[Puppet Users] Re: Hiera unable to retrieve the value

2012-08-16 Thread linuxbsdfreak
Typo error location=frankfurt is actually location=london. On Thursday, August 16, 2012 5:25:17 PM UTC+2, linuxbsdfreak wrote: > > Hi All, > > I am using hiera for storing configuration values. I have setup puppet to > use facter following the article from > > http://nukna

Re: [Puppet Users] Re: Hiera unable to retrieve the value

2012-08-17 Thread linuxbsdfreak
; > $hsflowd_port = hiera('hsflowd_port', '8080'), > > > > HTH, > Den > > On 17/08/2012, at 1:38, linuxbsdfreak > > wrote: > > Typo error location=frankfurt is actually location=london. > > On Thursday, August 16, 2012 5:25:1

Re: [Puppet Users] Re: Hiera unable to retrieve the value

2012-08-17 Thread linuxbsdfreak
Just for info i am running ruby-1.9.3p194. On Friday, August 17, 2012 9:28:13 AM UTC+2, linuxbsdfreak wrote: > > Hi, > > The default value works when i set the value in common.yaml. Strange part > is why isnt hiera find the value in the hierarchy, since i want to override >

Re: [Puppet Users] Re: Hiera unable to retrieve the value

2012-08-17 Thread linuxbsdfreak
n}/%{custom_role} > - '%{platform}/%{location}/%{role}' > > See if that works, > Den > On 17 Aug 2012 19:31, "linuxbsdfreak" > > wrote: > >> Just for info i am running ruby-1.9.3p194. >> >> >> On Friday, August 1

[Puppet Users] Hiera not overriding values from the Hierarchy files

2012-08-20 Thread linuxbsdfreak
Hi All, I am facing a real issue with hiera not picking values from the Hierarchy i have set in hiera,yaml. For Eg: I have set the following in hiera.yaml --- :backends: - yaml :logger: console :hierarchy: - %{operatingsystem} - common :yaml: :datadir: '/etc/pup

[Puppet Users] Re: Hiera not overriding values from the Hierarchy files

2012-08-21 Thread linuxbsdfreak
Hi All, Can anyone help debug this issue with hiera? I am unable to get hiera to work with puppet as expected. Regards, Kevin On Monday, August 20, 2012 11:21:44 AM UTC+2, linuxbsdfreak wrote: > Hi All, > > I am facing a real issue with hiera not picking values from the Hiera

[Puppet Users] Icinga config with puppet

2012-10-24 Thread linuxbsdfreak
Hi All, I have setup puppet to self classify nodes based on custom facter values in order to avoid adding hosts in node.pp. Based on the setup mentioned below: http://nuknad.com/2011/02/11/self-classifying-puppet-nodes/ How would one create/design an icinga setup where when the nodes come on

[Puppet Users] Issue with template.pp

2009-02-04 Thread linuxbsdfreak
Hi i am creating a template.pp for different OS.. Following is my template.pp file node basenode { case $operatingsystem { fedora: { include fedora } default: { include debian } } include baseapps, sshd, admin, default } <=== line 7 node default inher