On Sun, Feb 9, 2014 at 10:07 PM, Joseph Magen <notifications@github.com>wrote:

> In app/helpers/puppetclasses_and_environments_helper.rb:
>
> > @@ -19,6 +19,11 @@ def import_proxy_select hash
> >      )
> >    end
> >
> > +  def import_proxy_link hash, env
> > +    proxy = SmartProxy.puppet_proxies.first
>
> @neoseele <https://github.com/neoseele>, What if there are two puppet
> proxies? I suggest to include another drop-down option for other
> environment, similar to
>
> https://github.com/theforeman/foreman/blob/develop/app/helpers/puppetclasses_and_environments_helper.rb#L14-20
>

I tried that initially, its ugly... need some CSS tweaking to make it look
nice, but my CSS skill sucks. :)

besides, rake puppet::import::puppetclasses use only the first puppet proxy
as well.

https://github.com/theforeman/foreman/blob/develop/lib/tasks/puppet.rake#L70-77

--
> Reply to this email directly or view it on GitHub<https://github.com/theforeman/foreman/pull/1215/files#r9568595>
> .
>



-- 
Neil

Oh gods, why me?