[Puppet Users] common template instead of two

2016-06-27 Thread Pearl Raj
Hi, While setting up persistant load balancer configuration in linux virtul server, I ended up with following two templates. On the load balancer: In lvs/manifests/ifcfg-lo_lb.erb DEVICE=eth1:lb IPADDR= NETMASK=255.255.255.0 ONBOOT=yes NM_CONTROLLED=no On the app servers: In lvs/manifests/i

Re: [Puppet Users] function that returns parameters from a webservice

2016-06-10 Thread Pearl Raj
paramx => $config['lvs::real_server']['paramx'] } class appx::agent($config) { class {'lvs'::agent': param1 => $config['lvs::agent']['param1'] paramx => $config['lvs::agent']['paramx'] } My doubt is ab

[Puppet Users] function that returns parameters from a webservice

2016-06-10 Thread Pearl Raj
I am trying to write a module containing a function that returns parameters from a webservice - http://localhost:5000/app/api/nodes/node_id. This function should return a hash of configuration settings specific to that host. How do I do this? I am using puppet 3.0. pseudo code is as follows n

[Puppet Users] pre-requisites for setting up Puppet

2016-05-10 Thread Raj
Hello All, Am new to Puppet could anyone send me the pre-requisites for setting up Puppet? Thank you in advance. Regards, Rajesh. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails f

Re: [Puppet Users] python on puppet

2016-04-22 Thread Bapi raj Loya
Hi Gary can i set environment in package for /usr/bin ?? On Fri, Apr 22, 2016 at 11:59 AM, Gary Greene wrote: > > > On Apr 22, 2016, at 11:04 AM, bapi.l...@cloudwick.com wrote: > > Hi all, > > I am trying to manage python packages from puppet.I wanted to run the > following commands *without us

[Puppet Users] JBOSS module installation and Configuration through puppet

2015-10-28 Thread raj kumar`
Hi , first of all thanks to all group members for your valuable comments and suggestions,am big admirer of this group,i have requirement to develop module for JBOSS installation and Configuration through puppet, so i am seeking all your help to get start with this, Thanks, Raj -- You

[Puppet Users] Creating the user account on puppet agent

2015-02-23 Thread Raj Raju
Hi, I am tried to creating the user account on puppet agent.puppet agent is not reflecting my changes. Edited */etc/puppetlabs/puppet*/*manifests/site.pp* file as follows: node 'puppet.client.net' { include user } Edited */etc/puppetlabs/puppet/**manifests/**init.pp* file as follows: c

[Puppet Users] puppet agent is not reflecting my changes

2015-02-18 Thread Raj Raju
I have installed puppet enterprise 3.7.2 on centos 7.Both Puppet master and agent is working .I can able to view the node from puppet enterprise console and attached screen shot. I create

[Puppet Users] Re: puppet nagios module integration

2014-01-12 Thread Raj kumar V
Hi Paul, Can you be more specific how you are using puppet to install nagios? You mean you are using puppet to install nagios agents in every server? Do you have anything other than in mind that can be automated in nagios using puppet? Thanks Raj On Monday, 30 December 2013 09:52:21 UTC-8

[Puppet Users] Re: connection error in console UI

2014-01-12 Thread Raj kumar V
culprit. 1. Configuring correct names for client and master in certificate aspect 2. I guess it uses the secure connection to DB also, need to configure that properly 3. Master should be running correct date and time... Thanks Raj On Friday, 10 January 2014 08:45:10 UTC-8, wernerbahlke wrote: > &

[Puppet Users] File handling

2013-11-27 Thread Raj kumar V
when I create the file resource again for deleting the installer files, it says it is already declared and cannot redeclare. Is there a option to fix this or I have to change the logic? Thanks Raj -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Duplicate declaration

2013-11-27 Thread Raj kumar V
I read the JCBollingers advice and removed the Class[blah blah] stuff and it worked... On Wednesday, 27 November 2013 15:02:18 UTC+5:30, Raj kumar V wrote: > > I have module, for which if I add the class in the UI and run the agent > with --test it fails with the following error. But

[Puppet Users] Duplicate declaration

2013-11-27 Thread Raj kumar V
I have module, for which if I add the class in the UI and run the agent with --test it fails with the following error. But If I just add the include in the init class and run, it works. Any idea? Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration:

[Puppet Users] puppet adding class in console

2013-11-26 Thread Raj kumar V
I have written a module and for testing, I have unzipped the tar in /etc/puppetlabs/puppet/modules directory. Now how can I have my class autodetected in the UI? It is not coming if I refresh the add class link. -- You received this message because you are subscribed to the Google Groups "Pupp

[Puppet Users] Console UI - Add Class - params

2013-11-25 Thread Raj kumar V
using puppet module build functions. I just unzipped the file in master server in module folder, but this was not loading it in the console either when I add class. What are the steps to install a module without having it in forge site? Thanks Raj -- You received this message because you are

[Puppet Users] Re: Could not find parent resource type

2013-11-21 Thread Raj kumar V
rams could not be found Error: Could not find class site24x7::params for On Thursday, 21 November 2013 14:41:01 UTC+5:30, Raj kumar V wrote: > > I have written a module with a init class. Now I have to pass a dynamic > value. so I have created a params class and inherited in the init

[Puppet Users] Re: Could not find parent resource type

2013-11-21 Thread Raj kumar V
Still the same error. I have the params in the same init location. http://pastebin.com/nCmcgMi4 look at the pp scripts here On Thursday, 21 November 2013 14:41:01 UTC+5:30, Raj kumar V wrote: > > I have written a module with a init class. Now I have to pass a dynamic > value.

Re: [Puppet Users] Could not find parent resource type

2013-11-21 Thread Raj kumar V
} What am i missing? On Thursday, 21 November 2013 15:41:49 UTC+5:30, Felix.Frank wrote: > > This looks pretty bad :-) > > Can you paste (excerpts of) your manifest code on pastebin or a similar > service? > > On 11/21/2013 10:11 AM, Raj kumar V wrote: > > I have wr

[Puppet Users] Could not find parent resource type

2013-11-21 Thread Raj kumar V
I have written a module with a init class. Now I have to pass a dynamic value. so I have created a params class and inherited in the init class and trying to access the value. But puppet says Could not find parent resource type ::params of type hostclass error. Any idea? -- You received th

Re: [Puppet Users] puppet testing

2013-11-20 Thread Raj kumar V
2013 16:14:33 UTC+5:30, Martin Alfke wrote: > > Hi Raj, > > you can do smoketsts for your module > http://docs.puppetlabs.com/guides/tests_smoke.html > > Simply use your module (e.g. by include ) > > The you run a local puppet apply —noop > > —noop ensures that

[Puppet Users] puppet testing

2013-11-20 Thread Raj kumar V
dont want complicate things with cucumber or some rspec etc. How can I test it with puppet apply command? When I run this it say everything complied but no work done and no errors too. Thanks Raj -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Puppet Enterprise Console not accessing the modules

2013-11-18 Thread Raj kumar V
I have the same issue. Got a coonection error in the UI and same message in the logs. I totally rebuilt the puppet server and some how the error went away. But some errors came. Mainly look at the certificate part is working well. On Monday, 18 November 2013 09:39:07 UTC+5:30, Rafael Abdalla wr

[Puppet Users] add classes returns coonection in console

2013-11-16 Thread Raj kumar V
Problem loading console auth middleware: cannot load such file -- console_auth_middleware Problem with loading console: cannot load such file -- console_middleware Problem with loading console auth: cannot load such file -- console_auth_app_middleware Problem with loading event inspector: cannot

[Puppet Users] connection error in console UI

2013-11-16 Thread Raj kumar V
When I click Add Class, I am seeing We found these classes on your system [image: Notice] [image: Failed]Connection error. We could not find classes on your master. Does your puppet master allow querying resource types? Don't see a class? [image: Notice] Type in a class to add What should I fix?

Re: [Puppet Users] puppdb connection refused

2013-11-16 Thread Raj kumar V
2 things. I dont know which one solved it. I dont know why I have to give the fqdn name in the jetty.ini file for the ssl host I ran the puppetdb ssl from /opt/puppet/sbin/puppetdb-ssl-setup . Dont know why it is in opt dir On Friday, 15 November 2013 22:22:38 UTC+5:30, Ken Barber wrote: > >

Re: [Puppet Users] puppdb connection refused

2013-11-15 Thread Raj kumar V
commands would be helpful to see. > > ken. > > On Fri, Nov 15, 2013 at 4:31 PM, Raj kumar V > > > wrote: > > Agent fails with the following error. I changed the jetty.ini file to > > 0.0.0.0 and still the same. I restart puppetdb alone after this...what > am

[Puppet Users] puppdb connection refused

2013-11-15 Thread Raj kumar V
Agent fails with the following error. I changed the jetty.ini file to 0.0.0.0 and still the same. I restart puppetdb alone after this...what am i missing? [root@nfaxen-cent1 ~]# puppet agent --test Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400

[Puppet Users] puppet agent fail error 400 not authorized to call find on /file_metadata

2013-05-17 Thread Raj K SHK
hi, I have upgraded puppet from 2.7 to 3.0 and reinstalled puppetdb and converted the new certs to truststore.jks and keystore.jks under the correct directory. I am using activeMq with mcollective below is puppet.conf [main] logdir = /var/log/puppet rundir = /var/run/pupp

Re: [Puppet Users] Re: Port 8139 needs to be open between machine running puppetrun and a client puppetd machine, correct?

2010-02-11 Thread Raj Gurung
Modified the puppet.conf but no joy still. # puppetrun -d --host client.mydomain.com debug: Parsing /etc/puppet/puppet.conf Finished I dont see the changes pushed to client.mydomain.com box. I wonder if LDAP is required component for puppetrun? Thanks, grg350 On Thu, Feb 11, 2010 at 12:44 PM, I

[Puppet Users] puppetrun doesn't update the clients

2010-02-11 Thread Raj Gurung
I am trying to configure puppetrun to configure clients from the puppetmaster. But for some reason, its not working for me. My config files goes: On Client: cat puppet.conf [main] server=puppetmaster.mydomain.com logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var