Skip to content

Commit

Permalink
fix voxpupuli#22, when changing admin variables a restart is required…
Browse files Browse the repository at this point in the history
… for the module to be functional.
  • Loading branch information
Matthias Crauwels committed May 29, 2017
1 parent c173b60 commit a23bdfe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@
}
}

proxy_global_variable { 'admin-admin_credentials':
value => $config_settings['admin_variables']['admin_credentials'],
load_to_runtime => false,
notify => Service[$::proxysql::service_name],
before => File['root-mycnf-file'],
}

proxy_global_variable { 'admin-mysql_ifaces':
value => $config_settings['admin_variables']['mysql_ifaces'],
load_to_runtime => false,
notify => Service[$::proxysql::service_name],
before => File['root-mycnf-file'],
}

if $proxysql::manage_mycnf_file {
file { 'root-mycnf-file':
ensure => file,
Expand Down

0 comments on commit a23bdfe

Please sign in to comment.