[Puppet Users] Re: Problem with syntax checking

2010-12-11 Thread dan.achim
Could you please paste the entire script? Theoretically it should produce output. If you use the script from here: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control it should work just fine! Copy / paste the script and see if it helps. On Dec 10, 4:15 pm,

[Puppet Users] design advice on coding my first type / provider

2010-12-11 Thread Dick Davies
I just wondered if anyone has experience of this kind of problem, and what approaches they've found to work best. I'm writing my first type/provider (on pupet 0.25.x) to automatically setup RabbitMQ. The basic approach I'm taking is to wrap the rabbitmqctl command (which lets you create vhosts,

Re: [Puppet Users] design advice on coding my first type / provider

2010-12-11 Thread Nigel Kersten
Can you follow the path our user providers use and simply provide the internal hash in the manifest? Can you verify that client side? On Sat, Dec 11, 2010 at 6:48 AM, Dick Davies rasput...@hellooperator.net wrote: I just wondered if anyone has experience of this kind of problem, and what

Re: [Puppet Users] pp grammar test-files?

2010-12-11 Thread Henrik Lindberg
Thanks everyone for all the tips on where I can get pp files for testing. Very helpful. Some answers to questions below: On Dec 10, 2010, at 11:32 PM, Daniel Pittman wrote: I wonder if there is a set of pp files available for testing the parser. Puppet labs don't have a hidden repository

[Puppet Users] Re: Problem with syntax checking

2010-12-11 Thread donavan
On Dec 10, 7:15 am, a.gorodin...@mail.ru a.gorodin...@mail.ru wrote: Hello! I'm trying to use pre-commit SVN hook for checking puppet syntax. For it I try to use some scripts from this thread:http://groups.google.com/group/puppet-users/browse_thread/thread/50ff... But when I try some of

Re: [Puppet Users] pp grammar test-files?

2010-12-11 Thread Henrik Lindberg
- henrik 11 dec 2010 kl. 19:28 skrev Nigel Kersten ni...@puppetlabs.com: On Sat, Dec 11, 2010 at 10:17 AM, Henrik Lindberg henrik.lindberg.priv...@gmail.com wrote: I have created an EMF ecore model for puppet manifests. The technology I use (Xtext) helps with generating a .pp parser

[Puppet Users] Roadmap wrt the Ruby DSL

2010-12-11 Thread Kevin Beckford
I noticed the posts about a ruby DSL, and I was wondering what the future plan is for this functionality. I _just_ noticed this. Originally I was drawn to puppet because of the declarative nature of the DSL and frankly, because I am not that familiar with Ruby. Are we moving towards ruby as

Re: [Puppet Users] Roadmap wrt the Ruby DSL

2010-12-11 Thread Nigel Kersten
On Sat, Dec 11, 2010 at 3:10 PM, Kevin Beckford lazy...@gmail.com wrote: I noticed the posts about a ruby DSL, and I was wondering what the future plan is for this functionality. I _just_ noticed this. Originally I was drawn to puppet because of the declarative nature of the DSL and

Re: [Puppet Users] Roadmap wrt the Ruby DSL

2010-12-11 Thread Kevin Beckford
That's very good to hear, the DSL was much nicer to work with in this domain then Ruby was, for the non Ruby user. I was viewing the DSL like django's template language, or similar, and that helped a great deal. Thanks for the quick reply. -- You received this message because you are

[Puppet Users] Slides from my Bay Area Puppet user group meetup

2010-12-11 Thread Jordan Sissel
Howdy folks! I gave a presentation this week to some fellow puppeteers. It covers: * Style * Truth (deployment truth, machine truth, extlookup, rightscale tags, etc) * Nodeless puppet (pure fact-driven manifests, no nodes defined) * Masterless puppet (no puppet master) * Exported resources

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-11 Thread Ben
On 8/12/2010 9:54 PM, Adrian wrote: Hello everybody, Is there a way when installing a package like this : package { rubygems: ensure = installed, } to pass -t parameter to apt-get in order to use a specific apt source ? EG : apt-get install -t lenny-backports rubygems

Re: [Puppet Users] design advice on coding my first type / provider

2010-12-11 Thread Dick Davies
That'd essentially be option 1 then. I think it'd be doable (have seen that work well in e.g. camptocamps mysql module) but I'd need to call into Erlang somehow to find the hashed password. In the mysql case, it's just a straight select out of the mysql.user table. One other idea I had was to