I have recently install an opne source chef server at my work.Everything
looks fine with the installation and the coockbooks but on my tests something
is going wrong.I've tried to install mozilla firefox just for testing and i'm
receiving the following error on my windows server during the installation:
"[2013-06-16T11:59:42+03:00] INFO: Running queued delayed notifications
before re
-raising exception
[2013-06-16T11:59:42+03:00] ERROR: Running exception handlers
[2013-06-16T11:59:42+03:00] FATAL: Saving node information to
c:/chef/cache/fail
ed-run-data.json
[2013-06-16T11:59:42+03:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated←[0m
[2013-06-16T11:59:42+03:00] FATAL: Stacktrace dumped to
c:/chef/cache/chef-stack
trace.out
[2013-06-16T11:59:42+03:00] FATAL: NoMethodError:
package[update-notifier-common
] (apt::default line 48) had an error: NoMethodError: undefined method
`version'
for nil:NilClass"
I'm trying to install Mozilla on a Windows Server 2003 R2
My Chef Server is on Ubuntu Server 10.4
On my Chef Server i'm receiving no errors
It looks like you're using the apt provider for the package resource. This
definitely won't work Windows. To install firefox, assuming it is
packaged for Windows via Windows installer, you need to either use
Windows_package from the windows cookbook which also requires that you
have download the firefox msi package (as part of recipe action, or you
could embed it in the recipe, or point to it a local lan location).
A better alternative IMO is to use one of the non-MSFT package managers
that operates like apt, e.g. chocolatey. There is a chocolatey cookbook at
the community site -- I've used it and it was trivial to configure popular
software -- I would be very surprised if firefox didn't work perfectly
with it.
I have recently install an opne source chef server at my work.Everything
looks fine with the installation and the coockbooks but on my tests
something
is going wrong.I've tried to install mozilla firefox just for testing and
i'm
receiving the following error on my windows server during the
installation:
"[2013-06-16T11:59:42+03:00] INFO: Running queued delayed notifications
before re
-raising exception
[2013-06-16T11:59:42+03:00] ERROR: Running exception handlers
[2013-06-16T11:59:42+03:00] FATAL: Saving node information to
c:/chef/cache/fail
ed-run-data.json
[2013-06-16T11:59:42+03:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated←[0m
[2013-06-16T11:59:42+03:00] FATAL: Stacktrace dumped to
c:/chef/cache/chef-stack
trace.out
[2013-06-16T11:59:42+03:00] FATAL: NoMethodError:
package[update-notifier-common
] (apt::default line 48) had an error: NoMethodError: undefined method
`version'
for nil:NilClass"
I'm trying to install Mozilla on a Windows Server 2003 R2
My Chef Server is on Ubuntu Server 10.4
On my Chef Server i'm receiving no errors