Merge lp:~therve/landscape-client/config-apt-update-interval into lp:~landscape/landscape-client/trunk
Proposed by
Thomas Herve
Status: | Merged |
---|---|
Approved by: | Alberto Donato |
Approved revision: | 596 |
Merged at revision: | 596 |
Proposed branch: | lp:~therve/landscape-client/config-apt-update-interval |
Merge into: | lp:~landscape/landscape-client/trunk |
Diff against target: |
342 lines (+92/-26) 8 files modified
example.conf (+11/-5) landscape/deployment.py (+9/-2) landscape/monitor/packagemonitor.py (+1/-0) landscape/monitor/tests/test_packagemonitor.py (+9/-0) landscape/package/reporter.py (+4/-6) landscape/package/tests/test_reporter.py (+49/-12) man/landscape-config.1 (+5/-1) man/landscape-config.txt (+4/-0) |
To merge this branch: | bzr merge lp:~therve/landscape-client/config-apt-update-interval |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Donato (community) | Approve | ||
Jerry Seutter (community) | Approve | ||
Review via email:
|
Description of the change
The branch adds 2 new parameters: one to change the package monitor interval, the other to reduce the apt update interval. I also change the default apt update interval to be 6h instead of 1, which seems more than enough for me.
To post a comment you must log in.
+1 looks good.
[1] add_option( "--package- monitor- interval" , default=30 * 60, add_option( "--apt- update- interval" , default=6 * 60 * 60,
74 + parser.
75 + type="int",
76 + help="The interval between apt update runs "
77 + "(default 1800).")
78 + parser.
79 + type="int",
80 + help="The interval between apt update runs "
81 + "(default 21600).")
The help text on package- monitor- interval is incorrect.