]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
More quoting
authorPeter Palfrader <peter@palfrader.org>
Thu, 25 Apr 2013 12:23:40 +0000 (14:23 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 25 Apr 2013 12:23:40 +0000 (14:23 +0200)
modules/roles/manifests/static_mirror.pp

index c8d9335aa6c02116fe5ca7a984fb43150a7996d7..5c5622efe3c61b1498f1a9a99db1a79199df9b54 100644 (file)
@@ -24,7 +24,7 @@ class roles::static_mirror {
        }
 
        file { '/etc/cron.d/puppet-static-mirror':
-                       content => "PATH=/usr/local/bin:/usr/bin:/bin\n@reboot staticsync sleep 60; for a in `awk '!/^ *(#|$)/ {printf "%s:%s/-live-\n", $1, $2}' /etc/static-components.conf`; do static-mirror-run --one-stage /srv/static.debian.org "$a" > /dev/null; done\n",
+                       content => "PATH=/usr/local/bin:/usr/bin:/bin\n@reboot staticsync sleep 60; for a in `awk '!/^ *(#|$)/ {printf \"%s:%s/-live-\\n\", $1, $2}' /etc/static-components.conf`; do static-mirror-run --one-stage /srv/static.debian.org \"$a\" > /dev/null; done\n",
        }
 
        $vhost_listen = $::hostname ? {