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 2 months ago. Updated 23 days ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Effort required:
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 2 months ago

  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET about 2 months ago

  • Status changed from New to In progress
Actions #3

Updated by Félix DALLIDET about 2 months 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 about 2 months ago

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

Updated by Alexis Mousset 29 days ago

  • Parent task set to #21197
Actions #7

Updated by Vincent MEMBRÉ 23 days 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