User story #6423
closed
creating custom condition in exec command generic methods
Added by Peter Keresztes over 9 years ago.
Updated over 2 years ago.
Description
I want to have a method where I add the apt-keys for repositories I create in earlier methods
I can check for the condition with apt-key list | grep <something> where the exist status would be 0 for true (key exist) and 1 for key does not exist and the command have to be run.
would be easier to add the command and condition in the condition panel like an if else statement.
Regards,
Peter
- Project changed from Rudder websites to Rudder
- Subject changed from creating custom condition in exec command methods to creating custom condition in exec command generic methods
- Category set to Web - Technique editor
- Priority changed from N/A to 2
- Target version set to 3.1.0~beta1
I completly agree - it is not intuitive at all to have to defined an other method JUST for the condition. Moreover, it brokes the readability of the goal of the technique based on the list of generic method.
Under the hood, Technique Editor can generate the logic to add by itself the needed command leading to a class, but the user don't want/need to know.
- Target version changed from 3.1.0~beta1 to 3.1.0~rc1
- Target version changed from 3.1.0~rc1 to 3.1.0
- Target version changed from 3.1.0 to 3.1.1
- Target version changed from 3.1.1 to 3.1.2
- Target version changed from 3.1.2 to 3.1.3
- Target version changed from 3.1.3 to 3.1.4
- Target version changed from 3.1.4 to 3.1.5
- Target version changed from 3.1.5 to 3.1.6
- Target version changed from 3.1.6 to 3.1.7
- Target version changed from 3.1.7 to 3.1.8
- Target version changed from 3.1.8 to 3.1.9
- Project changed from Rudder to 41
- Category deleted (
Web - Technique editor)
- Target version deleted (
3.1.9)
- Category set to Generic methods
- Is duplicate of User story #7234: Add a generic method for command execution with return code handling added
- Status changed from New to Rejected
This has been implemented in #7234
thank you Peter !
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Also available in: Atom
PDF