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!
↧