Re: [Puppet Users] How to set puppet runintervel to neverrun?

2015-08-17 Thread Ayyanar
On Monday, 17 August 2015 16:07:23 UTC+5:30, Martin Alfke wrote: > > > On 17 Aug 2015, at 11:38, Ayyanar > > wrote: > > > I don't want to fetch the configuration for particular interval. > > > > example default runintervel = 30min. > > I wan

[Puppet Users] How to set puppet runintervel to neverrun?

2015-08-17 Thread Ayyanar
I don't want to fetch the configuration for particular interval. example default runintervel = 30min. I want to never fetch the configuration. How to set this value. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

[Puppet Users] Faccing Error: Could not apply complete catalog: Found 1 dependency cycle

2015-08-03 Thread Ayyanar
How to resolve this. Thanks, Ayyanar Thangaraj -- 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 to puppet-users+unsubscr...@googlegroups.com. To

[Puppet Users] Re: Is there a way to deploy our configuration to agent.

2015-08-03 Thread Ayyanar
On Friday, 31 July 2015 19:00:42 UTC+5:30, jcbollinger wrote: > > > > On Wednesday, July 29, 2015 at 8:52:14 AM UTC-5, Ayyanar wrote: >> >> >> >> On Wednesday, 29 July 2015 17:59:02 UTC+5:30, Brendan Murtagh wrote: >>> >>> Please go into

[Puppet Users] Re: Is there a way to deploy our configuration to agent.

2015-07-29 Thread Ayyanar
file to agents. Thanks for your commands. Ayyanar Thangaraj. -- 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 to puppet-users+unsubscr...@googlegroups.c

[Puppet Users] Is there a way to deploy our configuration to agent.

2015-07-29 Thread Ayyanar
If you know the answer say "Yes" or "No". Thanks, Ayyanar Thangaraj -- 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 to puppet-user

[Puppet Users] How to deploy our configuration to agent from master itsefl.

2015-07-26 Thread Ayyanar
72.ec2.internal] { include directory-creation } I want to deploy directory-creation class file to agents. Thanks for your commands. Ayyanar Thangaraj. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

[Puppet Users] Re: How to search and replace a word in file

2015-07-26 Thread ayyanar
On Thursday, July 23, 2015 at 7:13:46 PM UTC+5:30, jcbollinger wrote: > > > > On Thursday, July 23, 2015 at 2:27:03 AM UTC-5, Ayyanar wrote: >> >> 1." sed -i 's/\$\$HISTORY\$\$/puppet/' /etc/ >> system.com " >>

[Puppet Users] Re: How to search and replace a word in file

2015-07-23 Thread Ayyanar
On Thursday, 23 July 2015 12:57:03 UTC+5:30, Ayyanar wrote: > > 1." sed -i 's/\$\$HISTORY\$\$/puppet/' /etc/ > system.com " > > > I want to replace a word $$HISTORY$$ with puppet text into /etc/system.com > file. > &g

[Puppet Users] How to search and replace a word in file

2015-07-23 Thread Ayyanar
1." sed -i 's/\$\$HISTORY\$\$/puppet/' /etc/system.com " I want to replace a word $$HISTORY$$ with puppet text into /etc/system.com file. Thanks for your commands. Ayyanar. -- You received this message because you are subscribed to the Go

[Puppet Users] Re: how to export path in bashrc via puppet script

2015-07-16 Thread ayyanar
On Thursday, July 16, 2015 at 11:55:07 PM UTC+5:30, Vince Skahan wrote: > > > On Thursday, July 16, 2015 at 9:58:53 AM UTC-7, ayy...@orzota.com wrote: >> >> exec { file1: >> command => "/bin/echo "export >> JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bash

[Puppet Users] How to append a file in bashrc file.

2015-07-16 Thread ayyanar
cd $HOME/a.sh >> $HOME/.bashrc how to append a.sh file into bashrc file. -- 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 to puppet-users+unsubscr...@googlegroups

[Puppet Users] how to export path in bashrc via puppet script

2015-07-16 Thread ayyanar
VER: Syntax error at 'export'; expected '}' at /etc/puppet/modules/a/manifests/init.pp:3 on node ip-10-61-204-93.ec2.internal Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Thanks for your commands. Thanks, Ayyanar -- You receiv

[Puppet Users] how to export path in bashrc via puppet script

2015-07-16 Thread ayyanar
VER: Syntax error at 'export'; expected '}' at /etc/puppet/modules/a/manifests/init.pp:3 on node ip-10-61-204-93.ec2.internal Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Thanks for your commands. Thanks, Ayyanar -- You receiv

[Puppet Users] How to create hadoop directory vi puppet script.

2015-07-09 Thread Ayyanar
e. while executing this command facing validation issue. how to solve this. 2. "Error: Validation of Exec[/home/haas] failed: 'hadoop fs -mkdir -p /apps/hive/warehouse' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/manifests/sit

Re: [Puppet Users] How to execute multiple script in puppet using bashrc file sourced.

2015-07-03 Thread ayyanar
On Thursday, July 2, 2015 at 3:25:42 PM UTC+5:30, Martin Alfke wrote: > > Hi, > On 02 Jul 2015, at 10:29, Ayyanar > > wrote: > > > 1. I am executing two shell script in puppet agent. > > 2. In first shell script setting env variable in bashrc file. exam

[Puppet Users] How to execute multiple script in puppet using bashrc file sourced.

2015-07-02 Thread Ayyanar
1. I am executing two shell script in puppet agent. 2. In first shell script setting env variable in bashrc file. example export "JAVA_HOME=/opt/jdk1.8.0_45" >> bashrc file and i sourced bashrc file. 3.In second shell script changing permission for JAVA_HOME. The permission is not changed.

Re: [Puppet Users] How to run shell script in new terminal using puppet.

2015-06-28 Thread ayyanar
sourced. 2. In second > > shell script contain that env variable. But that env variable is > > not reflected in second shell script. Is it possible do fix this > > problem. > > > > Thanks. Ayyanar Thangaraj. > > > > -- You received this message beca

[Puppet Users] How to run shell script in new terminal using puppet.

2015-06-25 Thread ayyanar
1. I am trying to run 3 shell scripts. In first shell scripts i added some env variable in bashrc file and i sourced. 2. In second shell script contain that env variable. But that env variable is not reflected in second shell script. Is it possible do fix this problem. Thanks. Ayyanar

Re: [Puppet Users] Puppet is not executing scripts in order.

2015-06-25 Thread ayyanar
last resort to accomplish something Puppet does > not support. > > On Wed, Jun 24, 2015 at 6:22 AM, Ayyanar > > wrote: > >> >> == My site.pp contains shell script executing. I need to run this file >> according to this order. >> >> class hadins

[Puppet Users] Puppet is not executing scripts in order.

2015-06-24 Thread Ayyanar
== My site.pp contains shell script executing. I need to run this file according to this order. class hadinstall { file { "/home/haas/a1.sh": mode => "0755", owner => 'haas', group => 'haas', source => 'puppet:///modules/scripts/01-hadoop-install.sh', }