If one thinks of a better title for this question: Please change it accordingly.
Environment:
- Debian jessie 8.5
- puppet master: 3.8.5
- puppet agent: 3.7.2
- apt: 1.0.9.8.3
Problem:
A specific package is installed already on the node, let's take needrestart
for example:
# dpkg -l | grep needrestart
ii needrestart 1.2-8+deb8u1
Using the following code:
package{[
'needrestart',
]:
ensure => installed, # latest won't work, either
install_options => ['-t', 'jessie-backports']
}
I would expect that needrestart
is reinstalled / upgraded to the version out of jessie-backports
. However, this doesn't happen, there is no reinstall / upgrade happening. Inside the (debug) logs there's nothing worth to be shown regarding this.
Solution:
In case this is not intended: Anyone knows a clever way around this?