Can Chef Attributes be referenced from within the same attributes file? -


अगर मेरे पास एक विशेषता है:

डिफ़ॉल्ट [: mycookbook] [: attr_foo] = "Foo"

क्या मैं इसे उसी फाइल में देख सकता हूं, ऐसा कुछ:

डिफ़ॉल्ट [: mycookbook] [: attr_bar] = डिफ़ॉल्ट [ : Mycookbook] [: attr_foo]

यह संभव है, हालांकि सही सिटकैक्स है:

डिफ़ॉल्ट [: mycookbook] [: attr_bar] = "# {डिफ़ॉल्ट [: mycookbook] [: attr_foo]}"

.. अनिवार्य रूप से विशेषता इसके साथ लिपटे गए हैं:

"# {}"

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -