Re: [Puppet Users] Introducing Pysa - Reverse your servers’ configurations!

2013-06-13 Thread Mohit Chawla
Hello, Link ? :) Also, is it similar to https://github.com/devstructure/blueprint? On Thu, Jun 13, 2013 at 6:12 PM, Thibault Bronchain thibault.bronch...@gmail.com wrote: Greetings all, I’m leaving this message about the development of a new configuration reverse engineering tool: Pysa.

[Puppet Users] Extending puppet catalog face

2013-05-07 Thread Mohit Chawla
Hello, I am trying to extend the 'select' action in the catalog face to also display the value of the ensure parameter for that resource, like so: puppet catalog select host resource --extra parameter=ensure I have two questions: 1) What is the general approach for extending the standard shipped

Re: [Puppet Users] Re: [ANN] puppet-cleaner: makes puppet DSL code comply with a subset of the style guide

2013-04-18 Thread Mohit Chawla
Hello, On Thu, Apr 18, 2013 at 10:22 PM, Gerardo Santana Gómez Garrido gerardo.sant...@gmail.com wrote: A small follow up: the gem has just been pushed to rubygems, and you can read more about the motivation for this at

Re: [Puppet Users] Re: Puppet / hiera call a parametrised class from hieras yaml file?

2013-04-17 Thread Mohit Chawla
Hi, Understood, thanks for clearing that up ! Will check the archive for more discussions on the mentioned parse-order issues. On Wed, Apr 17, 2013 at 7:03 PM, jcbollinger john.bollin...@stjude.orgwrote: On Tuesday, April 16, 2013 8:50:08 AM UTC-5, alcy wrote: HI, John, doesn't it have

Re: [Puppet Users] Re: Puppet / hiera call a parametrised class from hieras yaml file?

2013-04-16 Thread Mohit Chawla
HI, John, doesn't it have the advantage of a seamless upgrade to puppet 3.0 ? Can you elaborate on why its not advantageous to use explicit hiera calls ? On Tue, Apr 16, 2013 at 6:34 PM, jcbollinger john.bollin...@stjude.orgwrote: On Tuesday, April 16, 2013 7:35:01 AM UTC-5, llowder wrote:

[Puppet Users] puppet node find doesn't return classes and scope vars ?

2013-04-05 Thread Mohit Chawla
Hi, I am trying to use the node subcommand like so: puppet node find --terminus rest --render-as yaml --mode master foo.com This only shows facts, name, environment, expiration and time but not the classes or node level variables. Puppet version is 2.7.20. Any suggestions ? -- You received

Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-04-03 Thread Mohit Chawla
, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Slightly OT here - shouldn't setting ca_name be enough for --compile to not fail ? Why does it need the --certname param ? On Mon, Apr 1, 2013 at 2:03 PM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Hi, Got it working

Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-04-03 Thread Mohit Chawla
-whitelist ) this gives you the ability to only allow certain hosts to connect if you desire it. On Wed, Apr 3, 2013 at 7:41 AM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Hey Ken, that definitely cleared some misconceptions, thanks ! I now know what the problem was. First, I assumed

Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-04-01 Thread Mohit Chawla
on the server is disabled :-). ken. On Thu, Mar 28, 2013 at 8:54 PM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Hi, Not at the workstation right now, but regarding puppet.conf I cant think of any peculiar settings apart from this being one of the two puppet masters apart from a separate

Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-04-01 Thread Mohit Chawla
Hi, Got it working by passing --certname param (the ca server hostname, instead of this master). On Mon, Apr 1, 2013 at 1:19 PM, Mohit Chawla mohit.chawla.bin...@gmail.comwrote: Hi Ken, Got a trace from running puppetdb-foreground --debug - https://gist.github.com/alcy/5283661. Weird

Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-04-01 Thread Mohit Chawla
Slightly OT here - shouldn't setting ca_name be enough for --compile to not fail ? Why does it need the --certname param ? On Mon, Apr 1, 2013 at 2:03 PM, Mohit Chawla mohit.chawla.bin...@gmail.comwrote: Hi, Got it working by passing --certname param (the ca server hostname, instead

