diff modules/website/manifests/init.pp @ 246:c3fa3d65aa83

Update configs for Puppet 6 This *should* all be backward compatible
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Dec 2019 14:19:47 -0500
parents 4519b727cc4c
children 72deb9ebb15e
line wrap: on
line diff
--- a/modules/website/manifests/init.pp	Sat Dec 21 14:12:10 2019 -0500
+++ b/modules/website/manifests/init.pp	Sat Dec 21 14:19:47 2019 -0500
@@ -112,7 +112,7 @@
   file { $cert_dir:
     ensure => directory;
   }
-  if $operatingsystem == 'CentOS' and versioncmp($operatingsystemrelease, 7) >= 0 {
+  if $operatingsystem == 'CentOS' and versioncmp($operatingsystemrelease, '7') >= 0 {
     exec { 'set_apache_defaults':
       command => 'semanage fcontext -a -t httpd_sys_content_t "/srv/sites(/.*)?"',
       path    => '/bin:/usr/bin/:/sbin:/usr/sbin',