Skip to content

dell-asm/puppetlabs-dism

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISM Puppet Module

Thie 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, Windows Server 2008 R2, and Windows Server 2012.

http://technet.microsoft.com/en-us/library/dd744582(v=ws.10).aspx

Usage:

dism { 'NetFx3':
  ensure => present,
}

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

# Use the source attribute to point to a specific image
dism { 'NetFx3':
  ensure => present,
  all_dependencies => 1,
  source => "D:\\sources\\sxs",
}