[chef] Re: Re: Need to Install .Net framework4


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Re: Re: Need to Install .Net framework4
  • Date: Sat, 18 Jan 2014 03:50:58 -0800 (PST)


i tried like this in chefcookbook...


windows_batch "Install dotnet Service" do
code <<-EOH
C:/chef/cache/wic_x64_enu.exe /q /norestart
C:/chef/cache/dotNetFx40_Full_x86_x64.exe /q /norestart
EOH
 end


2014-01-18T03:12:05-08:00] FATAL: Mixlib::ShellOut::ShellCommandFailed:
windows_batch[Install dotnet Service] (appserver-setup::default line 154) had
an error: Mixlib::ShellOut::ShellCommandFailed: execute[Install dotnet 
Service]
(dynamically defined) had an error: Mixlib::ShellOut::ShellCommandFailed:
Expected process to exit with [0], but received '5'
---- Begin output of call
"C:/Users/ADMINI~1/AppData/Local/Temp/chef-script20140118-2112-1gb38h3.bat" 
----
STDOUT: C:\>C:/chef/cache/dotNetFx40_Full_x86_x64.exe /q /norestart
__
__
__

STDERR: 
---- End output of call
"C:/Users/ADMINI~1/AppData/Local/Temp/chef-script20140118-2112-1gb38h3.bat" 
----
Ran call
"C:/Users/ADMINI~1/AppData/Local/Temp/chef-script20140118-2112-1gb38h3.bat" 
returned 5



what i have to do for this....



Archive powered by MHonArc 2.6.16.

§