You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Evaluation Error: Error while evaluating a Resource Statement, undefined method `set_optional' for #<Puppet::Pops::Types::ExtraneousKey:0x00007f82d90fd670> at /var/folders/wd/5ty8823s09s4f6h9r1_tkb240000gp/T/ocd-ipc-20220111-22542-1ok330z/ocd-builddir-20220111-22547-12gqe2m/environments/us_perftest/modules/fd_profiles/manifests/mysql/proxysql.pp:25:5
mysql([defaults_file,'-NBe','LOAD MYSQL SERVERS TO RUNTIME'].compact)ifload_to_runtime == :true
save_to_disk=@resource[:save_to_disk]
mysql([defaults_file,'-NBe','SAVE MYSQL SERVERS TO DISK'].compact)ifsave_to_disk == :true
end
This could be a case of us misunderstanding the README, but the end goal is for us not to automatically load just the mysql_servers into runtime via the hiera hash, because our scheduler handles that for us.
It does work when calling proxy_mysql_server directly though
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Line 25 is just calling the module
What behaviour did you expect instead
load_to_runtime
to be set false for each mysql server in the hash.Output log
Any additional information you'd like to impart
It looks to be missing in https://github.com/voxpupuli/puppet-proxysql/blob/35865f2cecc747da6d310fe2d8918d1dddcbcb83/types/server.pp but present in
puppet-proxysql/lib/puppet/provider/proxy_mysql_server/proxysql.rb
Lines 101 to 110 in 35865f2
This could be a case of us misunderstanding the README, but the end goal is for us not to automatically load just the
mysql_servers
into runtime via the hiera hash, because our scheduler handles that for us.It does work when calling proxy_mysql_server directly though
The text was updated successfully, but these errors were encountered: