Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/sitescripts/manifests/init.pp

Issue 29341151: Issue 4019 - Added "Edge" to platform choices in Issues tracker at issues1. (Closed)
Patch Set: Created May 10, 2016, 3:35 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/rietveld/files/wrapper.py ('k') | modules/statsmaster/manifests/downloads.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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', {})
« no previous file with comments | « modules/rietveld/files/wrapper.py ('k') | modules/statsmaster/manifests/downloads.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld