[Puppet Users] Re: puppet newbie

2012-07-10 Thread Marshie8
Thanks guys for all your help, that all now works perfectly. Best wishes, M -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/vckvMCUUo4kJ. To post to this

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
On Tuesday, July 10, 2012 4:12:42 PM UTC+1, Matthew Burgess wrote: > > Then it looks like you're running puppet under its default webrick > configuration. How do you start your puppetmaster? Via the init > script? Yes, it's running as the puppet user: server-1:~ # ps -ef |grep 'puppetmast

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
On Tuesday, July 10, 2012 3:26:47 PM UTC+1, Andreas Paul wrote: > > Of course the file you want to deploy with puppet must be readable by the > puppetmaster. > Do you use Apache Passenger, Nginx or webbrick? > > If you use Apache Passenger: > > The file /etc/puppet/files/server_file must be read

Re: [Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
On Tuesday, July 10, 2012 11:33:38 AM UTC+1, Matthew Burgess wrote: > > My suggestion would be to take a copy of the file as it is on your > server now, and place it under the control of puppet. The following > simple manifest should do what you're after: > > class server_file { > > file

[Puppet Users] puppet newbie

2012-07-10 Thread Marshie8
Hi, I am new to Puppet. I need to monitor a file for changes on a server and if it does, copy it immediately to the clients. But it has permissions 640, and must retain these. Can anyone suggest a manifest for this? Thanks a lot. M -- You received this message because you are subscri

[Puppet Users] keeping local accounts up to date

2012-06-21 Thread Marshie8
Hi guys, Just started to look at Puppet. Is there a way I can have a user log into a Puppet Server box, and change their own password? Wondered if there was a script out there already that monitored for changes to the /etc/passwd and /etc/shadow entry for the user and extract the string t