Couldn't you collapse this logic into the parent class, then, and avoid two subclasses that are, in essence, this code:

<pre>
def initialise(server, port)
    if insecure
      @http = Net::HTTP.new(...)
       @http.use_ssl = true
        # etc
    else
      @http = Puppet::Network::HTTP::Connection.new(...)
    end
end
</pre>