[Puppet Users] Catalog compilation, puppetdb and ssl

2013-03-28 Thread Mohit Chawla
Hello, Stuck in a weird place here. I am trying to do 'puppet master --compile foo.com', however I am not getting the catalog json. So far, I have noticed two sort of outputs: 1) The above command results in : notice: Compiled catalog for foo.com in environment production in 10.60 seconds Failed

[Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-03-28 Thread Mohit Chawla
-puppet-common-1.4.1-1.noarch [user@puppetmaster ~]# cat /etc/centos-release CentOS release 6.3 (Final) On Thu, Mar 28, 2013 at 6:23 PM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Hello, Stuck in a weird place here. I am trying to do 'puppet master --compile foo.com', however I am not getting

Re: [Puppet Users] Re: Catalog compilation, puppetdb and ssl

2013-03-28 Thread Mohit Chawla
assigned to the puppetdb host itself? Yes. On Thu, Mar 28, 2013 at 12:55 PM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Forgot mentioning the env details: [user@puppetmaster ~]# rpm -qa | grep puppet puppetlabs-release-6-6.noarch puppetdb-terminus-1.0.4-1.el6.noarch mcollective-puppet

Re: [Puppet Users] state=SSLv3 read server certificate B: certificate verify failed.

2012-11-24 Thread Mohit Chawla
Hello, which OS/distro ? Just guessing here, maybe affected by this - https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/986147 ? -- 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] Custom providers/types gem dependencies

2012-11-20 Thread Mohit Chawla
Hello, I am using a custom provider that uses an external gem, for eg., json. I am seeing this behavior: 1) In the first puppet run - errors would be thrown like : err: Could not load downloaded file /var/lib/puppet/lib/puppet/provider/custom_provider/json.rb: no such file to load -- json

Re: [Puppet Users] Custom providers/types gem dependencies

