diff --git a/.gitignore b/.gitignore
index 02eab4884..91807af63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ pkg/
 pkg/
 Gemfile.lock
 spec/fixtures/
+/metadata.json
diff --git a/manifests/resource/location.pp b/manifests/resource/location.pp
index 7989f5050..dba7aaf1c 100644
--- a/manifests/resource/location.pp
+++ b/manifests/resource/location.pp
@@ -281,7 +281,10 @@
 
   ## Create stubs for vHost File Fragment Pattern
   if ($ssl_only != true) {
-    concat::fragment { "${vhost_sanitized}-${priority}-${location_sanitized}":
+    
+    $tmpFile=md5("${vhost_sanitized}-${priority}-${location_sanitized}")
+
+    concat::fragment { "${tmpFile}":
       ensure  => present,
       target  => $config_file,
       content => $content_real,
@@ -291,8 +294,12 @@
 
   ## Only create SSL Specific locations if $ssl is true.
   if ($ssl == true) {
+    
     $ssl_priority = $priority + 300
-    concat::fragment {"${vhost_sanitized}-${ssl_priority}-${location_sanitized}-ssl":
+
+    $sslTmpFile=md5("${vhost_sanitized}-${ssl_priority}-${location_sanitized}-ssl")
+    
+    concat::fragment {"${sslTmpFile}":
       ensure  => present,
       target  => $config_file,
       content => $content_real,