GithubHelp home page GithubHelp logo

dscconfigurations's Introduction

DSC Configurations

Join the chat at https://gitter.im/PowerShell/DscResources

Windows PowerShell Desired State Configuration (DSC) provides a configuration platform that is based on open standards. This repo provides a structured listing of DSC Configurations and guidance for Open Source community contribution. For information about the scripts that perform work described by Configurations, see the GitHub repo for DSC Resources.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Sharing Configurations

Publishing a config to the Gallery should be done in one of these ways:

Configuration Script

If the Config is a script, create and require in the Script a separate module that contains the docs, help, examples, & tests. This ensures when the script is published or downloaded using PSGet cmdlets, the module will be brought along.

You must use the RequiredModule metadata to specify the linked module.

If there is a separate Config Data (PSD1) file, it belongs in the module. You must document how it is used.

You should include a line generating the MOF in the script.

You may include the Start-DscConfiguration command in the script. This means the script will be complete, but the deployment will start on script execution when it may or may not be appropriate in the user’s environment.

Composite Resource

If the Config is a Composite Resource, publish as a module that contains all the other items. You should consider publishing a script that uses the composite resource as in the preceeding option.

Sharing relies on completing important metadata

New-ModuleManifest and New-ScriptFileInfo will generate the placeholders for the metadata needed.

All items published to the Gallery must have the correct metadata filled in for:

  • Author
  • Description
  • Version
  • Company name
  • Copyright.

You should consider associating DSC resources with your configuration by using RequiredModule statements. This is a general best practice, as it allows users to make a single call to the gallery to geet all preqrequisites for running the script. However, there may be situations where it is incorrect.

If you are using the DSCConfiguration.Tests repo to automate hosting tests on Azure VM's, you should also populate the a new property in PSPrivateData named "WindowsOSVersion" and set the value to one of the strings supported by AzureRM.

Authoring guidelines

The DSC Resource repository includes guidance on authoring that is applicable to configurations as well. For more information, visit the links below:

Community Discussion

There is a monthly community call hosted on Skype where new submissions and technical topics are discussed. For more information visit the topic Community Agenda.

dscconfigurations's People

Contributors

mgreenegit avatar indhukrishna avatar nitinbps avatar stevel-msft avatar zjalexander avatar

Watchers

James Cloos avatar  avatar

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.