Re: [Puppet Users] New Puppet Setup

2012-06-25 Thread Munna S
Hi Munna, > > You can find those packages in the EPEL repository. > > See http://fedoraproject.org/wiki/EPEL. > > Den > > On 25/06/2012, at 17:34, Munna S <19.mu...@gmail.com> wrote: > > Team, > > I am trying to setup new Puppet master server on Centos 5.4. I a

[Puppet Users] New Puppet Setup

2012-06-25 Thread Munna S
Team, I am trying to setup new Puppet master server on Centos 5.4. I am getting the below error which running yum install puppet-server puppet-2.7.17-1.el5.noarch from puppetlabs has depsolving problems --> Missing Dependency: ruby-shadow is needed by package puppet-2.7.17-1.el5.noarch (puppetl

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-08 Thread Munna S
Team, can someone help me Thanks, Jeeva On Mon, May 7, 2012 at 10:39 AM, Munna S <19.mu...@gmail.com> wrote: > Hi Team, > > sorry for the delay. My setup is like this. > > we have a 2 .pp file. one for production ( prod_base.pp) and other for > development ( dev_ba

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-07 Thread Munna S
the module which is mentioned in prod_base.pp. now my requirements is to exclude some of the modules from prod_base.pp for server server1.pp. How i can exclude certain module from the inherited list? Thanks, Jeeva On Wed, May 2, 2012 at 11:33 AM, Dan White wrote: > ----- Munna S <

[Puppet Users] Re: how to exclude modules from inherited list

2012-05-02 Thread Munna S
Team, Any help? Thanks, Jeeva On Wed, May 2, 2012 at 9:24 AM, Munna S <19.mu...@gmail.com> wrote: > Team, > > Is there any way where we can exclude certain module from the inherited > list > > Thanks, > Munna > -- You received this message because you are s

[Puppet Users] how to exclude modules from inherited list

2012-05-02 Thread Munna S
Team, Is there any way where we can exclude certain module from the inherited list Thanks, Munna -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-16 Thread Munna S
/jboss5/ >>>> in server 3 it sits under /opt/jboss6/ >>>> in server 4 no jboss is running >>>> >>>> now i have 3 different configuration file for each version of jboss >>>> which i need to replace. eg. >>>> fil

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-16 Thread Munna S
checks the jboss path on each server and should >> replace the sepcific file if it finds the specific path. eg >> >> if it finds /opt/jboss4, then it should replace file1, if it finds >> /opt/jboss5, then replace file2 and so on. But if no jboss path is found >> then don

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-16 Thread Munna S
nks, Jeeva On Mon, Apr 16, 2012 at 5:54 AM, Munna S <19.mu...@gmail.com> wrote: > Hi Sans > i am trying it now. will let you know the output soon. Also in my site.pp > i have the below content > > import 'nodes/*' > $puppetserver = 'puppet-server.domain.co

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-16 Thread Munna S
onday, April 16, 2012 1:34:31 AM UTC+1, Wil Cooley wrote: >> >> On Apr 13, 10:49 am, Munna S <19.mu...@gmail.com> wrote: >> > I followed your steps. now i am getting below error >> > >> > Apr 13 17:42:44 pil-vm-pup-01 puppet-master[7899]: Could not f

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-13 Thread Munna S
opy_jboss_conf { > >include dev_jboss_jeeva::jboss >dev_jboss_jeeva::jboss::opt_dir { > >'copy_to_1st': >path => 'jboss_1'; > >'copy_to_2nd': >path => 'jboss_2'; > >'co

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-12 Thread Munna S
path => '/opt/jboss/jboss-4.2.3.GA/server/default/conf/props/'; } } But i am still getting the error On Thu, Apr 12, 2012 at 12:26 PM, Munna S <19.mu...@gmail.com> wrote: > source file path it will take from my puppet master server right ? > > -Jeeva > > On

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-12 Thread Munna S
_2': >path => 'test2'; > >'test_3': >path => 'test3'; > >} > } > --- > > > It will copy "/tmp/yum.conf.security" to "/opt/test{1|2

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-12 Thread Munna S
I am bit confused about /var/staging/${file} . Let me explain again my requirement. we have 3 version of jboss running on multiple servers. I need a puppet module to copy a jboss config file to different location based on path condition check . Below is my requirement if /opt/path1 found on the

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-12 Thread Munna S
": > onlyif => "test -d /opt/path3" > command => "rsync -a /var/staging/file.txt /opt/path3"; > } > > For neatness' sake, you could turn that into a define{} > > On Thu, Apr 12, 2012 at 7:18 AM, Munna S <19.mu...@gmail.com> wrote:

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-12 Thread Munna S
group => "jboss", source => "puppet://$puppetserver/modules/module_name/opt/xyz/file.txt", } } } But i dont see files are getting pushed On Sun, Apr 1, 2012 at 11:08 PM, Munna S <19.mu...@gmail.com> wrote: > Thank yo

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-01 Thread Munna S
re > } > > Do this for every custom fact (corresponding to the paths you want to > check) in your manifest, or combine them into one giant if statement like: > > if ($path_to_x == 'true') or ($path_to_y == 'true') { > # Do something > } &g

Re: [Puppet Users] Re: Need puppet module for condition copy

2012-04-01 Thread Munna S
t or present (i.e. if $custom_fact { file > { '/path/to/file': ensure => file } } ). > > > Does that make sense? > > > > On Sun, Apr 1, 2012 at 8:37 PM, Munna S <19.mu...@gmail.com> wrote: > >> Team, >> >> Any help >> >> Thanks,

[Puppet Users] Re: Need puppet module for condition copy

2012-04-01 Thread Munna S
Team, Any help Thanks, Jeeva On Fri, Mar 30, 2012 at 12:51 PM, Munna S <19.mu...@gmail.com> wrote: > Team, > > I need a puppet module to copy a file to different location based on > condition check . Below is my requirement > > if /opt/path1 found on the server then co

[Puppet Users] Need puppet module for condition copy

2012-03-30 Thread Munna S
Team, I need a puppet module to copy a file to different location based on condition check . Below is my requirement if /opt/path1 found on the server then copy file1 if /opt/path2 found on the server then copy file1 if /opt/path3 found on the server then copy file1 if none of the above path fo

Re: [Puppet Users] Re: Need modules for cron

2012-03-08 Thread Munna S
r to suit your installation. > > Of course you going to have to run the agent manually on each host to > "jumpstart" this process, but there ya have it. > > One thought: > > If you are running out of cron you run the risk of multiple client systems > accessing yo

[Puppet Users] Re: Need modules for cron

2012-03-08 Thread Munna S
Hi Jeffrey, Thanks for the quick response. I need to copy the below content into init.pp file which is under my module right ? Also i created the module like this. /etc/puppet/modules/cron_puppet also should i define my class in the init.pp file. could you please help me on this. i am getting e