Hi Vladimir,

Here is the information you are after:

debug: Dism[AppServer](provider=dism): Executing 
'C:\Windows\sysnative\Dism.exe
/online /Enable-Feature /FeatureName:AppServer /NoRestart'
err: 
/Stage[main]/Roles::Trm::Remote_desktop_services/Dism[AppServer]/ensure: ch
ange from absent to present failed: Unexpected exitcode: 194
Error:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Enabling feature(s)
The operation completed successfully.


debug: Dism[AppServer-UI](provider=dism): Executing 
'C:\Windows\sysnative\Dism.e
xe /online /Enable-Feature /FeatureName:AppServer-UI /NoRestart'
err: 
/Stage[main]/Roles::Trm::Remote_desktop_services/Dism[AppServer-UI]/ensure:
 change from absent to present failed: Unexpected exitcode: 194
Error:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Enabling feature(s)
The operation completed successfully.


Then completes

Machine is Rebooted

Here is the logs after running puppet agent again


debug: Puppet::Type::Dism::ProviderDism: file 
C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist
debug: Puppet::Type::Dism::ProviderDism: file 
C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist
debug: Puppet::Type::Dism::ProviderDism: file 
C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist
debug: Puppet::Type::Dism::ProviderDism: file 
C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist
debug: Puppet::Type::Dism::ProviderDism: file 
C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist
notice: 
/Stage[main]/Roles::Base::Activate_windows_2008/Exec[apply_activate_windows_2008]:
 
Dependency Dism[NetFx3] has failures: true
warning: 
/Stage[main]/Roles::Base::Activate_windows_2008/Exec[apply_activate_windows_2008]:
 
Skipping because of failed dependencies
debug: Puppet::Type::Dism::ProviderDism: file 
C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist
err: Could not find a suitable provider for dism
debug: Finishing transaction 141366492

I hope this is what you are after

regards

James







On Wednesday, 13 March 2013 12:37:25 UTC, Vladimir Rutsky wrote:
>
> Can you provide complete log of running "puppet agent --test --debug" on 
> machine where you try to install Remote Desktop Services using Puppet?
>
>
>
> On Wed, Mar 13, 2013 at 4:12 PM, jim <str...@gmail.com <javascript:>>wrote:
>
>> The error is only happening when trying to install Remote Desktop 
>> Services (old Terminal Server), it works fine with other roles/features 
>> like IIS etc
>>
>> I updated DISM from github by overwritting both lib / spec directorys
>>
>>
>> On Wednesday, 13 March 2013 12:08:17 UTC, Vladimir Rutsky wrote:
>>>
>>> Hello,
>>>
>>> How you installed dism module?
>>>
>>> I "intalled" dism by copying dism git repository contents into 
>>> /etc/puppet/modules/dism/ and don't observe error that you have.
>>>
>>> --
>>> Vladimir Rutsky
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to puppet-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to puppet...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to