theforeman/puppetdb_foreman — pull request #8 by hjensas (2014-10-01 13:21:58+00:00)
Title:  Adding :deactivate_host on after_build hook as well.

We ran into issues on rebuild when using exported resources.
It makes sense to deactivate hosts in PuppetDB when they are rebuilt?