Project

General

Profile

Actions

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.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
Generic methods
Target version:
-
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - User story #7234: Add a generic method for command execution with return code handlingReleasedNicolas CHARLESActions
Actions #1

Updated by François ARMAND over 9 years ago

  • 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.

Actions #2

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.1.0~beta1 to 3.1.0~rc1
Actions #3

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.1.0~rc1 to 3.1.0
Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.1.0 to 3.1.1
Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.1.1 to 3.1.2
Actions #6

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 3.1.2 to 3.1.3
Actions #7

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 3.1.3 to 3.1.4
Actions #8

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 3.1.4 to 3.1.5
Actions #9

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 3.1.5 to 3.1.6
Actions #10

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 3.1.6 to 3.1.7
Actions #11

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.1.7 to 3.1.8
Actions #12

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.1.8 to 3.1.9
Actions #13

Updated by Alexis Mousset over 8 years ago

  • Project changed from Rudder to 41
  • Category deleted (Web - Technique editor)
  • Target version deleted (3.1.9)
Actions #14

Updated by Alexis Mousset over 8 years ago

  • Category set to Generic methods
Actions #15

Updated by Nicolas CHARLES about 8 years ago

  • Is duplicate of User story #7234: Add a generic method for command execution with return code handling added
Actions #16

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from New to Rejected

This has been implemented in #7234
thank you Peter !

Actions #17

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF