Index: modules/sitescripts/manifests/init.pp |
=================================================================== |
--- a/modules/sitescripts/manifests/init.pp |
+++ b/modules/sitescripts/manifests/init.pp |
@@ -25,18 +25,10 @@ |
if ($sitescriptsini_source != '') or ($sitescriptsini_content != '') { |
- $content = $sitescriptsini_content |
- $source = $sitescriptsini_source |
- } |
- else { |
- |
- $content = "# Puppet: Class['$title']\n" |
- $source = '' |
- } |
- |
- configfragment {'/etc/sitescripts.ini': |
- content => $content, |
- source => $source, |
+ configfragment {'/etc/sitescripts.ini': |
+ content => $sitescriptsini_content, |
+ source => $sitescriptsini_source, |
+ } |
} |
$configfragments = hiera('sitescripts::configfragments', {}) |