[Puppet Users] Re: [ANN] puppet-cleaner 0.3.0 released

2013-05-09 Thread Gerardo Santana Gómez Garrido
Upgrade to 0.3.1 is advised since it fixes a serious issue in an specific circumstance. El lunes, 6 de mayo de 2013 00:23:38 UTC-5, Gerardo Santana Gómez Garrido escribió: > > This release adds a new option for ensuring that resource titles are > quoted. > > puppet-cleaner is

[Puppet Users] Re: Feedback on module pattern?

2013-05-07 Thread Gerardo Santana Gómez Garrido
Find a better explanation here: http://www.devco.net/archives/2012/12/13/simple-puppet-module-structure-redux.php El martes, 7 de mayo de 2013 10:42:47 UTC-5, Ken Coar escribió: > > > > On Monday, May 6, 2013 3:36:06 PM UTC-4, Gerardo Santana Gómez Garrido > wrote: >> >

[Puppet Users] Re: Feedback on module pattern?

2013-05-06 Thread Gerardo Santana Gómez Garrido
Hi Ken, I'm not sure I fully understood the purpose of each class, and until then I'm not pointing out issues. But if my interpretation is correct then you may get something useful from this other pattern: # it's probaby your mod::defaults and mod::settings together class mod::params { $setti

[Puppet Users] [ANN] puppet-cleaner 0.3.0 released

2013-05-05 Thread Gerardo Santana Gómez Garrido
This release adds a new option for ensuring that resource titles are quoted. puppet-cleaner is a set of tools that help keeping puppet DSL code closer to puppet style guide. Two transformations are done by default and are not optional: the use of ${} for variable interpolation in strings and th

Re: [Puppet Users] [ANN] puppet-cleaner 0.2.0

2013-04-30 Thread Gerardo Santana Gómez Garrido
Hi Chris, you're right. I've fixed the README.md. Thanks! El lunes, 29 de abril de 2013 22:58:50 UTC-5, Chris Hirsch escribió: > > On 4/29/13 7:43 PM, Gerardo Santana G�mez Garrido wrote: > > This release was tested successfully with puppet 3. > If I understand correctly this should be compat

[Puppet Users] [ANN] puppet-cleaner 0.2.0

2013-04-29 Thread Gerardo Santana Gómez Garrido
This release was tested successfully with puppet 3. puppet-cleaner is a set of tools that helps you keep your manifests compliant with the style guide. Website: https://github.com/santana/puppet-cleaner/ How to install: sudo gem install puppet-cleaner -- You received this message because

[Puppet Users] Re: how do you test and release puppet changes?

2013-04-26 Thread Gerardo Santana Gómez Garrido
Hi Derek, when testing puppet-cleaner I wrote puppet-diff[1], which compiles the catalogs for two given manifests (before and after changes) and compares their YAML representation, previously removing some irrelevant stuff. That helped me test that some transformations, like whitespace changes

[Puppet Users] [ANN] puppet-cleaner 0.1.1

2013-04-26 Thread Gerardo Santana Gómez Garrido
puppet-cleaner is a set of tools that helps you keep your manifests compliant with the style guide. Website: https://github.com/santana/puppet-cleaner/ How to install: sudo gem install puppet-cleaner This is a maintenance release that fixes a run-time error. Thanks to github user blindsey

Re: [Puppet Users] [ANN] puppet-cleaner: makes puppet DSL code comply with a subset of the style guide

2013-04-22 Thread Gerardo Santana Gómez Garrido
ed and tokenise the entire > file). Puppet-lint's adds some additional tokens that Puppet's does not > need to concern itself with (formatting related whitespace mostly). > > Cheers, > Tim > > On 19/04/2013, at 3:45 AM, Gerardo Santana Gómez Garrido < > gerar

Re: [Puppet Users] Re: [ANN] puppet-cleaner: makes puppet DSL code comply with a subset of the style guide

2013-04-18 Thread Gerardo Santana Gómez Garrido
enized. El jueves, 18 de abril de 2013 12:08:25 UTC-5, alcy escribió: > > Hello, > > On Thu, Apr 18, 2013 at 10:22 PM, Gerardo Santana Gómez Garrido < > gerardo...@gmail.com > wrote: > >> A small follow up: the gem has just been pushed to rubygems, and you can

[Puppet Users] Re: [ANN] puppet-cleaner: makes puppet DSL code comply with a subset of the style guide

2013-04-18 Thread Gerardo Santana Gómez Garrido
A small follow up: the gem has just been pushed to rubygems, and you can read more about the motivation for this at http://santanatechnotes.blogspot.mx/2013/04/puppet-cleaner-010-released.html El martes, 16 de abril de 2013 17:31:38 UTC-5, Gerardo Santana Gómez Garrido escribió: > >

[Puppet Users] [ANN] puppet-cleaner: makes puppet DSL code comply with a subset of the style guide

2013-04-16 Thread Gerardo Santana Gómez Garrido
FWIW, I've wrote puppet-cleaner to help me make comply thousands of lines of puppet 2.6 DSL code to puppet 2.7 style guide and expectations. I'm uploading it to github today for anyone to use. https://github.com/santana/puppet-cleaner Externally, you run puppet-clean file.pp and it can transfo