From ee9a554f41e4aef8491de83a6033b121d301f17f Mon Sep 17 00:00:00 2001 From: Bronson Quick Date: Tue, 12 Nov 2024 16:01:48 +1000 Subject: [PATCH] Update for Noble Numbat --- modules/mailhog/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mailhog/manifests/init.pp b/modules/mailhog/manifests/init.pp index 7578837..aa4a239 100644 --- a/modules/mailhog/manifests/init.pp +++ b/modules/mailhog/manifests/init.pp @@ -52,7 +52,7 @@ require => File[ "${install_path}/bin/mailhog" ], } - if versioncmp($::operatingsystemmajrelease, '15.04') >= 0 { + if versioncmp($facts['os']['distro']['release']['full'], '15.04') >= 0 { file { '/lib/systemd/system/mailhog.service': ensure => 'file', content => template('mailhog/systemd.service.erb'),