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, Windows Server 2008 R2.
http://technet.microsoft.com/en-us/library/dd744582(v=ws.10).aspx
dism { 'NetFx3':
ensure => present,
all => true,
source => 'Z:\2012r2\sxs'
}
dism { 'IIS-WebServer':
ensure => present,
answer => 'C:\answer\iis.xml',
}