]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker modify limit_except
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Tue, 10 Oct 2017 09:46:32 +0000 (11:46 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Tue, 10 Oct 2017 09:46:32 +0000 (11:46 +0200)
customer/spk-spar-checker/test.yaml

index b3fcee9b4eca93d055d53666e92a58d398c638b9..b2492091e592d40bbbb9cddbb057fc348ac06eff 100644 (file)
@@ -65,6 +65,11 @@ infra::profile::apache::pp_vhosts:
         directoryindex: 'index.html'
       - provider: location
         path: '/'
+        limit_except:
+          methods:
+            - "GET HEAD POST"
+          require:
+            - "all denied"
         auth_type: Digest
         auth_name: server
         auth_digest_provider: file
@@ -75,13 +80,8 @@ infra::profile::apache::pp_vhosts:
           requires:
             - 'valid-user'
             - 'env admin_ip_range'
-
 #      - provider: location
 #        path: '/api'
-
-#        limit_except:
-#        - methods: "GET HEAD POST"
-#          - require: "all denied"
       - provider: location
         path: '/sfp'
         auth_type: Digest