Comment 2 for bug 1234480

Revision history for this message
Dan Bode (bodepd) wrote :

The best solution is to get update_endpoint supported upstream.

The easiest way to solve this in puppet is to introduce a variable that tells us if it has already been recreated:

  def public_url=(value)
    destroy
    unless @already_recreated
       endpoint_hash[resource[:name]][:public_url] = value
       @already_recreated = true
     end
     create
  end