User story #2221
closed
Check which packages are installed frequency
Added by Jean Remond almost 13 years ago.
Updated over 5 years ago.
Description
In the case of package installation, 30 minutes is not always the best option.
Is that option easy to be managed through web interface ?
The best solution would be to have one value per package, but first choosing the general value will be a great amelioration.
- Assignee set to Jonathan CLARKE
- Priority changed from N/A to 2
- Target version set to 2.3.7
Sure, that's easy to add. But I'm not sure why we'd want to set it per package...
The apt_pkg_timeout option in Rudder's PTs is used by the CFEngine option package_list_update_ifelapsed. This controls how often to run "aptitude update" (ie, refresh the lists of packages from apt sources). I don't understand why you would want to set this per package - do you have some packages that are updated on an internal repo very often or something similar?
When you say 30 minutes is not the best option, do you mean you encounter problems while installing some packages? Is this because they take longer than 30 minutes to install? (!)
Just as soon as I know what to do, I'll patch this ASAP ;)
I made a mistake for the role of this value.
I thought it was for verifying/repairing the installed packages and not just to refresh the list of packages.
This question may be closed without further information :-)
The question behind was "how often do you verify if the packages are properly installed ?"
I assume once a day or every 4 hours at most is enough and I do not know how to tell Rudder that (I think it should be another issue).
- Subject changed from Can you let the user choose apt_pkg_timeout ? to Check packages are installed frequency
Jean Remond wrote:
I made a mistake for the role of this value.
I thought it was for verifying/repairing the installed packages and not just to refresh the list of packages.
This question may be closed without further information :-)
The question behind was "how often do you verify if the packages are properly installed ?"
I assume once a day or every 4 hours at most is enough and I do not know how to tell Rudder that (I think it should be another issue).
Whoops, looks like this question got lost... sorry about that.
Currently, we check the installed packages on every CFEngine run, ie every 5 minutes. This is a very fast and efficient process, since CFEngine reads the list of installed packages from dpkg/rpm once, and then just checks all the packages that should be installed in this list.
I guess we could make this configurable quite easily via the web interface.
- Target version deleted (
2.3.7)
- Project changed from Rudder to 24
- Category deleted (
Techniques)
- Target version set to Ideas (not version specific)
- Category set to Techniques
- Status changed from Discussion to New
- Assignee deleted (
Jonathan CLARKE)
- Project changed from 24 to Rudder
- Category changed from Techniques to Techniques
- Tracker changed from Question to User story
- Subject changed from Check packages are installed frequency to Check which packages are installed frequency
- Is duplicate of User story #9110: Make the package_module bodies configurable added
- Status changed from New to Rejected
Also available in: Atom
PDF