]> git.openstreetmap.org Git - chef.git/commitdiff
Use single quotes in case the key contains a $ sign
authorTom Hughes <tom@compton.nu>
Sat, 13 Dec 2014 22:38:10 +0000 (22:38 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 13 Dec 2014 22:38:10 +0000 (22:38 +0000)
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index d4c8e30504b7c7f48f3e9754affe4991a57f34ab..e3236159eecbf27c2afb6bb8e22c765b3ae0a513 100644 (file)
@@ -126,7 +126,7 @@ $wgShellLocale = "en_US.utf8";
 # Site language code, should be one of the list in ./languages/Names.php
 $wgLanguageCode = "en";
 
-$wgSecretKey = "<%= @node[:mediawiki][:sites][@name][:wgSecretKey] %>";
+$wgSecretKey = '<%= @node[:mediawiki][:sites][@name][:wgSecretKey] %>';
 
 # Site upgrade key. Must be set to a string (default provided) to turn on the
 # web installer while LocalSettings.php is in place