Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Setting variable at Node Scope with Application Orchestration?

$
0
0
Scott Pecnik Today at 15:34 Hi, have a quick question that I just can't seem to find an answer to (been googling for days!): Is it possible to set a variable at node scope with application orchestration? Traditionally, I would do something like this: node somenode { $nodescopevar = "hello" } With application orchestration (example below), is it possible to set a value at node scope? site { myapplication { 'Sandbox': nodes => { Node['node1'] => Myapplication ::Iis['Sandbox'], Node['node2'] => Myapplication ::Esb['Sandbox'], }, } } I am looking for a way to access a variable in a profile that is included by the component definition. I cannot pass through via class param because of a duplicate instantiation issue. Thanks!

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>