]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add http2 module dev
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 4 Jun 2020 13:09:53 +0000 (15:09 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 4 Jun 2020 13:09:53 +0000 (15:09 +0200)
modules/profile/manifests/apache.pp

index 7187350d3624fedf1904cf1fbe78ced1c11e931c..3c25e2b6e2a996b700e82bbab79bbd0c08f07393 100644 (file)
@@ -22,6 +22,11 @@ class profile::apache {
     filename => 'protocols.conf'
   }
 
+  ::apache::custom_config { 'protocols.load':
+    content  => 'LoadModule http2_module /etc/httpd/modules/mod_http2.so',
+    filename => 'protocols.load'
+  }
+
   ::apache::custom_config { 'document_root.conf':
     source   => "puppet:///modules/profile/apache/document_root.conf",
     filename => "document_root.conf"