anchor.diff:                                      "    \"recipe[apache2]\",", 
                                       "    \"recipe[reverse-proxy]\"",<% runlist_one = true %>
   <% if !@services.any? or @services.include? 'jenkins' %>
  -                                    "    <%  if defined? runlist_one %>,<%  runlist_one = true end %>\"recipe[jenkins::master]\"", 
  +                                    "    <%  if runlist_one %>,<% end; runlist_one = true %>\"recipe[jenkins::master]\"", 
   <% end %>
   <% if !@services.any? or @services.include? 'chef' %>
  -                                    "    <%  if defined? runlist_one %>,<%  runlist_one = true end %>\"recipe[chef-server]\"",
  +                                    "    <%  if runlist_one %>,<% end; runlist_one = true %>\"recipe[chef-server]\"",
   <% end %>
   <% if !@services.any? or @services.include? 'jira' %>
  -                                    "    <%  if defined? runlist_one %>,<%  runlist_one = true end %>\"recipe[jira]\"",
  +                                    "    <%  if runlist_one %>,<% end; runlist_one = true %>\"recipe[jira]\"",
   <% end %>
   <% if !@services.any? or @services.include? 'stash' %>
  -                                    "    <%  if defined? runlist_one %>,<%  runlist_one = true end %>\"recipe[stash]\"",
  +                                    "    <%  if runlist_one %>,<% end; runlist_one = true %>\"recipe[stash]\"",
   <% end %>
   <% if !@services.any? or @services.include? 'bamboo' %>
  -                                    "    <%  if defined? runlist_one %>,<%  runlist_one = true end %>\"recipe[bamboo]\"",
  +                                    "    <%  if runlist_one %>,<% end; runlist_one = true %>\"recipe[bamboo]\"",
   <% end %>
                                       "  ],", 
   <% if !@services.any? or @services.include? 'stash' %>
  
positive.code:                                     "  \"reverse-proxy\": {",
                                      "    \"apps\": {",
  <% if !@services.any? or @services.include? 'jenkins' %>
  <%  if defined? one_reverse_proxy %>
                                      "        ,",
  <%  one_reverse_proxy = true end %>
                                      "        \"jenkins\": {",
                                      { "Fn::Join": [ "", [
                                          "            \"node_name\": \"jenkins.", { "Ref": "ZoneName" }, "\","
  
negative.code:                                     "        }",
  <% end %>
  <% if !@services.any? or @services.include? 'bamboo' %>
  <%  if one_reverse_proxy %>
                                      "        ,",
  <%  end; one_reverse_proxy = true %>
                                      "        \"bamboo\": {",
                                      { "Fn::Join": [ "", [
                                          "            \"node_name\": \"bamboo.", { "Ref": "ZoneName" }, "\","
  