canihavethisone
11/29/2022, 3:37 AMPuppet v8 , and/or any planned changes? I see that v6 is planned for EOL July 2023 and some developers are already referring to v6 as deprecated...smortex
11/29/2022, 3:50 AMThis note is to inform you that starting with our February release of Open Source Puppet 8, we'll be dropping support for JDK 8.
ssaini
11/29/2022, 3:29 PMLumiere
11/29/2022, 4:15 PMLumiere
11/29/2022, 4:15 PMDaehnomel
11/29/2022, 4:17 PMDaehnomel
11/29/2022, 4:56 PMnatemccurdy
11/29/2022, 5:13 PMmysql-server, but the name parameter does take its value from $mysql::server::package_name
So it may appear that the mysql-server package is being installed if all you're looking at is the Puppet run's output.... for example you might see something like:
Class[mysql::server::install]/Package[mysql-server]: ensure changed from purged to present
But that's only showing you the title of the resource, not the actual package name being installed.natemccurdy
11/29/2022, 5:13 PMmysql-server, but the name parameter does take its value from $mysql::server::package_name
So it may appear that the mysql-server package is being installed if all you're looking at is the Puppet run's output.... for example you might see something like:
Class[mysql::server::install]/Package[mysql-server]: ensure changed from purged to present
But that's only showing you the title of the resource, not the actual package name being installed.Daehnomel
11/29/2022, 6:12 PMclass { '::mysql::server':
package_name => 'mysql-server',
package_ensure => 'present',
root_password => $root_password,
override_options => $override_options,
restart => true,
}Daehnomel
11/29/2022, 6:13 PMclass { '::mysql::server':
package_name => 'mysql-server',
package_ensure => 'present',
root_password => $root_password,
override_options => $override_options,
restart => true,
}Lumiere
11/29/2022, 6:13 PMDaehnomel
11/29/2022, 6:14 PMnatemccurdy
11/29/2022, 6:14 PMnatemccurdy
11/29/2022, 6:15 PMit's not my package manager.How do you know that? What did you test to verify that to yourself?
Daehnomel
11/29/2022, 6:16 PMclass { '::mysql::server':
package_name => 'mysql-server',
package_ensure => 'present',
root_password => $root_password,
override_options => $override_options,
restart => true,
}natemccurdy
11/29/2022, 6:18 PMsudo puppet resource package mysql-server ensure=present name=mysql-server --debug
What do the debug logs show is happening behind the scenes? You should see exactly the command that Puppet is running to install the package.Daehnomel
11/29/2022, 6:28 PMDaehnomel
11/29/2022, 7:13 PMDaehnomel
11/29/2022, 7:14 PMSlackbot
11/29/2022, 8:03 PMhbui
11/30/2022, 3:46 AMclass { '::mysql::server': ... } that you got on the system is the same as what you think was added to your mysql servers. You can look at the catalog in /opt/puppetlabs/puppet/cache/client_data/catalog/<certname>.json. Search for "title": "Mysql::Server", and verify that the parameters landed as expected.Mike Fröhner (crazymind1337)
11/30/2022, 12:46 PMbastelfreak
11/30/2022, 12:48 PMbastelfreak
11/30/2022, 12:49 PMMike Fröhner (crazymind1337)
11/30/2022, 12:54 PMMike Fröhner (crazymind1337)
11/30/2022, 12:54 PMMike Fröhner (crazymind1337)
11/30/2022, 12:54 PMMike Fröhner (crazymind1337)
11/30/2022, 12:56 PMsearch . the fact networking.fqdn resolves to the hostnameMike Fröhner (crazymind1337)
11/30/2022, 12:57 PMsearch . is back because this file (the symlinked one) is written by the service systemd-resolved.