Tom Duffield — Automation Consulting Engineer
651.769.7497 – " style="color:rgb(105,117,130)" target="_blank"> – my: Linkedin Twitter
| ||
So what is the right way? On the docs, lazy is never mentioned within templates resource but generic way.I havent tested second one yet, but with the first one wich works, foodcritic says:variables ( :key => lazy {node['bar'],.... )andvariables lazy {{ :key =>node['foo'], ... }}Hi!!What is the right syntax on themplates to use lazy with variables attribute? I have seen two ways:
FC009: Resource attribute not recognised: ./recipes/default.rb:39
--
Si necesitas una máquina para hacer algo y no la compras al final te darás cuenta de que has pagado lo mismo y no tienes la máquina.--Henry FordAlberto
Archive powered by MHonArc 2.6.16.