Hi Albert, Am Mi., 16. Jan. 2019 um 11:09 Uhr schrieb Albert Shih <[email protected]>: > Is they are something like the ruby ternary operator ?: in puppet ?
Sort of, it's called selectors: https://puppet.com/docs/puppet/5.3/lang_conditional.html#selectors Unfortunately one of the most useful cases (inside class declarations) of selectors is disregarded according to puppet-lint: http://puppet-lint.com/checks/selector_inside_resource/ Best regards Karsten -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAL017hCVn9Gq5mhjAbuswG8HSHd%3D2NOhLMCe024mXsXM51ahJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
