From 4b0cc36efe9265987be39359070c5f70260af8ff Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Wed, 9 Sep 2020 16:37:18 +0200 Subject: [PATCH] Make sure we noop the Mysql_ providers This is needed because the Mysql_ providers will prefetch the the mysql users if facter finds the '/bin/mysql' executable on the system and we do not want to run any mysql task on the host directly. Co-Authored-By: Damien Ciabrini Change-Id: Ic6c65e6849368185177aeaa31d50f52761225f62 Related-Bug: #1863442 --- deployment/database/mysql-pacemaker-puppet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/database/mysql-pacemaker-puppet.yaml b/deployment/database/mysql-pacemaker-puppet.yaml index f5f4b5d989..6952e2912e 100644 --- a/deployment/database/mysql-pacemaker-puppet.yaml +++ b/deployment/database/mysql-pacemaker-puppet.yaml @@ -327,7 +327,7 @@ outputs: tripleo_ha_wrapper_bundle_name: galera-bundle tripleo_ha_wrapper_resource_state: Master tripleo_ha_wrapper_puppet_config_volume: mysql - tripleo_ha_wrapper_puppet_execute: 'include ::tripleo::profile::base::pacemaker; include ::tripleo::profile::pacemaker::database::mysql_bundle' + tripleo_ha_wrapper_puppet_execute: '["Mysql_datadir", "Mysql_user", "Mysql_database", "Mysql_grant", "Mysql_plugin"].each |String $val| { noop_resource($val) }; include ::tripleo::profile::base::pacemaker; include ::tripleo::profile::pacemaker::database::mysql_bundle' tripleo_ha_wrapper_puppet_tags: 'pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation' tripleo_ha_wrapper_puppet_debug: {get_param: ConfigDebug}