User story #3857
closedAdd post hook commands and working update for rpm package installation
Added by Olivier Mauras over 11 years ago. Updated about 10 years ago.
Description
Based on v5 which needed to be fixed
- Can execute command upon package repair
- cfengine can't handle an update without specifying version and arch. Added arch detection of installed package and version detection of the latest version in the repository
- Reporting should be OK for all cases
PR was proposed by coredumb: https://github.com/Normation/rudder-techniques/pull/172
Updated by Olivier Mauras over 11 years ago
Here comes the pull request:
https://github.com/Normation/rudder-techniques/pull/172
Updated by Vincent MEMBRÉ over 11 years ago
- Assignee set to Matthieu CERDA
- Priority changed from 2 to 1 (highest)
Matthieu can you look at it please ?
Updated by Nicolas CHARLES over 11 years ago
This is a really interesting implementation.
However, I'm a bit worried about the execresult, as you said, cf-promises runs it for every packages, so it slows down the cf-promises too much
I hope there is an easier solution, but I can't find one right now
Updated by Olivier Mauras over 11 years ago
As discussed on IRC i've modified my PR with 3 new commits that speed up the techniques by A LOT.
cf-promises now get from ~13s to less than 1s, and whole cf-agent -K run is now ~10s instead of 50s to 1mn10s
These results are for 2 packages to update.
Updated by Olivier Mauras over 11 years ago
Actually "noshell" can't be used:
CRITICAL:yum.cli:Command line error: option -d: invalid integer value: ':'
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.7.1 to 2.7.2
Updated by Jonathan CLARKE over 11 years ago
- Status changed from New to Discussion
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.7.2 to 2.7.3
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.7.3 to 2.7.4
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.7.4 to 2.7.5
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.7.5 to 2.7.6
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.7.6 to 2.7.7
Updated by Vincent MEMBRÉ about 11 years ago
- Target version changed from 2.7.7 to 2.7.8
Updated by Vincent MEMBRÉ about 11 years ago
- Target version changed from 2.7.8 to 2.8.3
Since 2.7.* is not supported anymore, targeting in 2.8
Updated by Vincent MEMBRÉ about 11 years ago
- Target version changed from 2.8.3 to 2.8.4
Updated by Vincent MEMBRÉ about 11 years ago
- Target version changed from 2.8.4 to 133
Updated by Vincent MEMBRÉ about 11 years ago
- Target version changed from 133 to 2.9.5
Updated by Vincent MEMBRÉ almost 11 years ago
- Target version changed from 2.9.5 to 2.9.6
Updated by Jonathan CLARKE almost 11 years ago
- Target version changed from 2.9.6 to 2.9.7
Updated by Jonathan CLARKE almost 11 years ago
- Target version changed from 2.9.7 to 150
Updated by Vincent MEMBRÉ almost 11 years ago
- Target version changed from 150 to 2.10.4
Updated by Nicolas PERRON over 10 years ago
- Target version changed from 2.10.4 to 2.10.5
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.10.5 to 2.10.6
Updated by Matthieu CERDA over 10 years ago
- Target version changed from 2.10.6 to 2.10.7
Updated by François ARMAND over 10 years ago
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
OK, so that one is IMPORTANT.
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.10.7 to 2.10.8
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.10.8 to 2.10.9
Updated by Benoît PECCATTE over 10 years ago
- Status changed from Discussion to 10
Updated by Benoît PECCATTE over 10 years ago
- Status changed from 10 to Pending release
Updated by Vincent MEMBRÉ about 10 years ago
- Target version changed from 2.10.9 to 2.10.10
Updated by Vincent MEMBRÉ about 10 years ago
- Subject changed from Technique enhancement: rpmPackageInstallation post hook commands and working update to Add post hook commands and working update for rpm package installation
Updated by Vincent MEMBRÉ about 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE about 10 years ago
- Project changed from 24 to Rudder
- Category changed from Techniques to Techniques