No description, website, or topics provided.
Ruby
Latest commit f5de980 Jul 28, 2017 @pmcmaw pmcmaw committed on GitHub Merge pull request #58 from puppetlabs/maint-modsync-915cde70e20
(maint) modulesync 915cde70e20
Permalink
Failed to load latest commit information.
lib/puppet (MODULES-2917) Fix DISM failing with single quotes in source param Jun 2, 2016
locales [msync] 786266 Implement puppet-module-gems, a45803 Remove metadata.j… Mar 29, 2017
spec [maint] modulesync e25ca9 - Add locales folder and config.yaml, f4160… Mar 27, 2017
.fixtures.yml (MODULES-3704) Update gemfile template to be identical Nov 9, 2016
.gitattributes [maint] modulesync e25ca9 - Add locales folder and config.yaml, f4160… Mar 27, 2017
.gitignore (MODULES-4098) Sync the rest of the files Jan 20, 2017
.project (maint) update module with modsync Jun 2, 2016
.rspec (FM-5972) Update to next modulesync_configs [dedaf10] Dec 19, 2016
.rubocop.yml (MODULES-4098) Sync the rest of the files Jan 20, 2017
.sync.yml (MODULES-4097) Sync travis.yml Jan 10, 2017
.travis.yml (MODULES-5187) mysnc puppet 5 and ruby 2.4 Jul 6, 2017
CHANGELOG.md (docs) Correct metadata for url, os and versions Sep 2, 2015
CONTRIBUTING.md (MODULES-4098) Sync the rest of the files Jan 20, 2017
Gemfile (maint) modulesync 915cde70e20 Jul 27, 2017
LICENSE (MODULES-4098) Sync the rest of the files Jan 20, 2017
MAINTAINERS.md (MODULES-4098) Sync the rest of the files Jan 20, 2017
NOTICE (maint) update module with modsync Jun 2, 2016
NOTICE.md (maint) Add full Apache-2.0 license text May 15, 2015
README.md (docs) Readme syntax update Sep 1, 2015
Rakefile (MODULES-4098) Sync the rest of the files Jan 20, 2017
appveyor.yml (MODULES-5187) mysnc puppet 5 and ruby 2.4 Jul 6, 2017
metadata.json [MODULES-4556] Remove PE requirement from metadata.json Mar 20, 2017

README.md

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