DSC as Services / Daemon process - pull config form Server

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

Issue-Enhancement
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

Dominant language
Rust
Stars
546
Forks
84
Avg merge
2d 9h
Merged PRs (30d)
25

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from PowerShell/DSC

All issues in PowerShell/DSC

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.