Re: [Puppet Users] Re: Service refresh gets scheduled and swp files

2013-09-27 Thread AAB !!
Hi, My both problems have been solved. I instead of using the pessenger services started using the *WEBrick web services*. When I stopped the *puppetmaster service and started the apache2 service (port 8140)* things went like rocket !! Second issue with the .swp file went away when I added the

Re: [Puppet Users] Re: Service refresh gets scheduled and swp files

2013-09-24 Thread Sneha More
Hi, Add purge => true in your file resouce. You can try this :-> file {"/etc/nginx/": source => "puppet:///files/nginx/nginx/", ensure => "directory", recurse => true, purge => true, require => Package['nginx'], } This will manage the deletion of files on client if you delete file on server. Tha

[Puppet Users] Re: Service refresh gets scheduled and swp files

2013-09-24 Thread AAB !!
Thanks for reply ! Could you/anyone tell me if a file gets deleted on the puppet master why does it still appear on the puppet agent, only this delete operation doesn't seems be executing !! Any ideas ? On Tuesday, September 24, 2013 10:02:44 AM UTC+2, AAB !! wrote: > > Hi, > I have two issues

[Puppet Users] Re: Service refresh gets scheduled and swp files

2013-09-24 Thread Sneha More
Hi, 1st issue : From the logs, it is clear that there are 2 events which triggers * Service[nginx]. *Means there are 2 files which triggers *Service[nginx] *and when the 2nd file configuration changes are completed, it restart the service. So it may be possible that the second file takes 15-20