On Tue, Mar 7, 2017 at 11:37 PM, Clarence H <[email protected]> wrote:

>
>      Is there a way to add a new host to a Host Group from the command
> line.  I'm using the 'puppet agent sign --all'  command but after that I
> want to run a command to place a system into the correct host group from
> the command line.
>
> Is this possible??
>

Just to follow up, you can simply use foreman CLI (hammer) to update the
hostgroup attribute of your hosts.

Ohad

>
> Thanks
>
> --
> 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.
>

-- 
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