[Puppet Users] passenger starts old pupper

2011-11-09 Thread Leonko
Hello, I use Centos 5x with rpmforge for install puppet. It's update's itself. Today system update puppet to 2.7.x version. Puppen agent updates ok. But passenger start old version(2.6.x). Then I start puppetmaster init script (it's start WEBrick) started new version. Apache vhost: RackAu

[Puppet Users] Add file size/md5 validation

2010-12-08 Thread Leonko
Hello, Anybody know how I can make checking file for verify for size/md5sum and if it not equal my value rewrite it from server. There may vriant than simple: file { /my/file: ensure => present, checksum => true,source => "puppet:///files/file"} ? Thanks -- You received this message because yo

[Puppet Users] Re: centos add user failed

2010-12-08 Thread Leonko
Thank you! Thank you! I did not knew what is important. On Nov 19, 9:28 pm, Felix Frank wrote: > On 11/17/2010 07:01 PM, Nan Liu wrote: > > > On Wed, Nov 17, 2010 at 4:00 AM, Leonko wrote: > >> Hello, I have problem with creating user under centos: > > >> part

[Puppet Users] Re: centos add user failed

2010-12-08 Thread Leonko
t => "$uname", password => "$hash"; } Sorry for late reply. On Nov 17, 9:01 pm, Nan Liu wrote: > On Wed, Nov 17, 2010 at 4:00 AM, Leonko wrote: > > Hello, I have problem with creating user under centos: > > > part of my class: > > >  

[Puppet Users] Re: centos add user failed

2010-11-17 Thread Leonko
Sorry. Problem realy only in Upper -G. By-hand with -g work fine! On 17 ноя, 15:00, Leonko wrote: > Hello, I have problem with creating user under centos: > > part of my class: > >    user {jboss: >            ensure   => present, >            home    => "

[Puppet Users] centos add user failed

2010-11-17 Thread Leonko
Hello, I have problem with creating user under centos: part of my class: user {jboss: ensure => present, home=> "$jboss_home", shell => "/bin/bash", groups => jboss, } and in log I see: err change from absent to present failed: C

Re: [Puppet Users] Problem with modules

2010-11-11 Thread Leonko
Problem is solved. Leonid S. Batizhevsky On Thu, Nov 11, 2010 at 22:00, Patrick wrote: > > On Nov 11, 2010, at 12:54 AM, Leonko wrote: > >> Hello. I use puppet 2.6.3-rc2 >> Now I try move my classes to modules. >> But I got a problem that Puppet does not sees mo

Re: [Puppet Users] Re: Problem with modules

2010-11-11 Thread Leonko
Thank you. Now it's work. But why in documentation is nothing about it? Leonid S. Batizhevsky On Thu, Nov 11, 2010 at 12:02, luke.bigum wrote: > Try rename: > > modules/postgresql/ > > to: > > modules/postgres/ > > so it matches the name of your class. > -- You received this message because y

[Puppet Users] Problem with modules

2010-11-11 Thread Leonko
Hello. I use puppet 2.6.3-rc2 Now I try move my classes to modules. But I got a problem that Puppet does not sees modules. in puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl libdir = /opt/puppet-dashboard/lib/puppet modulepath=$confdi

[Puppet Users] Re: require service started at another node

2010-11-01 Thread Leonko
Thank you. It's real helpful. On Nov 1, 1:12 pm, John Warburton wrote: > On 29 October 2010 22:56, Leonko wrote: > > > Hello, > > Anybody now how make with puppet dependence on other service on > > another node? > > > You could try looking at it like

[Puppet Users] Re: require service started at another node

2010-11-01 Thread Leonko
Thank you. But I think I prefer "func" for this job and start it from main node On Nov 1, 11:12 am, Thomas Bendler wrote: > 2010/11/1 Leonko > > > [...] > > >  2.  Make your application server tolerant of database downtime (that > > > is, have the app

[Puppet Users] Re: require service started at another node

2010-11-01 Thread Leonko
You can say more about it? I do not understand what you say? > Can you give your app a babysitter wrapper service?  This sounds like it > might be useful just for uptime. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

[Puppet Users] Re: require service started at another node

2010-11-01 Thread Leonko
> >  1.  Make sure that your database service is up early, as resilient as > you can make it and rarely restarted. > Thank you. Maybe you know method to validate what db is start early. It's very important for me. >  2.  Make your application server tolerant of database downtime (that > is, hav

[Puppet Users] Re: require service started at another node

2010-10-31 Thread Leonko
Thanks, but I didn't understand how it works. Maybe you know documentation for this module? On 29 окт, 22:09, Ohad Levy wrote: > You can try using something > likehttp://github.com/puppetlabs/puppet-external-resource > > Ohad > > On Fri, Oct 29, 2010 at 1:56 PM, L

[Puppet Users] Re: require service started at another node

2010-10-31 Thread Leonko
Hello, Bruce. At now we have hard dependence between file storage, db server and appserver. If it chain broken at any phase we get the message from zabbix. And we try it automatize this action. On 29 окт, 21:53, Bruce Richardson wrote: > On Fri, Oct 29, 2010 at 04:56:34AM -0700, Leonko wr

[Puppet Users] require service started at another node

2010-10-29 Thread Leonko
Hello, Anybody now how make with puppet dependence on other service on another node? like : require => Service[dbnode:postgresql] I need ensure that the db is running on another node before start my appserver. Thank you. -- You received this message because you are subscribed to the Google Gro