GithubHelp home page GithubHelp logo

Installing resources about dsc HOT 1 OPEN

mgreenegit avatar mgreenegit commented on June 20, 2024
Installing resources

from dsc.

Comments (1)

michaeltlombardi avatar michaeltlombardi commented on June 20, 2024 1

Related issues include:

There are two related problems that this issue is discussing, both highlighted in the linked issues:

  1. How do I discover DSC Resources that aren't already on my machine?
  2. How do I install those resources other than finding and downloading/installing them manually or with separate software depending on my platform, how the software is packaged, etc?

#92 addresses the discoverability problem by proposing a registry of DSC Resources, similar to the PowerShell Gallery.

#47 is specifically discussing a functional-within-DSC mechanism for the installation problem.

This situation is more complicated for DSCv3 than in PSDSC - in PSDSC, you could always just rely on a PowerShell repository for both discovery and install, because there was only one package type independent of platform. For DSCv3, a resource might be available through one or more package management tools and only some subset of available operating systems.

It seems unlikely that we'll write a meta resource that itself handles installing apt, yum, winget, MSI, standalone binary, and OSX packages. More likely, we'll have to do something like I proposed in #92, where resource manifests advertise how to install their associated CLI software (and any resource without the install property can only be manually installed):

{
    "$schema": "https://aka.ms/dsc/schemas/resource_manifest",
    "manifestVersion": "1.0",
    "type": "TSToy/gotstoy",
    "version": "0.1.0",
    "install": {
        "type": "DSC/Intall.GitHubRelease",
        "properties": {
            "repo":  "TSToy/gotstoy"
            "version": "0.1.0"
        }
    },
}

from dsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.