You still see the classes or just the smart class parameters?

The smart class parameters are not deleted when deleting the class. This
has been causing some confusion so there is now a bug open for it:
http://projects.theforeman.org/issues/17548.

On Thu, Dec 1, 2016 at 4:19 PM, Jim Perry <dride...@gmail.com> wrote:

> In my Foreman 13.2 / Puppet Server 2.6.0-1 setup, I was having some issues
> where smart variables not working properly in one of my modules. After a
> lot of code testing / troubleshooting, I wiped out all of my code under
> /etc/puppetlabs/code/environments/[production|development]/. *All of the
> Puppet environments are under code control via an external Git repo, just
> in case someone wondered...*
>
> Next I went to Foreman to do Configure -> Environments -> Import from
> <host>.
>
> As expected it requested to remove all of the missing classes and I
> clicked the checkbox to have that proceed.
>
> When I went to Configure -> Classes and Configure -> Smart class
> parameters, I still see all of the classes even though none are assigned to
> any hosts.
>
> Is this the expected behavior?  I know when I first started playing with
> Foreman, if I removed a class, it was deleted from everywhere in Foreman.
>
> Since I am having the odd code issue, which is likely all a fat-finger
> somewhere in my syntax that I haven't found yet, I wanted to through this
> out to the group to see if this was related or not.
>
> Also is there some command I need to via CLI to have it do a good cleanup
> when I wipe out all of the puppet modules and refresh my Dev environment?
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> 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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
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