[Puppet Users] Puppetserver error

2011-12-29 Thread Khan
Hello everyone, I am new to puppet. I have installed on redhat Enterprise 5and seems to be working fine. Couple days ago I was testing some permissions on / etc folder and applied 600 /etc and sub folders. Although I have reverted the permission but I am having issues on puppetmaster. Currently I h

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
indicating the cache format is added automatically. # The default value is '$confdir/localconfig'. localconfig = $vardir/localconfig On Thu, Dec 29, 2011 at 1:43 PM, Aaron Grewell wrote: > Can you post your config? It sounds like there may be an error in it. > > On Thu,

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
same results after changes , what should i add into master section? On Thu, Dec 29, 2011 at 2:08 PM, Aaron Grewell wrote: > You'll want to change [puppetd] to [agent], as well as adding a > [master] section with appropriate contents. > > On Thu, Dec 29, 2011 at 10:57 AM, Moham

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
onfig specified in [puppetd], which is a deprecated section. I'm assuming you meant [agent] Dec 29 13:29:27 server puppet-master[21035]: Reopening log files Dec 29 13:29:27 server puppet-master[21035]: Starting Puppet master version 2.6.12 On Thu, Dec 29, 2011 at 12:35 PM, Justin wrote: &g

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
moves to next line and so on. On Thu, Dec 29, 2011 at 2:22 PM, Aaron Grewell wrote: > Run puppet --genconfig for an example. > > > On Thu, Dec 29, 2011 at 11:12 AM, Mohammad Khan > wrote: > > same results after changes , what should i add into master section? > > > >

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Mohammad Khan
the 'Permission denied' error as > well as the non starting Puppet process. > > Bernd > > > -Ursprüngliche Nachricht- > > Von: puppet-users@googlegroups.com [mailto:puppet- > > us...@googlegroups.com] Im Auftrag von Khan > > Gesendet: D

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Mohammad Khan
: Cannot convert into OpenSSL::BN On Fri, Dec 30, 2011 at 7:23 AM, Mohammad Khan wrote: > Thanks guys; I am getting closer but still some errors. I am getting these > errors now. > Starting Puppet client version 2.6.12 > Dec 30 07:20:40 puppet puppet-agent[19918]: Could not retr

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Mohammad Khan
more when i restart the agent from the client now I get this message under server message log: client has a waiting certificate request Under my client message log: hostname puppet-agent[13385]: Did not receive certificate On Fri, Dec 30, 2011 at 7:36 AM, Mohammad Khan wrote: > I have tried

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Mohammad Khan
:52 Client puppet-agent[15030]: Using cached catalog Dec 30 08:52:52 Client puppet-agent[15030]: Could not retrieve catalog; skipping run On Fri, Dec 30, 2011 at 8:26 AM, Mohammad Khan wrote: > I have gone little further nowwhat I have done is to delete the ssl folder > from one of the

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Mohammad Khan
Do I need to make any changes to server or delete sl info on the server. I am still getting the certificate verify failed error on clients? On Fri, Dec 30, 2011 at 8:54 AM, Mohammad Khan wrote: > I was able to sign the certificate to the client but still I am getting > this error now

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Mohammad Khan
sort, otherwise you'll have to rebuild all > your client certs. > > If that's what you already did, make sure that your ssldir and its > contents are owned by user & group puppet as well. > > On Fri, Dec 30, 2011 at 8:02 AM, Mohammad Khan > wrote: > > Do I

Re: [Puppet Users] Puppetserver error

2011-12-30 Thread Mohammad Khan
I have done this already; however, client "certificate verify failed" is occurring now where I am stuck. On Fri, Dec 30, 2011 at 12:51 PM, Aaron Grewell wrote: > You'll have to re-sign your node's cert using puppetca --sign > > On Fri, Dec 30, 2011 at 9:28 AM,

Re: [Puppet Users] Puppetserver error

2012-01-03 Thread Mohammad Khan
; Am 30.12.2011 um 18:55 schrieb Mohammad Khan : > > I have done this already; however, client "certificate verify failed" is > occurring now where I am stuck. > > On Fri, Dec 30, 2011 at 12:51 PM, Aaron Grewell > wrote: > >> You'll have to re-sign your nod

[Puppet Users] Passing an entire directory from the puppet master.

2013-11-28 Thread Waqar Khan
Can someone help, im trying to send an entire directory with its contents to the puppet agent. Here is the init.pp file: class testing { file { "C:/test/": ensure => directory, owner => 'Administrator', group => 'Administrators', mode => '0755', } file { "C:/test/testscript": ensure =>

[Puppet Users] How to call a module from another module

2015-07-08 Thread Hiranmoy Khan
Hello, I am trying to call module A from module B if variable Y is false. And if module B executed successfully then variable var1 = true. But not sure about the syntax. In module B. if $y { #do something } else { if Class["::A"] { $var1 = true } else { $var2= false } } In

[Puppet Users] seeing too many change messages.

2014-01-20 Thread Muhammad Yousuf Khan
hello guys, i am new to puppet and few days back have installed motd module for testing this is my first module working great however i just see too many change messages since the day motd module has installed. this is what i see in all the messages this message showed up as CHANGE in every a

[Puppet Users] Re: seeing too many change messages.

2014-01-20 Thread Muhammad Yousuf Khan
On Monday, January 20, 2014 7:25:18 PM UTC+5, Muhammad Yousuf Khan wrote: > > hello guys, > > i am new to puppet and few days back have installed motd module for > testing this is my first module working great however i just see too many > change messages since the d

Re: [Puppet Users] seeing too many change messages.

2014-01-20 Thread Muhammad Yousuf Khan
On Monday, January 20, 2014 8:01:13 PM UTC+5, Felix.Frank wrote: > > Hi, > > On 01/20/2014 03:25 PM, Muhammad Yousuf Khan wrote: > > hello guys, > > > > i am new to puppet and few days back have installed motd module for > > testing this is my first mod

[Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Muhammad Yousuf Khan
On Tuesday, January 21, 2014 7:18:42 PM UTC+5, jcbollinger wrote: > > > > On Monday, January 20, 2014 8:25:18 AM UTC-6, Muhammad Yousuf Khan wrote: >> >> hello guys, >> >> i am new to puppet and few days back have installed motd module for >> tes

Re: [Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Muhammad Yousuf Khan
On Wednesday, January 22, 2014 2:08:16 PM UTC+5, Felix.Frank wrote: > > Hi, > > On 01/22/2014 10:04 AM, Muhammad Yousuf Khan wrote: > > The free memory is <%= memoryfree %> > > the $memoryfree fact is bound to have a different value on each puppet > run, I t

Re: [Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Muhammad Yousuf Khan
alog, including file contents generated from > templates > 5. the agent verifies that the system state is synchronous with the > catalog specification, and performs update actions if there are > discrepancies > > Hope this makes sense, > Felix > > On 01/22/2014 11:46

[Puppet Users] roll back update

2014-01-22 Thread Muhammad Yousuf Khan
Hello All, i have seen so many apt modules on puppet forge website. they are more like changing source list path defining. HTTP proxy blah blah but what i want is a bit more. is there any apt module which can help me to update only selective updates (like in Microsoft Wsus does, it list down a

[Puppet Users] pkg install via puppet on specific node.

2014-02-06 Thread Muhammad Yousuf Khan
hello All, hello All, i am a puppet newbie and have used few modules from forge.puppetlabs.com. they are working great. now i want to install packages like 'sudo' 'tcpdump' etc. is there any moduel which can do that. i have been reading about installing packages on puppet docs but i only found com

[Puppet Users] puppet random notification confusion

2014-02-10 Thread Muhammad Yousuf Khan
i am being through a exercise on docs.puppetlabs.com and i am confuse with the notification output. as it shows last message first and first message at last. i just need to know why the output notifications are random here is my .pp file. @puppet:/etc/puppetlabs/puppet# cat text.pp file {'/tmp/