2012-11-20 Thread Mohit Chawla
Hello Jeff, Thanks for the reply. A new ticket to collect this information is the best tool we have at this time. This is on 2.7.19. Added ticket http://projects.puppetlabs.com/issues/17747. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Hello, I have a class like: class wrapper { include foo include bar include baz } And a node like: node x { include someclass include wrapper Class[someclass]-Class[wrapper] } The class chaining in node x doesn't get respected. In irc I was suggested there being a possibility of

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Hello, On Thu, Oct 11, 2012 at 8:39 PM, Jeff McCune j...@puppetlabs.com wrote: Yes, this is a perfect example of when to employ the anchor pattern. It's also a perfect example of the bug we need to fix in puppet. Class foo, bar, an baz will float off in the relationship graph because class

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Thank you, that worked nicely ! -- 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@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Hello John, On Thu, Oct 11, 2012 at 11:53 PM, jcbollinger john.bollin...@stjude.org wrote: Yes. When one class declares another, whether via the 'include' or 'require' function or via a parametrized-style declaration, that (intentionally) does not establish any ordering relationship between

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Hello, On Fri, Oct 12, 2012 at 2:44 AM, R.I.Pienaar r...@devco.net wrote: i find the anchor pattern both a royal pain and too strict, i dont generally care to bind classes between two resources but instead just before some resource or class class wrapper { include one, two, three

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
, 2012 at 3:10 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: Mohit Chawla mohit.chawla.bin...@gmail.com To: puppet-users@googlegroups.com Sent: Thursday, October 11, 2012 10:31:28 PM Subject: Re: [Puppet Users] Re: Wrapper classes, ordering anchors Hello, On Fri

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Hmm, thanks, I'll try upgrading the master to the same minor version and see if it works differently, would perhaps be surprising if it does. On Fri, Oct 12, 2012 at 3:25 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: Mohit Chawla mohit.chawla.bin...@gmail.com

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Hi, it works with code like in your paste. But check this out : http://pastie.org/5037832, the original situation I found myself in, and you can see the floating off behaviour again. On Fri, Oct 12, 2012 at 3:30 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: Mohit

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
. Nevertheless will keep all the mentioned points opinions in mind, they've been helpful to understand this behaviour better. On Fri, Oct 12, 2012 at 3:56 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: Mohit Chawla mohit.chawla.bin...@gmail.com To: puppet-users@googlegroups.com

Re: [Puppet Users] Re: Wrapper classes, ordering anchors

2012-10-11 Thread Mohit Chawla
Ah ! Having come across this before in my resource dependencies with normal types (just correlating with some of the modules), this makes it even clearer, thanks. On Fri, Oct 12, 2012 at 4:19 AM, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Fri, Oct 12, 2012 at 03:49:48AM +0530, Mohit

[Puppet Users] Note on openssl on Ubuntu 12.04.0

2012-10-10 Thread Mohit Chawla
Hello, Just a heads up to anyone who might be looking to run puppet on ubuntu 12.04.0 - you might wanna update your openssl and libssl packages (updates are available) for ssl to work properly, due to this bug https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/986147. -- You received this

Re: [Puppet Users] Reducing system load

2012-06-20 Thread Mohit Chawla
Hello, On Wed, Jun 20, 2012 at 5:48 PM, Brice Figureau brice-pup...@daysofwonder.com wrote: Now you need to have a way to map from manifest modification to a set of hosts where you need a puppet run (which might not be that trivial). One possible approach here

Re: [Puppet Users] Trying to understand how mcollective differs from saltstack?

2012-01-21 Thread Mohit Chawla
One difference is that salt, compared to mcollective isn't completely distributed in nature. In salt, there is a master, which houses all encryption/security/control mechanisms. In mcollective, there's no master per se, only middleware, which is just transport. On Sat, Jan 21, 2012 at 6:53 AM,

Re: [Puppet Users] Git Workflow

2011-05-03 Thread Mohit Chawla
On Tue, May 3, 2011 at 9:46 PM, Stefan Schulte stefan.schu...@taunusstein.net wrote: So how do you use environments and branches? It should be worth looking at http://hunnur.com/blog/2010/10/dynamic-git-branch-puppet-environments/ . Very flexible and useful approach. -- You received this

Re: [Puppet Users] Fetching the domain name from a string variable

2011-04-28 Thread Mohit Chawla
On Thu, Apr 28, 2011 at 2:24 PM, Jan j...@agetty.de wrote: is there a simple way to fetch the domain name (e.g. test-domain.tld) from a string variable (e.g. host-internal.test-domain.tld)? Directly use the domain fact from facter or:

Re: [Puppet Users] [SOLVED] Fetching the domain name from a string variable

2011-04-28 Thread Mohit Chawla
On Thu, Apr 28, 2011 at 5:52 PM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: On Thu, Apr 28, 2011 at 5:14 PM, Jan j...@agetty.de wrote: Works like a charm, just what I was searching for ;) Heh, sorry for not understanding the problem correctly. Thanks for posting the solution

Re: [Puppet Users] provisioning bare metal (best practices)

2011-02-22 Thread Mohit Chawla
Foreman could come in handy. -- 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@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more

Re: [Puppet Users] Enhancement for puppetmaster init script to balance puppetmaster instances across CPU cores - RFC

2010-12-20 Thread Mohit Chawla
On Mon, Dec 20, 2010 at 11:47 PM, Robin Bowes robin-li...@robinbowes.comwrote: I updated his modification to use facter to get the no. of available cores, and to display the core used when each instance starts Using facter seems clean enough, but I was wondering if getting the information

Re: [Puppet Users] Mysql Admin

2010-12-10 Thread Mohit Chawla
On Fri, Dec 10, 2010 at 5:04 PM, Patrick kc7...@gmail.com wrote: *) The DB to have a root password. Use a preseed template. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com. To

Re: [Puppet Users] Re: Puppet replaces deleted files

2010-11-29 Thread Mohit Chawla
On Mon, Nov 29, 2010 at 9:21 PM, ZipKid zipkid@gmail.com wrote: You should propably package these files. Then you will not have this problem. The replace option for the file type is NOT intended for what you are trying. Sorry for barging in, but package the files, in the sense... ? --

Re: [Puppet Users] file content

2010-11-24 Thread Mohit Chawla
Hi, On Wed, Nov 24, 2010 at 5:02 PM, Arnau Bria arnaub...@pic.es wrote: SO I tried the example from http://docs.puppetlabs.com/references/stable/type.html#file like In that example, a define is being used, called resolve. There is no extra curly bracket, the formatting of the documentation

