Re: [Puppet Users] [Style Guide] No recommendation about quoting or not element of an enumerable set of options
Hi Johan Thanks for your feedback. I'll go this way then. Regards, David RACODON Freelance QA Consultant LinkedIn https://ch.linkedin.com/pub/david-racodon/11/62/283 | Twitter https://twitter.com/davidracodon On Wed, Aug 12, 2015 at 9:10 PM, Johan De Wit jo...@open-future.be wrote: Hi, For me, it has become a habit to NOT use qoutes with enumarable sets of options. puppet-lint does not complain if unquoted or single quoted. All examples I see in the official docs dont use quotes. Just checked the forge also. No quotes. Hth Johan On Wed, 2015-08-12 at 10:06 -0700, David Racodon wrote: Hi, The style guide https://docs.puppetlabs.com/guides/style_guide.html#quoting is stating that Quoting is optional when the string is an enumerable set of options (such as present/absent). But it doesn't make any recommendations. Should those strings be unquoted so that it's easier to spot that it is an element of a set of options for instance? Should those strings be quoted instead? For instance, for better compatibility to future versions of the language. Any pros and cons are more than welcome so that I can enforce one way or the other by providing some arguments to the development teams. Thank you very much Regards, David RACODON Freelance QA Consultant LinkedIn https://ch.linkedin.com/pub/david-racodon/11/62/283 | Twitter https://twitter.com/davidracodon -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/29e0a79e-5b05-461d-a72e-a8d6f3eb7101%40googlegroups.com https://groups.google.com/d/msgid/puppet-users/29e0a79e-5b05-461d-a72e-a8d6f3eb7101%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Johan De Wit Open Source Consultant -- Open-Future Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013/2014/2015 (PCP006) Puppet Certified Instructor blog : http://johan.koewacht.net/ gsm: +32 474 42 40 73 _ Upcoming Trainings: Puppet Fundamentals | https://www.open-future.be/content/puppet-fundamentals-training-0 Puppet Architect | https://www.open-future.be/content/puppet-architect-training-0 Zabbix Certified Specialist | https://www.open-future.be/content/zabbix-certified-specialist-training-0 Zabbix Certified Professional | https://www.open-future.be/content/zabbix-certified-professional-training-0 Linux Training | https://www.open-future.be/content/linux-training-0 Subscribe to our newsletter: http://eepurl.com/BUG8H -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1439406654.3440.9.camel%40open-future.be https://groups.google.com/d/msgid/puppet-users/1439406654.3440.9.camel%40open-future.be?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACTFSAiVt-boRr9HGqFKD1xWgPMps5SfDhy_z6PxDPSM1RLxSA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] [Style Guide] No recommendation about quoting or not element of an enumerable set of options
Hi, The style guide https://docs.puppetlabs.com/guides/style_guide.html#quoting is stating that Quoting is optional when the string is an enumerable set of options (such as present/absent). But it doesn't make any recommendations. Should those strings be unquoted so that it's easier to spot that it is an element of a set of options for instance? Should those strings be quoted instead? For instance, for better compatibility to future versions of the language. Any pros and cons are more than welcome so that I can enforce one way or the other by providing some arguments to the development teams. Thank you very much Regards, David RACODON Freelance QA Consultant LinkedIn https://ch.linkedin.com/pub/david-racodon/11/62/283 | Twitter https://twitter.com/davidracodon -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/29e0a79e-5b05-461d-a72e-a8d6f3eb7101%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] [Style Guide] No recommendation about quoting or not element of an enumerable set of options
Hi, For me, it has become a habit to NOT use qoutes with enumarable sets of options. puppet-lint does not complain if unquoted or single quoted. All examples I see in the official docs dont use quotes. Just checked the forge also. No quotes. Hth Johan On Wed, 2015-08-12 at 10:06 -0700, David Racodon wrote: Hi, The style guide is stating that Quoting is optional when the string is an enumerable set of options (such as present/absent). But it doesn't make any recommendations. Should those strings be unquoted so that it's easier to spot that it is an element of a set of options for instance? Should those strings be quoted instead? For instance, for better compatibility to future versions of the language. Any pros and cons are more than welcome so that I can enforce one way or the other by providing some arguments to the development teams. Thank you very much Regards, David RACODON Freelance QA Consultant LinkedIn | Twitter -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/puppet-users/29e0a79e-5b05-461d-a72e -a8d6f3eb7101%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Johan De Wit Open Source Consultant -- Open-Future Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013/2014/2015 (PCP006) Puppet Certified Instructor blog : http://johan.koewacht.net/ gsm: +32 474 42 40 73 _ Next Trainings: Puppet Fundamentals | https://www.open-future.be/content/puppet-fundamentals-training-0 Puppet Architect | https://www.open-future.be/content/puppet-architect-training-0 Zabbix Certified Specialist | https://www.open-future.be/content/zabbix-certified-specialist-training-0 Zabbix Certified Professional | https://www.open-future.be/content/zabbix-certified-professional-training-0 Linux Training | https://www.open-future.be/content/linux-training-0 Subscribe to our newsletter | http://eepurl.com/BUG8H -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1439406654.3440.9.camel%40open-future.be. For more options, visit https://groups.google.com/d/optout.