[Puppet Users] Some beginner's questions...

2011-08-29 Thread Francis GALIEGUE
Hello list, We wish to use Puppet to manage our VMs but have some questions which we couldn't find the answer to. First, we want to use push from the server, not pull from the clients: is that feasible? Second, let's say we have a file tree, with a/b, a/c and b/d. If we remove a/c from the file

Re: [Puppet Users] Some beginner's questions...

2011-08-29 Thread Martin Alfke
Hi Francis, On 08/29/2011 09:10 AM, Francis GALIEGUE wrote: Hello list, We wish to use Puppet to manage our VMs but have some questions which we couldn't find the answer to. Have you tried the learning puppet section? http://docs.puppetlabs.com/learning/ First, we want to use push from

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-29 Thread Adrian Casajús
Hi, Thanks! It worked. I clearly overlooked that bit. Cheers, Adri On 28 August 2011 22:29, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Sun, Aug 28, 2011 at 01:16:25PM +0200, Adrian Casajús wrote: Hi again,  I just checked and both files are rb files:

Re: [Puppet Users] manage sudoers with augeas

2011-08-29 Thread Rob McBroom
On Aug 26, 2011, at 4:15 AM, vincent wrote: How Can I detect why augeas doesn't treat them ? How can I know if it is a lens failure ? Does augeas have a debug mode ? I don’t know how to get more detail from Augeas, but I would eliminate the “syntax error in sudoers” possibility first. Maybe

[Puppet Users] Re: Service resource does disable services on reboots

2011-08-29 Thread jcbollinger
On Aug 26, 1:26 pm, Frederiko Costa freder...@gmail.com wrote: Hi folks, The question I have is regarding to Service resource on Red Hat systems. I have the following example: service { [ anacron, atd ]:        ensure = stopped,         enable = false,         hasrestart = true,        

[Puppet Users] howto make file resource purge option aware of other puppet resources managed files

2011-08-29 Thread piavlo
Hi, puppet file resources has an purge option - which will purge files in the directory which are not managed by this specific file resource. It will purge files managed by other puppet resources in the same directory. What i need is a purge option to be aware of all all puppet resources and not

[Puppet Users] Re: Announce: Dashboard 1.2.0 is available now

2011-08-29 Thread jcbollinger
On Aug 28, 7:07 am, Toni Birrer t...@memonic.ch wrote: While I agree that it's annoying that the puppet dashboard doesn't run with the ruby included in RHEL, i suggest you have a look at the Ruby Version Manager (RVM)http://beginrescueend.com/ Makes running the latest 1.8.x and 1.9.x versions

Re: [Puppet Users] Re: Announce: Dashboard 1.2.0 is available now

2011-08-29 Thread R.I.Pienaar
- Original Message - On Aug 28, 7:07 am, Toni Birrer t...@memonic.ch wrote: While I agree that it's annoying that the puppet dashboard doesn't run with the ruby included in RHEL, i suggest you have a look at the Ruby Version Manager (RVM)http://beginrescueend.com/ Makes

[Puppet Users] Module organization: file serving

2011-08-29 Thread Arnau Bria
Hi all, Puppet's module organization looks like: MODULE_PATH |-module_name |-files |-manifests |-foo.pp |-bar |-bar.pp And module autoloading will find bar.pp if I define it as module_name::bar::bar My question is: is

Re: [Puppet Users] Re: Service resource does not turn services off on reboots

2011-08-29 Thread Frederiko Costa
Hi, Thanks for the help. I do see these services coming back up if I reboot the system. They are brought down again when puppet run for the first time. Besides, I have never seen Puppet calling chkconfig service off even in the first run, when the services were in a up state after the system

Re: [Puppet Users] Module organization: file serving

2011-08-29 Thread Nigel Kersten
On Mon, Aug 29, 2011 at 8:23 AM, Arnau Bria arnaub...@pic.es wrote: Hi all, Puppet's module organization looks like: MODULE_PATH |-module_name |-files |-manifests |-foo.pp |-bar |-bar.pp And module autoloading will

Re: [Puppet Users] howto make file resource purge option aware of other puppet resources managed files

2011-08-29 Thread Daniel Pittman
On Mon, Aug 29, 2011 at 07:43, piavlo lolitus...@gmail.com wrote: puppet file resources has an purge option - which will purge files in the directory which are not managed by this specific file resource. It will purge files managed by other puppet resources in the same directory. What i need

Re: [Puppet Users] Some beginner's questions...

2011-08-29 Thread Daniel Pittman
On Mon, Aug 29, 2011 at 00:51, Martin Alfke tux...@gmail.com wrote: On 08/29/2011 09:10 AM, Francis GALIEGUE wrote: First, we want to use push from the server, not pull from the clients: is that feasible? Yes, that is possible. The client has to run in listen mode. On the master you use

Re: [Puppet Users] Re: Announce: Dashboard 1.2.0 is available now

2011-08-29 Thread Michael Stahnke
Ruby 1.8.7 is unfortunately required to support modernish Rails, etc. To include security fixes, we had to be 1.8.7. 1. There are ways to get 1.8.7 onto enterprise platforms these days. Also, EL6 has been out a while now which ships with 1.8.7. 2. If you purchase puppet enterprise, ruby 1.8.7

[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-29 Thread piavlo
Hi Daniel, it looks indeed that it works in some/most cases - I tried to create a minimal test class to check it using only file resources and it works as you say - and as I want. So I have to post here one of the actual not so minimal use case which depend on the expected behaviour.

Re: [Puppet Users] Announce: Dashboard 1.2.0 is available now

2011-08-29 Thread Craig White
On Aug 27, 2011, at 4:36 AM, Tim Connors wrote: On Fri, 26 Aug 2011, Michael Stahnke wrote: * Dashboard now requires Ruby 1.8.7 to operate I've always found it odd that sysadmins would opt for such an unstable language. One where minor revisions are often backwards incompatible changes

[Puppet Users] more virtual network card slow the puppetd

2011-08-29 Thread huangming...@gmail.com
hi,guys In my host run some vpn server ,so will be more than 1000 virtual networ card exist. when run the puppetd, the facter will find all of them,so , slow the puppetd running. how can I slove this ? -- You received this message because you are subscribed to the Google Groups