Project

General

Profile

Actions

User story #17876

closed

dsc doctor

User story #17876: dsc doctor

Added by Gaëtan POBLON over 5 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Plugins integration
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

script to generate boilerplate and check and fix dsc methods (mainly case issues)

Updated by Gaëtan POBLON over 5 years ago Actions #1

  • Status changed from Pending technical review to In progress

Updated by Gaëtan POBLON over 5 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder-agent-windows/pull/339

Powershell dsc is case insensitive which can be an issue because it can conflict with cfengine variables. Can be a pain to parse and work with too.
To make dsc a bit cleaner to work with and sync it with cfengine techniques.

The following script can:
- boilerplate, ie generating boilerplate from a cfengine generic method
- fix, ie copying in a folder a well formatted version of a dsc technique (case, parameters and name in sync with cf generic method)
- fix-replace, ie fix but desctructively replace old dsc technique
- check, ie same checks than fix but only outputs errors in terminal

Fixed ~2900 errors

NOTE that paths are directly modified from within the script

Updated by Vincent MEMBRÉ over 5 years ago Actions #4

  • Target version changed from 6.2.0~beta1 to 7.0.0~beta1

Updated by Vincent MEMBRÉ over 4 years ago Actions #5

  • Target version changed from 7.0.0~beta1 to 7.0.0~beta2

Updated by Vincent MEMBRÉ over 4 years ago Actions #6

  • Target version changed from 7.0.0~beta2 to 7.0.0~beta3

Updated by Vincent MEMBRÉ about 4 years ago Actions #7

  • Target version changed from 7.0.0~beta3 to 7.0.0~rc1

Updated by Vincent MEMBRÉ about 4 years ago Actions #8

  • Target version changed from 7.0.0~rc1 to 7.0.0~rc2

Updated by Vincent MEMBRÉ about 4 years ago Actions #9

  • Target version changed from 7.0.0~rc2 to 7.0.0~rc3

Updated by Alexis Mousset about 4 years ago Actions #10

  • Target version changed from 7.0.0~rc3 to 7.1.0~beta1

Updated by Vincent MEMBRÉ almost 4 years ago Actions #11

  • Target version changed from 7.1.0~beta1 to 7.1.0~beta2

Updated by Vincent MEMBRÉ almost 4 years ago Actions #12

  • Target version changed from 7.1.0~beta2 to 7.1.0~rc1

Updated by Alexis Mousset almost 4 years ago Actions #13

  • Target version changed from 7.1.0~rc1 to 7.2.0~beta1

Updated by Alexis Mousset over 3 years ago Actions #14

  • Assignee deleted (Gaëtan POBLON)

Updated by Alexis Mousset over 3 years ago Actions #15

  • Target version changed from 7.2.0~beta1 to 7.3.0~beta1

Updated by Vincent MEMBRÉ almost 3 years ago Actions #16

  • Target version changed from 7.3.0~beta1 to 7.3.0~rc1

Updated by Vincent MEMBRÉ almost 3 years ago Actions #17

  • Target version changed from 7.3.0~rc1 to 7.3.0

Updated by Vincent MEMBRÉ almost 3 years ago Actions #18

  • Target version changed from 7.3.0 to 7.3.1

Updated by Vincent MEMBRÉ over 2 years ago Actions #19

  • Target version changed from 7.3.1 to 7.3.2

Updated by Vincent MEMBRÉ over 2 years ago Actions #20

  • Target version changed from 7.3.2 to 7.3.3

Updated by Vincent MEMBRÉ over 2 years ago Actions #21

  • Target version changed from 7.3.3 to 7.3.4

Updated by Vincent MEMBRÉ over 2 years ago Actions #22

  • Target version changed from 7.3.4 to 7.3.5

Updated by Alexis Mousset over 2 years ago Actions #23

  • Target version changed from 7.3.5 to 7.3.6

Updated by Vincent MEMBRÉ over 2 years ago Actions #24

  • Status changed from Pending technical review to Rejected
Actions

Also available in: PDF Atom