Re: [Puppet Users] Re: Stopping a service before a package upgrade

2010-11-18 Thread Mohit Chawla
Hi, On Thu, Nov 18, 2010 at 4:09 AM, Daniel Pittman dan...@rimspace.net wrote: That wouldn't actually help: the package provider and the service provider would need to collude, and Puppet doesn't really support that. I forgot runit made things simpler, by having runit-policy.d which would

Re: [Puppet Users] Re: Stopping a service before a package upgrade

2010-11-17 Thread Mohit Chawla
Hi, On Wed, Nov 17, 2010 at 10:50 PM, byron appelt byron.app...@gmail.comwrote: The package I am trying to update is running under monit, which will start it back up if not shut down via monit, which the package itself cannot do. Is there a recommended way to handle this sort of situation?

Re: [Puppet Users] Questions regarding workflow

2010-10-26 Thread Mohit Chawla
Hi, On Tue, Oct 26, 2010 at 3:21 PM, Joel Merrick joel.merr...@gmail.comwrote: 1) How do people manage services that can't be affected all at once? For instance, we run a number of DNS caches behind load balancers at two different sites and (not that I'd do this!) if for example I set bind

Re: [Puppet Users] puppetrun + LDAP problem...

2010-10-26 Thread Mohit Chawla
Hi, On Wed, Oct 27, 2010 at 11:17 AM, sanjiv.singh sanjiv.si...@impetus.co.inwrote: 1) What is exactly problem with puppetrun ? 2) why is ruppetrun not able to connect to client at port 8139 ? If this is on 2.6.x, then you need to modify auth.conf. -- You received this message because

Re: [Puppet Users] namespaceauth.conf

2010-10-22 Thread Mohit Chawla
If this is 2.6.x, then under auth.conf, you should have something like this: path /run method save allow puppet.master puppet.master is your master's fqdn. On Sat, Oct 23, 2010 at 6:57 AM, Luc Suryo lsu...@gmail.com wrote: Hello I know this should be easy but read docs, searched and

Re: [Puppet Users] show dependency tree?

2010-10-20 Thread Mohit Chawla
You can do that by enabling graphs to be generated, in puppet.conf or as an argument to the client daemon. On Wed, Oct 20, 2010 at 9:34 PM, jb jeffb...@gmail.com wrote: Is there a way to view the resource relationship tree for a class (or all classes)? I'd like an easy way for our admins to

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-20 Thread Mohit Chawla
If the upgrades are not gonna break your network, you'd better upgrade. Also you'd wanna have the masters upgraded first rather than the clients. But still you can through the release notes for both the versions and see if you can work out a solution. On Thu, Oct 21, 2010 at 12:02 AM, Ed

Re: [Puppet Users] Re: best practice for removing a module maintained resources from a system ?

2010-10-20 Thread Mohit Chawla
On Wed, Oct 20, 2010 at 10:26 PM, Martin Langhoff martin.langh...@gmail.com wrote: Pretty fundamental feature :-) You don't have random scripts doing random business. If the puppet modules have been written nicely, I don't see any reason to be unable to go through them once, understand the

Re: [Puppet Users] unable to get puppet client to work

2010-10-18 Thread Mohit Chawla
Hi, What's the client version ? On Mon, Oct 18, 2010 at 9:36 PM, mar...@fearless.nl mar...@fearless.nlwrote: Hi All, first off, i'm new to puppet. I've started playing with it for a few days now and it seems to be perfectly matching my needs. I've created two labs, one at home (working)

Re: [Puppet Users] Puppetd fails to run, returns error: undefined method fact_merge

2010-10-15 Thread Mohit Chawla
Looks like there's a bug filed : http://projects.puppetlabs.com/issues/3234 On Thu, Oct 14, 2010 at 4:59 PM, Phil Plante unhappyro...@gmail.com wrote: Hello, I have puppet setup on 8 nodes with 1 puppetmaster server. So far 7 of the 8 nodes have performed flawlessly, 1 is currently failing

