On Tue, May 6, 2014 at 9:27 AM, Helen Paterson wrote:
> I didn't get the answer file working but this works instead
>
> class windowsfeaturedesktop::iis {
> dism { 'IIS-WebServerRole':
> ensure => present,
>}
> dism { 'IIS-WebServer':
> ensure => present,
> require => D
I didn't get the answer file working but this works instead
class windowsfeaturedesktop::iis {
dism { 'IIS-WebServerRole':
ensure => present,
}
dism { 'IIS-WebServer':
ensure => present,
require => Dism['IIS-WebServerRole'],
}
dism { 'IIS-CommonHttpFeatures':
It seems that you should be using the switch /Featurename OR
/Apply-Unattend NOT both, yet the puppet example is
dism { 'IIS-WebServer':
ensure => present,
answer => 'C:\answer\iis.xml',
}
https://forge.puppetlabs.com/puppetlabs/dism
I can see how to use this puppet module with the answ
Can you verify /Apply-Unattend is a proper switch for that particular
feature? The error you are getting indicates it should not be used.
On Fri, May 2, 2014 at 10:26 AM, Helen Paterson wrote:
> Hi,
>
> I'm getting the below error, when using an answer file with the forge
> puppet dism module
>
Hi,
I'm getting the below error, when using an answer file with the forge
puppet dism module
Error: Execution of 'C:\Windows\sysnative\Dism.exe /online /Enable-Feature
/Fea
ureName:IIS-WebServerRole /Apply-Unattend:c:\answer\iis_net.xml /NoRestart'
ret
rned 87:
Deployment Image Servicing an