Open freedenizen opened 10 years ago
Hello,
It seems that apt-get install is trigger before the apt::source trigger reload ... I added an extra condition to change that. Maybe that will do trick. Could you also try to upgrade apt module ?
Thanks for the feedback anyway :)
Regards,
This may just be a problem with puppet >=3.6 but it appears that it is trying to do an apt-get before adding the repo to sources. Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install zabbix-agent' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package zabbix-agent Error: /Stage[main]/Zabbix::Agent::Install/Package[zabbix-agent]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install zabbix-agent' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package zabbix-agent Notice: /Stage[main]/Zabbix/Apt::Source[zabbix]/File[zabbix.list]: Dependency Package[zabbix-agent] has failures: true Warning: /Stage[main]/Zabbix/Apt::Source[zabbix]/File[zabbix.list]: Skipping because of failed dependencies Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Dependency Package[zabbix-agent] has failures: true Warning: /Stage[main]/Apt::Update/Exec[apt_update]: Skipping because of failed dependencies Notice: /Stage[main]/Zabbix/Apt::Source[zabbix]/Anchor[apt::source::zabbix]: Dependency Package[zabbix-agent] has failures: true Warning: /Stage[main]/Zabbix/Apt::Source[zabbix]/Anchor[apt::source::zabbix]: Skipping because of failed dependencies Notice: /Stage[main]/Zabbix::Agent::Config/File[/var/log/zabbix-agent]: Dependency Package[zabbix-agent] has failures: true Warning: /Stage[main]/Zabbix::Agent::Config/File[/var/log/zabbix-agent]: Skipping because of failed dependencies ...