Re: [Puppet Users] puppet dism

2014-05-06 Thread Rob Reynolds
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

Re: [Puppet Users] puppet dism

2014-05-06 Thread Helen Paterson
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':

Re: [Puppet Users] puppet dism

2014-05-06 Thread Helen Paterson
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

Re: [Puppet Users] puppet dism

2014-05-02 Thread Rob Reynolds
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 >

[Puppet Users] puppet dism

2014-05-02 Thread Helen Paterson
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