Merge pull request 'fix: fact was misspelled' (#115) from neoloc/mariadb_fixes into develop

Reviewed-on: unkinben/puppet-prod#115
This commit is contained in:
Ben Vincent 2024-02-17 21:30:27 +09:30
commit 9be1e19900

View File

@ -61,7 +61,7 @@ class profiles::sql::galera_member (
if $::facts['os']['selinux']['config_mode'] == 'enforcing' { if $::facts['os']['selinux']['config_mode'] == 'enforcing' {
# set permissive on first run, as we need mariadb installed/started at a custom path before adding fcontext # set permissive on first run, as we need mariadb installed/started at a custom path before adding fcontext
if $::facts['mariadb_acti'] { $selinux_mode = 'enforcing' }else{ $selinux_mode = 'permissive' } if $::facts['mariadb_active'] { $selinux_mode = 'enforcing' }else{ $selinux_mode = 'permissive' }
# call the mysqld selinux class # call the mysqld selinux class
class { 'profiles::selinux::mysqld': class { 'profiles::selinux::mysqld':