On 5 Aug 2015 19:10, "Steve Wray" <st...@wtfast.com> wrote:
>
> I have a problem where a virtual resource has, in an early run, got the
wrong value. I've fixed the manifest so that the virtual resource gets the
correct values and I've rerun Puppet on the node that populates the virtual
resource. However when it is instantiated it still gets the old value.
>
> I've used 'puppet node clean' for both the node where the virtual
resource is created/populated and on the node where the virtual resource is
instantiated and its still coming in with the wrong value.
>
> If I drop the puppetdb database (its postgres) and rerun Puppet on both
sides the virtual resource gets the correct new values.
>
> This seems like a very extreme measure for an environment with many nodes
and many virtual resources, just to clean out one incorrect value.
>
> What is the correct way to fix this situation?

Run

puppet node deactivate agent-hostname

on your master. That nullifies all exported resources for that host, which
then get repopulated on the next agent run.

Matt.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAKUTv3L%3D9V%3DZ%2BG7ogDjrkXMgR%2Be0UkDd%3DOi3gB0XL_%2BatA8bpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to