This message was deleted.
# puppet
s
This message was deleted.
b
the resources it exports or the ones that are realized on the agent?
y
It exports
b
mhm I don't think so because the agent isn't aware of the old version of the resource
y
Makes sense
Would be a nice feature... For example, we have backend servers that export
@@haproxy::balancermember
and it would be nice to see if something changed before running Puppet on the haproxy server.
b
reverse the logic, check on your haproxy
for example do a puppet run with --noop to check for changes first
y
That is what I am doing, but I was wondering if there was a way to make it faster by checking the export itself
It would probably require a lot of changes - give PuppetDB a way to send back to the agent what changes it got, and a way for the agent to show that.
b
yes and you don't gain much. just because the agent exports something doesn't mean another agent will import it
s
It might also change during realization on the haproxy, which isn't known to the exporting agent at all.
y
Right - all it would be able to do is say that the values of the exported resource itself have been changed, but it doesn't know what is going to happen as a result.
I still think that could be useful
s
In some cases, it might be. As long as you're always remembering, that it's not the final result 🙂