Re: [Puppet Users] Re: Host name lookup failure

2013-03-27 Thread yarlagadda ramya
localhost.localdomain localhost *tbms *Thanks all for ur support.. Regards, Ramya Y. On Thursday, 21 March 2013 07:56:24 UTC+5:30, Pete wrote: You need to reboot for selinux to be disabled. Try setenforce permissive to switch off enforcing mode. On 20 March 2013 15:28, yarlagadda ramya rams

[Puppet Users] Host name look up failure- unable to generate certificate in agent and transfer that to master for signature.

2013-03-20 Thread yarlagadda ramya
Hi all, 1)I installed puppet agent in one of the server and i gave the name of the master for which it needs to be connected as puppet. But am unable to connect to the host..the certificate is not present in the master when i searched for it with this command *puppet cert list -all *am

[Puppet Users] Re: Host name look up failure- unable to generate certificate in agent and transfer that to master for signature.

2013-03-20 Thread yarlagadda ramya
On Wednesday, 20 March 2013 11:36:30 UTC+5:30, yarlagadda ramya wrote: Hi all, I tried disabling selinux also..i disabled it..but still am getting the same errors. 1)I installed puppet agent in one of the server and i gave the name of the master for which it needs to be connected

Re: [Puppet Users] Re: Host name lookup failure

2013-03-19 Thread yarlagadda ramya
not working... please check it out... Regards Ramya Y On Monday, 18 March 2013 20:16:20 UTC+5:30, krish wrote: On Mon, Mar 18, 2013 at 6:24 PM, yarlagadda ramya rams@gmail.comjavascript: wrote: Hi krish.. Am able to reach the master through user..and am mentioning down

Re: [Puppet Users] Re: Host name lookup failure

2013-03-19 Thread yarlagadda ramya
Hi krish, I also tried modifying SELINUX=disabled in /etc/selinux/config but its of no use..it dint get disabled Regards, Ramya Y On Wednesday, 20 March 2013 10:29:17 UTC+5:30, yarlagadda ramya wrote: Hi.. I tried to disable selinux but it dint worked...it is enabled..only... I

[Puppet Users] Re: Host name lookup failure

2013-03-18 Thread yarlagadda ramya
, 15 March 2013 14:46:37 UTC+5:30, yarlagadda ramya wrote: Hi all, I installed puppet agent in one ip in linux..and am trying to connect to master while installing only..agent is getting installed but its giving host name look up failure.. But i specified the correct host name only

[Puppet Users] Host name lookup failure

2013-03-15 Thread yarlagadda ramya
Hi all, I installed puppet agent in one ip in linux..and am trying to connect to master while installing only..agent is getting installed but its giving host name look up failure.. But i specified the correct host name only for the master for which it needs to be connected during

[Puppet Users] How to add a new line at a particular place in a file..

2013-03-13 Thread yarlagadda ramya
Hi all, How can i write a puppet code such that..it adds a line of content that i want..at a desired place in a file.. if [ x$JAVA_OPTS = x ]; then JAVA_OPTS=-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true

[Puppet Users] Re: Regd applying condition

2013-02-25 Thread yarlagadda ramya
yes...thankyou...will apply it.. On Monday, 25 February 2013 12:34:16 UTC+5:30, yarlagadda ramya wrote: Hi all, This is the class i have written for downloading and installing jdknow i want to apply a condition using if for it such that...this downloads the file and installs it only

Re: [Puppet Users] applying condition for a module

2013-02-24 Thread yarlagadda ramya
Hi.., Am not using file...m using exec and in that wget command.. On Friday, 22 February 2013 19:54:47 UTC+5:30, k...@mocker.org wrote: yarlagadda ramya rams@gmail.com javascript: writes: hi all, I wote a module for downloading jdk, jboss, mysql and installing them..now i

[Puppet Users] applying condition for a module

2013-02-21 Thread yarlagadda ramya
hi all, I wote a module for downloading jdk, jboss, mysql and installing them..now i would like to apply a condition to it...in such a way that..if its already downloaded, it should not download it.. can some one please help me with this... Regards, Ramya -- You received this message

[Puppet Users] How to apply condition such that jdk doesnt download if its already downloaded in the code given

2013-02-21 Thread yarlagadda ramya
Hi all, Can u pls provide me the solution for this class main { $software = /app/tcs/puppetdemo/software $server = /app/tcs/puppetdemo/server exec{download_jdk: command =/usr/bin/wget $URL, cwd =$software, } exec {untar_jdk: command = /bin/tar -C

[Puppet Users] Can we write many classes in a single manifest

2013-02-17 Thread yarlagadda ramya
Hi all, Can we write many classes in a single manifest and apply that manifest?? For example i have created manifest, file1.pp and it includes the following: class one{ exec{-- command = , cwd =, }

[Puppet Users] How to call one manifset from another

2013-02-13 Thread yarlagadda ramya
Hi all, I have 3 different manifests. How can i call one manifest from another manifest? Please do help me with this. -- 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

[Puppet Users] Re: getting notrun to 0 error

2013-02-13 Thread yarlagadda ramya
Thanks i got the solution mathew On Wednesday, 13 February 2013 11:16:13 UTC+5:30, yarlagadda ramya wrote: *Hi all, I wrote a manifest for downloading linux.x64_11gR2_database_1of2.zip and copying that to another directory and unzipping there..its getting downloaded but copying

Re: [Puppet Users] getting notrun to 0 error

2013-02-12 Thread yarlagadda ramya
Sorry krish...i dint get you.. On Wednesday, 13 February 2013 11:24:16 UTC+5:30, krish wrote: err: /Stage[main]//Exec[copy_unzip]/returns: change from notrun to 0 failed: /usr/bin/unzip -C /db/oracle /db/combo.zip returned 9 instead of one of [0] at /root/learning-manifests/combozip.pp:13

[Puppet Users] Unable to resolve notrun to 0 error

2013-02-11 Thread yarlagadda ramya
*Hi all this is the manifest i have written for installing oracle:* $URL = http://192.168.24.171:8080/softwares/linux.x64_11gR2_database_1of2.zip; $Software = /db $Server = /db/oracle exec { download_url: command = /usr/bin/wget $URL, cwd = $Software, } exec {copy_unzip:

[Puppet Users] Ordering The path to be followed in installing JBOSS-AS-7.1.1

2013-01-30 Thread yarlagadda ramya
Hi all, I actually downloaded Jboss-as-7.1.1.final.tar.gz file from net and stored it in a directory..through LINUX. Now using the local machines IP with which am working, i wrote manifest for the following things to happen: 1)Downloading the same tar file to another directory. 2)Changing its

[Puppet Users] How to assign variable for an URL

2013-01-28 Thread yarlagadda ramya
Hi all, I have written the following code... $someendpoint1=12345 $someendpoint2=54321 $prop = /app/tcs/temp.properties file{'temp.properties': path =$prop, ensure ='present', content =$someendpoint1=http://sdrhuiswresw:8080/ersfrsdrs/sdersrsrs

[Puppet Users] Pls do suggest a simple example for creating a class using manifests

2013-01-15 Thread yarlagadda ramya
Hi all, I have created two different manifests: 1) For moving a particular file from one directory to another using exec. 2)For renaming that same file using exec. Now can you please suggest me the syntax for creating a class which applies these two manifests?? In Modules, actually a very

[Puppet Users] Regd:Change of Login Message

2013-01-08 Thread yarlagadda ramya
*Hi all, Can some one please help me with this Declare a file resource in a manifest and apply it! Try changing the login message by setting the content of /etc/motd.* -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion