Good idea. Am adding the comment.


On Sun, Jan 26, 2014 at 10:56 PM, Tony Spataro <notifications@github.com>wrote:

> In bin/enroll:
>
> > @@ -159,13 +167,20 @@ module RightScale
> >          t0 = Time.now
> >
> >          begin
> > -          Log.info("Requesting RightLink enrollment (token_id=#{token_id}; timestamp=#{t0.to_i})...")
> > -          request_enrollment(t0, enroll_url, host, port, token_id, auth_token, WAIT_MIN)
> > +          if select_mode(options) == :http
> > +            update_configuration(:mode => :http, :api_url => options[:api_url])
> > +            FileUtils.rm_rf(AgentConfig.certs_dir)
>
> Might want to add a comment that it's important to rm the dir, since
> deploy depends on it for signalling.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rightscale/right_link/pull/296/files#r9180985>
> .
>