Eu sou novo em puppet
, para o processo de aprendizado, criei Puppet Master
e Puppet Slave
setup e configurei um módulo mysql
para instalar o mysql em Puppet client
. Abaixo está o arquivo de manifesto.
class mysql {
package { ["mysql-server-5.5", "libaio1", "libdbd-mysql-perl", "libdbi-perl", "libhtml-template-perl", "libmysqlclient18", "mysql-client-5.5", "mysql-common", "mysql-server-core-5.5"]:
ensure => present,
allowcdrom => 'true',
}
}
O recurso package
contém todas as dependências do mysql-server. Mas estou recebendo o erro abaixo.
Building dependency tree...
Reading state information...
The following extra packages will be installed:
mysql-common
The following NEW packages will be installed:
libmysqlclient18 mysql-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 738 kB of archives.
After this operation, 3513 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
mysql-common libmysqlclient18
E: There are problems and -y was used without --force-yes
Error: /Stage[main]/Mysql/Package[libmysqlclient18]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libmysqlclient18' returned 100: Reading package lists...
Eu também tentei adicionar install_options: "--force-yes"
, como mencionado na saída do erro, mas ainda entrando no mesmo problema.
Qualquer ajuda sobre isso será apreciada.