[Puppet Users] inline_template not working after migrated to puppet5

2018-07-09 Thread Suresh P
local variable or method `header' for # (file: /home/sas/in2_puppet/environments/production/modules/pkg/manifests/memcache/installmemcache.pp, line: 45, column: 12) (file: /home/sas/in2_puppet/environments/production/modules/in2/manifests/memcache/common.pp, line: 13) on node Can you help

[Puppet Users] mysql module package names

2016-09-10 Thread Suresh Rajagopal
Hi, Is there any better approach to handle mysql package names with different flavors ? In the current forge module, we need to pass package name. Is there any better approach to deriving package names with just passing version through hiera ? ThanksSuresh Rajagopal -- You received this messag

Re: [Puppet Users] mysql package name

2016-08-29 Thread Suresh Rajagopal
so they can be overridden by users, often via hiera. On Monday, August 29, 2016, Suresh Rajagopal wrote: Hi Peter, Yes passing package name works. But i have to pass package name for all the components. Something like below. I am just trying to figure out a way to handle this better. variable

Re: [Puppet Users] mysql package name

2016-08-29 Thread Suresh Rajagopal
t; 'mysqld',          default       => 'mysqld'    } ThanksSuresh Rajagopal From: Peter Kristolaitis To: puppet-users@googlegroups.com Sent: Monday, August 29, 2016 11:03 AM Subject: Re: [Puppet Users] mysql package name There is a package_name parameter i

Re: [Puppet Users] mysql package name

2016-08-29 Thread Suresh Rajagopal
e [0]. They solve it by having a package_ensure parameter to the mysql::server class which is one of [ 'present', 'latest, 'absent', 'x.y.z' ] where "x.y.z" is a version string.  [0] https://forge.puppet.com/puppetlabs/mysql#mysqlserver --Lowe Schmidt

[Puppet Users] mysql package name

2016-08-29 Thread Suresh Rajagopal
Hi, Puppet 3.4 with hieara. what is the best place to define package name within a module? package name varies based on package version. Thanks Suresh Rajagopal -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

Re: [Puppet Users] Re: many agents connecting at same time and 100+ nodes failed.

2015-01-08 Thread Suresh P
es so all agents trying to connect the puppet masters at same polling interval. Regards, Suresh. On Tuesday, 11 November 2014 21:18:42 UTC+5:30, Christopher Wood wrote: > > Following up to myself since it turned out that running puppet agents via > cron was better for us due to one imp

Re: [Puppet Users] puppet agent restarting everyday?

2014-12-18 Thread Suresh P
Becase of this restart. My 1200 puppet agent runtime changed and so all 1200 puppet agents try to connect puppetmasters at same time because of this most of the agent in out-of-sync or error stat. Regards, Suresh. On Tuesday, 16 December 2014 20:10:21 UTC+5:30, Dirk Heinrichs wrote

Re: [Puppet Users] puppet agent restarting everyday?

2014-12-16 Thread Suresh P
] && /etc/init.d/puppet reload > /dev/null 2>&1 || true endscript } -Suresh On Monday, 15 December 2014 19:02:14 UTC+5:30, Felix.Frank wrote: > > On 12/12/2014 02:37 PM, Dirk Heinrichs wrote: > >> Why puppet agent restarting everyday at 00:01 hours? >

[Puppet Users] puppet agent restarting everyday?

2014-12-12 Thread Suresh P
::HTTPServer#start done. [2014-12-12 00:01:02] INFO WEBrick::HTTPServer#start: pid=1594 port=8139 Regards, Suresh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

[Puppet Users] many agents connecting at same time and 100+ nodes failed.

2014-11-05 Thread Suresh P
12:51 (34 minutes ago) Hi, In my puppet setup, i'm managing around 1700+ nodes via foreman. I have 3 puppet master ( one of the server is CA) under load-balancing and one foreman as ENC and report viewer. Around 900+ nodes connecting at same time, due to that 150 out of 900 getti

[Puppet Users] puppet firewall redirection policy

2014-08-11 Thread Suresh P
.0/0 multiport dports 443 /* 002 default redirection policy */ redir ports 8443 Kindly help me Regards, Suresh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from

[Puppet Users] issue in generating password sha-512 hash for centos

2014-07-01 Thread Suresh P
Hi, user_password="test123" pass => generate('/bin/sh, '-c', "python -c 'import crypt;print crypt.crypt('$user_password','\$6\$mpouwk')'|tr -d '\n' "), In above case i'm not able to generate sha-512 password

[Puppet Users] issue in generating password hash via puppet

2014-06-30 Thread Suresh P
7;,\'\$6\$mpouwk\')'|tr -d '\n' "), But puppet run failed. Please advise me. Regards, Suresh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from i

[Puppet Users] puppet kick not working from foreman UI alone

2014-05-14 Thread Suresh P
>From foreman server also puppet kick working. curl -d 'nodes=puppetagent' https://puppetmaster:8443/puppet/run --insecure but in foreman UI only puppet kick not working. Please advise me. Regards, Suresh On Wednesday, 14 May 2014 14:38:50 UTC+5:30, Suresh P wrote: > > Hi,

[Puppet Users] puppet kick not working

2014-05-13 Thread Suresh P
run method save allow * In puppet client puppet.conf change listen=true. Please advice me. Regards, Suresh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an em

[Puppet Users] exporting puppetdasboard group to foreman

2014-05-12 Thread Suresh P
Hi, Previously i have used puppetdasboard as ENC. I have created many groups in puppetdashboard. Now i installed and configured Foreman as ENC. Now i would like to import existing pupportdashboard grouping in foreman. Is it possible? Regards, Suresh -- You received this message because

[Puppet Users] Re: puppet dashboard group and class

2014-03-13 Thread Suresh P
Hi Nicolas, I too have the same issue. Do you have doc to enable external_node feature. Thanks, Suresh On Wednesday, 15 December 2010 06:47:24 UTC+5:30, Nicolas Aizier wrote: > > Hi everyone, > > I'm actually kind of new in puppet but I'm doing good in progressing. >

Re: [Puppet Users] Host/Agent should not install if there are no changes in file

2012-04-26 Thread Suresh
== stage { "stop_service": ; } node mynode.com { include filecheck, myapp } What I need is if filecheck fails, then execution should stop and should go no further. -Suresh On Wed, Apr 25, 2012 at 7:21 PM, Michael Baydoun wrote: > The file ensure for the tar file should on

[Puppet Users] Host/Agent should not install if there are no changes in file

2012-04-25 Thread Suresh
it shouldn't if the file is unchanged from its previous download. How can I configure agent, such that it should perform the installation, only if downloaded file is changed from previous download? Suresh -- You received this message because you are subscribed to the Google Groups &quo