anchor.diff:  <%- else -%>
   httpclientConnection.set('timeout', '<%= resource[:remote_connection_timeout] %>');
   <%- end -%>
  -httpclientConnection.set('enableCircularRedirects', '<%= resource[:remote_enable_circular_redirects] %>');
  -httpclientConnection.set('enableCookies', '<%= resource[:remote_enable_cookies] %>');
  +httpclientConnection.set('enableCircularRedirects', <%= to_boolean.call(resource[:remote_enable_circular_redirects]) %>);
  +httpclientConnection.set('enableCookies', <%= to_boolean.call(resource[:remote_enable_cookies]) %>);
   
   <%- if resource[:provider_type] == 'apt' -%>
   apt.set('flat', <%= resource[:is_flat] %>)
  
positive.code: proxy.set('contentMaxAge', '<%= resource[:content_max_age] %>')
  proxy.set('metadataMaxAge', '<%= resource[:metadata_max_age] %>')
  def negativeCache = config.attributes('negativeCache')
  negativeCache.set('enabled', '<%= resource[:negative_cache_enabled] %>')
  negativeCache.set('timeToLive', '<%= resource[:negative_cache_ttl] %>')
  def httpclient = config.attributes('httpclient');
  httpclient.set('blocked', '<%= resource[:blocked] %>');
  httpclient.set('autoBlock', '<%= resource[:auto_block] %>');
  <%- if resource[:remote_auth_type] == 'none' -%>
  httpclient.remove('authentication')
  <%- else -%>
  
negative.code: 
  <%- if resource[:provider_type] == 'bower' -%>
  def bower = config.attributes('bower');
  bower.set('rewritePackageUrls', <%= to_boolean.call(resource[:rewrite_package_urls]) %>);
  <%- end -%>
  
  <%- if resource[:provider_type] == 'docker' -%>
  def dockerProxy = config.attributes('dockerProxy')
  dockerProxy.set('cacheForeignLayers', <%= to_boolean.call(resource[:cache_foreign_layers]) %>)
  dockerProxy.set('foreignLayerUrlWhitelist', <%= resource[:foreign_layers_url_whitelist] %>)
  dockerProxy.set('indexType', '<%= Puppet::Provider::Nexus3Utils::DOCKER_PROXY_INDEX_TYPE[resource[:index_type]] %>')
  <%- if resource[:index_type] == 'custom' -%>
  