Project

General

Profile

Actions

Architecture #21222

closed

Architecture #21155: Cleanup relayd tests

Architecture #21197: Prepare new rudderc implementation

Improve yaml format

Added by Alexis Mousset almost 2 years ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:

Description

---
format: 0
name: ntp
version: "0.1" 

# pour l'instant par de ressources récursives

resources:
  # blocks are a type of resource
  - type: block
    name: "NTP configuration" 
    id: "b07e7496-a8f2-4a2e-b0a9-6ea0b9e08221" 
    reporting:
      # the default
      enabled: true
      # logic
      compute:
        focus: d86ce2e5-d5b6-45cc-87e8-c11cca71d907
    resources:
      - type: file
        params:
          path: "/etc/ntp.conf" 
        states:
          # marche pas si on a plusieurs content sur le même fichier
          - type: content
            # report_component, pas forcément unique, pas utilisable en id
            name: "Ensure correct ntp configuration" 
            # outcome condition must rely on ids
            id: "d86ce2e5-d5b6-45cc-87e8-c11cca71d907" 
            condition: "debian" 
            reporting:
              enabled: false
              # logic
              compute: worst-wighted-sum
            meta:
              cve: CVE-2022-3456
            params:
              content: "server ntp.org" 
              enforce: "true" 
  - type: file
    params:
      path: "/etc/hosts" 
    states:
      # marche pas si on a plusieurs content sur le même fichier
      - type: content
        # report_component, pas forcément unique, pas utilisable en id
        name: "Ensure correct hosts configuration" 
        # outcome condition must rely on ids
        id: "d86ce2e5-d5b6-45cc-87e8-c11cca71d907" 
        condition: "debian" 
        reporting:
          enabled: false
        params:
          content: "127.0.0.1 localhost" 
          enforce: "true" 
Actions #1

Updated by Alexis Mousset almost 2 years ago

  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET almost 2 years ago

  • Status changed from New to In progress
Actions #3

Updated by Félix DALLIDET almost 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/4320
Actions #4

Updated by Alexis Mousset almost 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset almost 2 years ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Alexis Mousset over 1 year ago

  • Parent task set to #21197
Actions #7

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.2.0~beta1 which was released today.

Actions

Also available in: Atom PDF