Avoid conflicts on package installs that execute in multiple subordinate charms at exactly the same time
Reset RET on each while loop, and don't break if we have a RET of 100, i.e. go around for another try
We need to only carry out the exit if we're in the OR block
We don't want to exit if the return value is 0 either
[mthaddon] Update the logic for installing packages to deal with situation where two subordinates are checking for dpkg lock file at the same time, neither finds it, and then they both decide to go ahead with the install, but one gets the lock and the other fails.
Remove line breaks that python doesn't like in nagios_plugin.py
[mthaddon] Update the logic for installing packages to deal with situation where two subordinates are checking for dpkg lock file at the same time, neither finds it, and then they both decide to go ahead with the install, but one gets the lock and the other fails.
[mthaddon] Remove line breaks that python doesn't like in nagios_plugin.py