anchor.diff:        {ssl, true},
         {ssl_opts, [<%- if @ssl_cacert != 'UNSET' -%>{cacertfile, "<%= @ssl_cacert %>"},<%- end -%>
                     {certfile, "<%= @ssl_cert %>"},
  -                  {keyfile, "<%= @ssl_key %>"}]}
  +                  {keyfile, "<%= @ssl_key %>"}
  +                   <%- if @ssl_versions -%>
  +                     ,{versions, [<%= @ssl_versions.sort.map { |v| "'#{v}'" }.join(', ') %>]}
  +                   <% end -%>]}
   <%- else -%>
         {port, <%= @management_port %>}
   <%- end -%>
  
positive.code: % This file managed by Puppet
  % Template Path: <%= @module_name %>/templates/rabbitmq.config
  [
    {rabbit, [
  <% if @ldap_auth -%>
      {auth_backends, [rabbit_auth_backend_internal, rabbit_auth_backend_ldap]},
  
negative.code:     {tcp_listeners, []},
  <%- end -%>
  <%- if @ssl -%>
      {ssl_listeners, [<%= @ssl_port %>]},
      {ssl_options, [<%- if @ssl_cacert != 'UNSET' -%>{cacertfile,"<%= @ssl_cacert %>"},<%- end -%>
                      {certfile,"<%= @ssl_cert %>"},
  