I have a package installed with puppet:
apt::ppa { 'ppa:thopiekar/cura':
ensure => present,
}
package { 'cura':
ensure => latest,
require => [ Class['apt::update'], Apt::Ppa['ppa:thopiekar/cura'] ],
}
The package has stopped working, but I can get it to work if I manually remove it and its dependencies and reinstall:
sudo apt remove cura
sudo apt autoremove
sudo apt install cura
How can I get puppet to do this reinstall process on my nodes? I haven't pinpointed the cause of the error, but I know that reinstalling this way fixes it.
↧