Hy,
Is it possible to display puppet reports and inventories in Nagios console ?
Thanks for any information.
Cordialement,
Bernard Granier
CE Plateforme Système
01 58 11 32 51
#
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#
--
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.
To post to this group, send email to puppet...@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.
I believe you need to use the copy on github as there was an issue with using 32/64 dism iirc
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: change from absent to present failed: Unexpected exitcode: 194Error:Deployment Image Servicing and Management toolVersion: 6.1.7600.16385Image Version: 6.1.7600.16385Enabling feature(s)The operation completed successfully.debug: Dism[AppServer-UI](provider=dism): Executing 'C:\Windows\sysnative\Dism.exe /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: 194Error:Deployment Image Servicing and Management toolVersion: 6.1.7600.16385Image Version: 6.1.7600.16385Enabling feature(s)The operation completed successfully.Then completes
Machine is RebootedHere is the logs after running puppet agent againdebug: Puppet::Type::Dism::ProviderDism: file C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not existdebug: Puppet::Type::Dism::ProviderDism: file C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not existdebug: Puppet::Type::Dism::ProviderDism: file C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not existdebug: Puppet::Type::Dism::ProviderDism: file C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not existdebug: Puppet::Type::Dism::ProviderDism: file C:\Users\Administrator\WINDOWS\sysnative\Dism.exe does not exist
Hi Vladimir,I've also tried this approachexec {'dism':command => 'c:\windows\sysnative\dism.exe /online /enable-feature /featurename:RDS-RD-Server',logoutput=> true,}
Here is the errors i'm getting:Exec[dism]/returns: Deployment Image Servicing and Management toolExec[dism]/returns: Version: 6.1.7600.16385Exec[dism]/returns: Image Version: 6.1.7600.16385Exec[dism]/returns: Error: 0x800f080cExec[dism]/returns: Feature name RDS-RD-Server is unknown.Exec[dism]/returns: A Windows feature name was not recognized.Exec[dism]/returns: Use the /Get-Features option to find the name of the feature in the image and try the command again.Exec[dism]/returns: The DISM log file can be found at C:\Windows\Logs\DISM\dism.logerr: /Stage[main]/Exec[dism]/returns: change from notrun to 0 failed: c:\windows\sysnative\dism.exe /online /enable-feature/featurename:RDS-RD-Server returned 12 instead of one of [0] at /etc/puppetlabs/puppet/modules/roles/manifests/trm/remote_desktop_services.pp:12