David Sandilands
10/27/2022, 1:07 PMMoe
10/27/2022, 1:30 PMMoe
10/27/2022, 1:36 PM%{foo} to stick to the example there.
Or is the answer more nuanced than a basic yes or no?Moe
10/27/2022, 1:37 PMSingle-quoted strings can’t interpolate values.which isn't true. I just tested it.
var: '%{fact.fqdn}asd' totally worked fineBrian Schonecker
10/27/2022, 1:41 PMBrian Schonecker
10/27/2022, 1:41 PMBrian Schonecker
10/27/2022, 1:42 PMhelindbe
10/27/2022, 1:57 PM$pidfile is used anywhere in that module - it is only set in params.pp - so strange. Look at the result of searching through the module at github: https://github.com/puppetlabs/puppetlabs-mysql/search?q=pidfileBrian Schonecker
10/27/2022, 1:58 PMhelindbe
10/27/2022, 1:58 PMpidfilehelindbe
10/27/2022, 1:58 PMhelindbe
10/27/2022, 2:01 PMjosh
10/27/2022, 2:09 PM—-debug to the agent and it will print which protocol and cipher suite it’s using for each connectionfe80
10/27/2022, 2:10 PMSlackbot
10/27/2022, 2:19 PMcruelsmith
10/27/2022, 2:19 PMdefault_config from params. https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/params.pp#L448-L489
When you need to override it use the mysql::server::override_options https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/server.pp#L24-L25
`mysql:serveroverride options`'mysqld' => { 'basedir' => $mysql:params:basedir, 'bind-address' => '127.0.0.1', 'datadir' => $mysql:params:datadir, 'expire_logs_days' => '10', 'key_buffer_size' => '16M', 'log-error' => $mysql:params:log_error, 'max_allowed_packet' => '16M', 'max_binlog_size' => '100M', 'max_connections' => '151', 'pid-file' => $mysql:params:pidfile,cruelsmith
10/27/2022, 2:20 PMdefault_config from params. https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/params.pp#L448-L489
When you need to override it use the mysql::server::override_options https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/server.pp#L24-L25
mysql::server::override_options:
`mysql:serveroverride options`'mysqld' => { 'basedir' => $mysql:params:basedir, 'bind-address' => '127.0.0.1', 'datadir' => $mysql:params:datadir, 'expire_logs_days' => '10', 'key_buffer_size' => '16M', 'log-error' => $mysql:params:log_error, 'max_allowed_packet' => '16M', 'max_binlog_size' => '100M', 'max_connections' => '151', 'pid-file' => $mysql:params:pidfile,cruelsmith
10/27/2022, 2:21 PMdefault_config from params. https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/params.pp#L448-L489
When you need to override it use the mysql::server::override_options https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/server.pp#L24-L25
mysql::server::override_options:
'mysqld':
'pid-file': '/my/pid/file/path.pid'cruelsmith
10/27/2022, 2:25 PMdefault_config from params. https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/params.pp#L448-L489
When you need to override it use the mysql::server::override_options https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/server.pp#L24-L25
mysql::server::override_options:
'mysqld':
'pid-file': '/my/pid/file/path.pid'fe80
10/27/2022, 2:32 PMjosh
10/27/2022, 4:15 PMNet::HTTP are handled by the https://github.com/jruby/jruby-openssl library. It emulates the ruby bindings for OpenSSL https://github.com/ruby/openssl, but the jruby-openssl library has historically been very buggy or lags behind.Dr Bunsen Honeydew
10/27/2022, 5:45 PMSlackbot
10/27/2022, 6:42 PMJordan Mueller
10/27/2022, 6:44 PMJordan Mueller
10/27/2022, 6:44 PMSlackbot
10/27/2022, 7:39 PMramindk
10/27/2022, 9:00 PMSlackbot
10/27/2022, 9:14 PMhelindbe
10/27/2022, 9:23 PMhiera.yaml to determine paths to data file per level. This is usually not a good idea since you have to jump through hopes when using the command line lookup tool (have to turn on --compile, or supply variables with value to simulate that compilation took place.)Joel Wilson
10/27/2022, 9:26 PMclass { 'puppet::params':
version => 6,
}
without it getting a duplicate declaration because of the inheret statement