[chef] Installing MSI's with Chef


Chronological Thread 
  • From: Kenneth Barry < >
  • To: " " < >
  • Subject: [chef] Installing MSI's with Chef
  • Date: Mon, 30 Jun 2014 11:47:24 -0700

I'm unsure if I am using it correctly. 

When the install is done manually, it take a very very very long time.

Here is my recipe section:

...
windows_package 'ActivePerl 5.16.3 Build 1604' do
  source "c:\\temp\\ActivePerl-5.16.3.1604-MSWin32-x64-298023.msi"
  options '/q /lvx* c:\temp\activeperl.log'
  installer_type :custom
  action :install
end
...

Here is the output from chef-client

[2014-06-30T13:22:30-05:00] INFO: Processing windows_package[ActivePerl 5.16.3 Build 1604] action i
nstall (nonwebserver::taskanalytics line 150)
[2014-06-30T13:22:30-05:00] INFO: Installing windows_package[ActivePerl 5.16.3 Build 1604] version
latest
[2014-06-30T13:22:30-05:00] INFO: Starting installation...this could take awhile.

I think it might be hanging.  (get-process on the box thats being cheffed doesnt show msiexec, as i am expecting)

I wanna start at the beginning, and just make sure that I am even using the resource properly. How do I know if I am using the windows_package from the cookbook over the one thats baked in to the core?




Archive powered by MHonArc 2.6.16.

§