On Fri, 31 Aug 2018, at 15:03, Chadwick Banning wrote:
> Would it be safe to consider this in a general context i.e. as enabling
> agent-side function execution?
I dont think so - for general function calls to be usable you want to get the
value and then do some conditional logic on it. or put it in a variable and
use it in another resource etc.
That is not what this is for, this is a based placeholder to later be replaced
by the value - you cannot do any conditionals etc with it.
Imagine something like:
mysql::user{"bob":
password => Deferred(vault_lookup, "bob_pass")
}
(I am just making this syntax up, this is presumably not how it will look)
Here its fine because its a simple interpolation into a value, you cant do more
complex things with this design.
Anyway thats my understanding, Henrik might chime in too
--
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/1535721137.3301091.1492516568.3EB7087A%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.