Have you looked at foreman-hooks? 

https://github.com/theforeman/foreman_hooks

On Thursday, February 23, 2017 at 7:55:21 AM UTC-5, Jason McMahan wrote:
>
> Good day,
> We are working on provisioning from foreman. We can successfully create a 
> vm guest in Vsphere 6, join our active directory domain and within run once 
> install puppet agent on machine.
>
> The problem we are having is we need to create the computer object in a 
> non-default ou as that ou is used by workstations in our environment.
> Any suggestions to pre-create the computer object prior to join domain 
> through customization?
>
> Unfortunately we realized run once occurs after customization which has 
> domain join as part of it so that will not work.
> We will be using this for our Linux and Windows machines.
>
> Any help or suggestions is appreciated. 
> Thank you
>
> Jason 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to