I have installed windows feature and used in my own class to configure IIS. So here is the error im getting in Windows agent box.
'ps' is not recognized as an internal or external command,
operable program or batch file.
Using Facter::Util::Resolution.exec with a shell built-in is deprecated. Most built-ins can be replaced with native ruby commands. If you really have to run a built-in, pass "cmd /c your_builtin" as a command (command responsible for this message was "ps -ef | awk '{ gsub("/", " ") ; print $14 }' | awk '/-D/{print $1}'| awk '{ gsub("-D", " ") ; print $0 }'")
'ps' is not recognized as an internal or external command,.
rror: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppe
::Parser::AST::Resource failed with error ArgumentError: Invalid resource type
indowsfeature at /etc/puppetlabs/puppet/modules/taas_config/manifests/init.pp:5
on node
warning: Not using cache on failed catalog
I have installed windows feature and used in my own class to configure IIS. So here is the error im getting in Windows agent box.
'ps' is not recognized as an internal or external command, operable program or batch file. Using Facter::Util::Resolution.exec with a shell built-in is deprecated. Most built-ins can be replaced with native ruby commands. If you really have to run a built-in, pass "cmd /c your_builtin" as a command (command responsible for this message was "ps -ef | awk '{ gsub("/", " ") ; print $14 }' | awk '/-D/{print $1}'| awk '{ gsub("-D", " ") ; print $0 }'") 'ps' is not recognized as an internal or external command,.
rror: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppe ::Parser::AST::Resource failed with error ArgumentError: Invalid resource type indowsfeature at /etc/puppetlabs/puppet/modules/taas_config/manifests/init.pp:5 on node warning: Not using cache on failed catalog
Here is the class I have written
class taas_config {
windowsfeature {'IIS': feature_name => [ 'Web_Server', 'Web-WebServer', 'Web-Asp-Net45', 'Web-ISAPI-Ext', 'Web-ISAPI-Filter', 'NET-Framework-45-ASPNET', 'WAS-NET-Environment', 'Web-Http-Redirect', 'Web-Filtering', 'Web-Mgmt-Console', 'Web-Mgmt-Tools' ] } }