whitespace/quoting: modules/roles/manifests/cdbuilder_local_mirror.pp (make lint...
authorPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 08:03:54 +0000 (10:03 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 08:03:54 +0000 (10:03 +0200)
modules/roles/manifests/cdbuilder_local_mirror.pp

index 9e9cc57..565a495 100644 (file)
@@ -1,21 +1,21 @@
 class roles::cdbuilder_local_mirror {
-       include apache2
+  include apache2
 
-       $apache_addr = "172.29.103.1"
-       $vhost_listen = "${apache_addr}:80"
+  $apache_addr = '172.29.103.1'
+  $vhost_listen = "${apache_addr}:80"
 
-       apache2::site { '010-local-mirror.cdbuilder.debian.org':
-               site   => 'local-mirror.cdbuilder.debian.org',
-               content => template('roles/apache-local-mirror.cdbuilder.debian.org.erb'),
-       }
+  apache2::site { '010-local-mirror.cdbuilder.debian.org':
+    site    => 'local-mirror.cdbuilder.debian.org',
+    content => template('roles/apache-local-mirror.cdbuilder.debian.org.erb'),
+  }
 
-       file { "/etc/apache2/ports.conf":
-               require => Package['apache2'],
-               content  => @("EOF"),
-                               # This file is maintained by puppet
-                               Listen 127.0.0.1:80
-                               Listen $vhost_listen
-                               | EOF
-               notify  => Service['apache2']
-       }
+  file { '/etc/apache2/ports.conf':
+    require => Package['apache2'],
+    content => @("EOF"),
+        # This file is maintained by puppet
+        Listen 127.0.0.1:80
+        Listen ${vhost_listen}
+        | EOF
+    notify  => Service['apache2'],
+  }
 }