dougm / site-cookbooks Goto Github PK
View Code? Open in Web Editor NEWCookbooks for Chef
Home Page: http://cookbooks.opscode.com/users/dougm
Cookbooks for Chef
Home Page: http://cookbooks.opscode.com/users/dougm
Chef cookbooks here are not actually site-specific, but are still a work-in-progress. Stable versions will be uploaded to http://cookbooks.opscode.com/users/dougm
Hi Doug,
Is there any way that efforts could be consolidated between your cookbook and the jenkins cookbook that others are working on?
https://github.com/fnichol/chef-jenkins
Haven't had time to dive into your cookbook, so not particularly sure who's "further along"!
Cheers :)
(And thanks for your initial work!)
Chef 11.8.0
Stacktrace:
Generated at 2013-11-25 15:17:08 +0000
WIN32OLERuntimeError: (in OLE method AcceptEula': ) OLE error code:80070005 in <Unknown> <No Description> HRESULT error code:0x80020009 Exception occurred. c:/chef/cache/cookbooks/test/recipes/updates.rb:37:in
method_missing'
c:/chef/cache/cookbooks/test/recipes/updates.rb:37:in block in from_file' c:/chef/cache/cookbooks/test/recipes/updates.rb:28:in
each'
c:/chef/cache/cookbooks/test/recipes/updates.rb:28:in from_file' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/mixin/from_file.rb:30:in
instance_eval'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/mixin/from_file.rb:30:in from_file' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/cookbook_version.rb:237:in
load_recipe'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/run_context.rb:151:in load_recipe' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/run_context/cookbook_compiler.rb:139:in
block in compile_recipes'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/run_context/cookbook_compiler.rb:137:in each' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/run_context/cookbook_compiler.rb:137:in
compile_recipes'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/run_context/cookbook_compiler.rb:74:in compile' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/run_context.rb:86:in
load'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/client.rb:250:in setup_run_context' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/client.rb:498:in
do_run'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/client.rb:213:in run' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/application.rb:208:in
run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/application/client.rb:312:in block in run_application' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/application/client.rb:304:in
loop'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/application/client.rb:304:in run_application' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/lib/chef/application.rb:66:in
run'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0-x86-mingw32/bin/chef-client:26:in <top (required)>' C:/opscode/chef/bin/chef-client:23:in
load'
C:/opscode/chef/bin/chef-client:23:in `
Hi,
Thank you for creating the Windows cookbooks. I'm trying to set one up and found this exception:
FATAL: NoMethodError: undefined method `windows_unzip' for #Chef::Recipe:0x6eab550
This occurs when I run chef-client. Where is that method defined?
Thanks,
Alex
http://hudson-ci.org/debian/hudson-ci.org.key is now 404ing, causing this recipe to break on ubuntu / debian
Hi Dougm,
I've just run into some errors when execute script spork.rb as following.
C:> ruby spork.rb -m x.x.x.x setup
spork.rb:158: syntax error, unexpected ',', expecting tASSOC
FileUtils.cp_r(file, path, {:verbose, true})
^
spork.rb:160: syntax error, unexpected ',', expecting tASSOC
...ile.basename(file)), {:verbose, true})
... ^
spork.rb:199: dynamic constant assignment
CSCRIPT = ['cmd.exe', '/c', 'cscript', '/nologo']
^
spork.rb:215: syntax error, unexpected ',', expecting tASSOC
{'-c', 'solo.rb', '-j', 'node.rb'}.each do |opt,val|
^
spork.rb:215: syntax error, unexpected ',', expecting keyword_end
{'-c', 'solo.rb', '-j', 'node.rb'}.each do |opt,val|
^
spork.rb:215: syntax error, unexpected ',', expecting keyword_end
{'-c', 'solo.rb', '-j', 'node.rb'}.each do |opt,val|
^
spork.rb:215: syntax error, unexpected '}', expecting keyword_end
{'-c', 'solo.rb', '-j', 'node.rb'}.each do |opt,val|
^
spork.rb:247: syntax error, unexpected $end, expecting keyword_end
Please refer to https://gist.github.com/880721/6de0c77a5342be0faec53ce69a16d5ce932883d8 for a minor fix.
Thanks,
Ryan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.