Is there an ETA for getting the Style Guide up to date for 2.7.x or even 3.X?
Currently it is geared towards the 2.6.X line, and says that certain things should not be done due to 2.6.x compatibility issues. For example, it says to use this: class ntp( $server = 'UNSET' ) { include ntp::params $server_real = $server ? { 'UNSET' => $::ntp::params::server, default => $server, } notify { 'ntp': message => "server=[$server_real]", } } and not: class ntp( $server = $ntp::params::server) inherits ntp::params { notify { 'ntp': message => "server=[$server]", } } Now to me, the second one is much easier to read. Is the fact that the second one won't work in 2.6.x the ONLY reason not to do something like that? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/5ZXmhp_7cDMJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.