Re: [Puppet Users] stages examples/advices

2010-10-15 Thread Mohit Chawla
On Fri, Oct 15, 2010 at 4:46 PM, Bruce Richardson itsbr...@workshy.orgwrote: On Fri, Oct 15, 2010 at 12:19:36PM +0200, Arnau Bria wrote: 1.-) Stage vs require Class. May we say that stages are groups of class requires? So a simple/basic example: class A { require class B } class

Re: [Puppet Users] manipulating facter variable

2010-10-14 Thread Mohit Chawla
Split Join inside an inline template should work well. For eg., $nsip=inline_template('%= ipaddress.split(.)[0..1].collect{|x| x}.join(.) %') This will split an ip address, say 192.168.1.3, split it at each occurrence of a . and will join the first two numbers ( referenced as [0..1] ), to give

Re: [Puppet Users] manipulating facter variable

2010-10-14 Thread Mohit Chawla
On Thu, Oct 14, 2010 at 9:55 PM, Nigel Kersten ni...@explanatorygap.netwrote: On Thu, Oct 14, 2010 at 7:18 AM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Split Join inside an inline template should work well. Wouldn't it be a bit cleaner to use the builtin regsubst function? http

Re: [Puppet Users] Prefixing syslog messages with client names

2010-10-12 Thread Mohit Chawla
On Tue, Oct 12, 2010 at 6:37 PM, Bruce Richardson itsbr...@workshy.orgwrote: On Tue, Oct 12, 2010 at 02:27:51PM +0200, Kenneth Holter wrote: Hi. The puppetmaster is set up to log to syslog, which is working fine. The downside is that most of the log entries created by the puppetmaster

Re: [Puppet Users] Run Stages

