PowerShell / PowerShell/DSC

DSC as Services / Daemon process - pull config form Server

Open
#1,339 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement
Dominant language
Rust
Stars
523
Forks
75
Avg merge
3d 16h
Merged PRs (30d)
24

Description

Summary of the new feature / enhancement

I like to propouse new feature for DSC that was simillar in DSC 2.0 as Push / Pull server.
DSC will run as a process and will download config map form Share or WWW server with declaration of configurations and order of implementations.

Proposed technical implementation details (optional)

Configuration file suggestion:

JSON file hosted for example over www - configmap.json

{
    "$schema": "https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/config/document.json",
    "config": [
        {
        "name": "web server install",
        "parameters_file": "http://web.local/web.dsc.parameters.yaml", # optional
        "configuration_file": "http://web.local/web.dsc.yaml",
        "process_order": 1
        },
        {
        "name": "registry creation ",
        "parameters_file": "", # optional
        "configuration_file": "http://web.local/registry.dsc.yaml",
        "process_order": 2
        }
    ]
}

DSC configuration parameters


dsc config --unattended --configmap http://web.local/configmap.json --interval 90

DSC parameters description

--unattended - setup dsc as Windows Services / Deamon process
--configmap - JSON file with multiple configuration mappings to be implemented in order
--interval - number of minutes to re-apply configuration

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing dsc config command and the referenced configmap.json schema at the DSC document URL. Clarify the design for unattended service execution, remote configuration retrieval, ordering, parameters, and interval-based reapplication; done should include agreed behavior and corresponding validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.