I think there is only before_provision, no after_provision. see https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L27