2010-10-09 Thread Mohit Chawla
In case this helps: ( this is the only way I use stages, its probably possible to extend on this using normal manifests and include them, instead of using site.pp) *site.pp* import nodes stage {pre: before=Stage[main]} *nodes.pp* node foo.com{ class {aptupdate: stage=pre} include

Re: [Puppet Users] puppetrun with noop or similar functionality

2010-09-10 Thread mohit chawla
Any suggestions, folks ? On Wed, Sep 8, 2010 at 1:35 PM, alcy mohit.chawla.bin...@gmail.com wrote: Hi, I wanted to have my puppet client daemons running in the noop=true mode, and changes could be triggered centrally through puppetrun -- noop false. Also it would be nice in an inverse

Re: [Puppet Users] puppetrun with noop or similar functionality

2010-09-10 Thread mohit chawla
Ugh, never mind the nick/name. So, one way I can think of doing is to put the puppet client's controlling module, in a run stage that's executed before main, which will restart puppet and toggle the noop value. On Fri, Sep 10, 2010 at 3:08 PM, mohit chawla mohit.chawla.bin...@gmail.com wrote

Re: [Puppet Users] puppetrun with noop or similar functionality

2010-09-10 Thread mohit chawla
Argh. But puppet client daemon will be running in the noop mode, so none of this will work. My bad. On Fri, Sep 10, 2010 at 3:24 PM, mohit chawla mohit.chawla.bin...@gmail.com wrote: Ugh, never mind the nick/name. So, one way I can think of doing is to put the puppet client's controlling

Re: [Puppet Users] Re: puppetrun failing with Error 403?

2010-09-10 Thread mohit chawla
path /run method save allow your.master.com On Fri, Sep 10, 2010 at 3:43 PM, matonb brett.ma...@googlemail.com wrote: Hi Dou ZQ, I added the puppetmaster hostname to the path / section: path / allow puppetmaster auth any Probably not the most secure option, but solved my problems.

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-23 Thread mohit chawla
I am on 2.6.0-2 (Debian Squeeze) and file/directory serving (without passenger) is working fine. I do only have simple serving needs though, like : file{/etc/foo: ensure=directory, recurse=true, source=puppet:///module-name/directory-name} On Mon, Aug 23, 2010 at 8:14 PM, Jean-Baptiste Quenot

Re: [Puppet Users] Puppet Standalone Behavior

2010-08-17 Thread mohit chawla
Puppet version is 0.25.5 on Debian Squeeze. On Tue, Aug 17, 2010 at 11:43 AM, alcy mohit.chawla.bin...@gmail.comwrote: If I do 1) puppet --modulepath=/home/abc/puppet/modules OR 2) puppet --modulepath=/home/abc/puppet/modules --manifest=/home/abc/ puppet/site.pp (...where site.pp has

Re: [Puppet Users] Puppet Standalone Behavior

2010-08-17 Thread mohit chawla
of these options, it is patiently waiting for code from STDIN. What behavior are you expecting? Maybe you should look into the puppetmasterd/puppetd executables. -Dan On Mon, Aug 16, 2010 at 11:17 PM, mohit chawla mohit.chawla.bin...@gmail.com wrote: Puppet version is 0.25.5 on Debian Squeeze

Re: [Puppet Users] Puppet Standalone Behavior

2010-08-17 Thread mohit chawla
presumptuous. Cheers. On Tue, Aug 17, 2010 at 10:29 PM, Dan Bode d...@puppetlabs.com wrote: Hi, On Tue, Aug 17, 2010 at 9:50 AM, mohit chawla mohit.chawla.bin...@gmail.com wrote: I am sure I didn't make this up, but I was under the impression that either it will autoload the default site.pp (under

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread mohit chawla
I would also like to know the same, are there any drawbacks of doing this ? On Fri, Aug 6, 2010 at 8:41 PM, Joe McDonagh joseph.e.mcdon...@gmail.comwrote: On 08/06/2010 10:47 AM, Bob Belnap wrote: Hello, As I've been building up my puppet infrastructure, I've started using puppet certs for

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread mohit chawla
Also, I have something like this for creating the certificates, works just about fine, and helps in not being paranoid about drawbacks of using puppet's certs: class certs{ package {openssl: ensure=present, }

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread mohit chawla
oops, nano. In the above code, creates=[/etc/ldap/server.crt,/etc/ldap/server.key,/etc/ldap/server.pem] On Sat, Aug 7, 2010 at 9:22 AM, mohit chawla mohit.chawla.bin...@gmail.comwrote: Also, I have something like this for creating the certificates, works just about fine, and helps

Re: [Puppet Users] certificate verified failed -- After upgrade/rollback from 2.6

2010-07-26 Thread mohit chawla
I can think of two things - date/time mismatch at server client. And why aren't the certificates in /var/lib/puppet (for puppetmaster) ? On Mon, Jul 26, 2010 at 7:30 PM, CraftyTech hmmed...@gmail.com wrote: Hello All, So it turns out that after the upgrade and subsequent rollback from

Re: [Puppet Users] Ubuntu Desktop

2010-07-24 Thread mohit chawla
Taking a shot in the dark really, but probably you need to specify gnome-specific groups(probbaly gdm etc) previliges for that particualr user ? On Sat, Jul 24, 2010 at 7:47 PM, Harihara Vinayakaram hvr...@gmail.comwrote: Hi I know this is not really a Puppet question . I have a set up

Re: [Puppet Users] Re: Recursively setting owner ?

2010-07-23 Thread mohit chawla
Regarding my initial query, the problem was that the subdirs files were also declared as separate resources, and hence I had to explicitly mention owner group for each of them individually. @Tore: Have no clue about the purge option. Did go through the docs, but not sure if I should set it or

Re: [Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread mohit chawla
This article is quite helpful as well: http://bitfieldconsulting.com/scaling-puppet-with-distributed-version-control On Thu, Jul 15, 2010 at 8:30 AM, Ohad Levy ohadl...@gmail.com wrote: On Thu, Jul 15, 2010 at 12:51 AM, Marc Zampetti marc.zampe...@gmail.comwrote: Ohad, So does that

Re: [Puppet Users] LDAP node search stopped working after Puppetmaster upgrade

2010-06-30 Thread mohit chawla
Do you get any kind of error/notice ? What does the ldap/slapd log say ? Also, did you mention the admnistrative (or whatever user) DN (and the password) in the puppetmasterd (or main) sections in puppet.conf ? And then again, how does your nodes.pp look like ? Does it have any entries ? --