GithubHelp home page GithubHelp logo

puppetlabs-dism's Introduction

dism

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with dism
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

##Overview The dism module enables and disables Windows Features using the DISM utility provided by Microsoft

##Module Description

This module provides a dism puppet resource type on Windows. Windows Deployment Image Servicing and Management (DISM.exe) is used to enable or disable Windows features on Windows 7 SP1, Windows 8, Windows Server 2008 R2, Windows Server 2012, Windows 2012 R2

Enable or Disable Windows Features What is DISM?

##Setup

###What dism affects dism will modify the existing features on the system, whether enabling or disabling. In some instances the server will be restarted unless explicity setting the parameter norestart to true

###Setup Requirements The module requires that dism be installed on your system, in most cases this will be there by default. In some cases, such as Windows 7 it requires SP1 or to be manually installed.

##Usage ###To enable DotNet3 and all child settings

dism { 'NetFx3':
  ensure => present,
  all    => true,
  source => 'Z:\2012r2\sxs'
}

###To install IIS and provide an answer file for all setup steps

dism { 'IIS-WebServer':
  ensure => present,
  answer => 'C:\answer\iis.xml',
}

###To disable Internet Explorer and prevent restart

dism { 'Internet-Explorer-Optional-amd64':
  ensure    => absent,
  norestart => true,
}

##Reference

###Types

dism

  • ensure: Ensures that the feature is enabled or disabled. Valid values are 'present' or 'absent'.
  • name: The name of the feature you would like to modify. This defaults to the title being passed
  • all: Whether to install all child features. Defaults to false
  • answer: The answer file that you would like to pass to dism.exe to provide any answers.
  • norestart: Whether to explicitly tell the provider to NOT restart. Defaults to false.
  • exitcodes: Acceptable exit codes. Defaults to [0, 3010]
  • source: Filepath to the source files needed for installing the feature.
  • limitaccess: Prevent DISM from contacting WU for repair of online images. Defaults to false

puppetlabs-dism's People

Contributors

blkperl avatar branan avatar cyberious avatar ferventcoder avatar hatvik avatar hunner avatar jimmybergman avatar joshcooper avatar nanliu avatar rutsky avatar

Watchers

 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.