Gerardo Santana Gómez Garrido
2013-May-06 05:23 UTC
[Puppet Users] [ANN] puppet-cleaner 0.3.0 released
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 the replacement of double with single quotes when possible. The optional transformations are: * alignment of fat arrows (`=>`) * removal of unneeded quotes around boolean literals * reordering of `ensure` attribute to the first position * declaration of symbolic links by using `ensure => link` and `target` attributes * conversion of /* */ style comments to # * representation of file modes as a 4 digits string * use of quotes around resource titles * indentation by n spaces * removal of unneeded quotes around variables * removal of trailing white space Installation: sudo gem install puppet-cleaner Website: https://github.com/santana/puppet-cleaner -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Gerardo Santana Gómez Garrido
2013-May-10 02:37 UTC
[Puppet Users] Re: [ANN] puppet-cleaner 0.3.0 released
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 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 the > replacement of double with single quotes when possible. > > The optional transformations are: > > * alignment of fat arrows (`=>`) > * removal of unneeded quotes around boolean literals > * reordering of `ensure` attribute to the first position > * declaration of symbolic links by using `ensure => link` and `target` > attributes > * conversion of /* */ style comments to # > * representation of file modes as a 4 digits string > * use of quotes around resource titles > * indentation by n spaces > * removal of unneeded quotes around variables > * removal of trailing white space > > Installation: sudo gem install puppet-cleaner > Website: https://github.com/santana/puppet-cleaner >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.