Switching a host environment and keep its classes?

Hi,

I see there's a bug concerning the action of changing a host environment and loosing the hostgroup classes :
http://projects.theforeman.org/issues/1477

Unless I'm mistaken, I'm also seeing this behavior (using formean 1.0) when the host has no hostgroup : when I switch the environment, all classes disappear.
It seems this bug hasn't been touched for a long time, and there's no comment in there : does someone know if there is a known work around ?

How do people switch hosts environments using foreman and without suffering from this ?

Thanks && regards

> Hi,****
>
> ** **
>
> I see there’s a bug concerning the action of changing a host environment
> and loosing the hostgroup classes :****
>
> Bug #1477: Whenever you switch environment for a host group - the host group looses its puppet classes. - Foreman
>
> ** **
>
> Unless I’m mistaken, I’m also seeing this behavior (using formean 1.0)
> when the host has no hostgroup : when I switch the environment, all
> classes disappear.****
>
> It seems this bug hasn’t been touched for a long time, and there’s no
> comment in there : does someone know if there is a known work around ?****
>
> ** **
>
> How do people switch hosts environments using foreman and without
> suffering from this ?
>

As a work around, you can simply use the mass assignment (using checkboxes)
at the hostlist

Ohad

··· On Thu, Feb 14, 2013 at 6:56 PM, SCHAER Frederic wrote:


Thanks && regards****



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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

I've always wanted the same actions available in a drop down in the Host
show view but shame on me never filed a feature request.

··· On Feb 14, 2013 6:24 PM, "Ohad Levy" wrote:

On Thu, Feb 14, 2013 at 6:56 PM, SCHAER Frederic frederic.schaer@cea.frwrote:

Hi,****


I see there’s a bug concerning the action of changing a host environment
and loosing the hostgroup classes :****

Bug #1477: Whenever you switch environment for a host group - the host group looses its puppet classes. - Foreman


Unless I’m mistaken, I’m also seeing this behavior (using formean 1.0)
when the host has no hostgroup : when I switch the environment, all
classes disappear.****

It seems this bug hasn’t been touched for a long time, and there’s no
comment in there : does someone know if there is a known work around ?***
*


How do people switch hosts environments using foreman and without
suffering from this ?

As a work around, you can simply use the mass assignment (using
checkboxes) at the hostlist

Ohad



Thanks && regards****



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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

I see there's a bug concerning the action of changing a host environment and loosing the hostgroup classes :
http://projects.theforeman.org/issues/1477

Unless I'm mistaken, I'm also seeing this behavior (using formean 1.0) when the host has no hostgroup : when I switch the environment, all classes disappear.
It seems this bug hasn't been touched for a long time, and there's no comment in there : does someone know if there is a known work around ?

How do people switch hosts environments using foreman and without suffering from this ?

As a work around, you can simply use the mass assignment (using checkboxes) at the hostlist

Ohad

[SCHAER Frederic] Hi Ohad,
Thanks, but it doesn't actually seem to change the behaviour : changing the environment still empties the class list :cry:
Frederic

··· De : foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] De la part de Ohad Levy Envoyé : jeudi 14 février 2013 18:24 À : foreman-users@googlegroups.com Objet : Re: [foreman-users] switching a host environment and keep its classes ?

On Thu, Feb 14, 2013 at 6:56 PM, SCHAER Frederic <frederic.schaer@cea.frmailto:frederic.schaer@cea.fr> wrote: