This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remote_directory "/usr/lib/nagios/plugins" do | |
source "plugins" | |
owner "nagios" | |
group "nagios" | |
mode 0755 | |
files_mode 0755 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
not_found_cookbooks(AllVersions, Cookbooks) -> | |
case lists:filter(fun(CB) -> cookbook_exists(CB, AllVersions) end, Cookbooks) of | |
[] -> ok; | |
NotFound -> {not_found, [ cookbook_name(NFCookbook) || NFCookbook <- NotFound] } | |
end. | |
Can become : | |
not_found_cookbooks(AllVersions, Cookbooks) -> | |
NotFound = [ cookbook_name(Cookbook) || Cookbook <- Cookbooks, cookbook_exists(Cookbook, AllVersions)], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/srv/piab/mounts/chef-pedant-core/lib/pedant/requestor.rb:23:in `read': can't convert nil into String (TypeError) | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/requestor.rb:23:in `initialize' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/requestor.rb:51:in `initialize' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/opensource/platform.rb:66:in `new' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/opensource/platform.rb:66:in `create_client' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/opensource/platform.rb:77:in `client_from_config' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/opensource/platform.rb:27:in `block in setup' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/opensource/platform.rb:19:in `each' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant/opensource/platform.rb:19:in `setup' | |
from /srv/piab/mounts/chef-pedant-core/lib/pedant.rb:86:in `block (2 levels) in configure_rspec' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=SUPERVISOR REPORT==== 28-Aug-2012::21:50:32 === | |
Supervisor: {local,stats_hero_worker_sup} | |
Context: child_terminated | |
Reason: {function_clause, | |
[{stats_hero,as_bin, | |
['open-source-chef'], | |
[{file,"src/stats_hero.erl"},{line,582}]}, | |
{stats_hero,init,1, | |
[{file,"src/stats_hero.erl"},{line,269}]}, | |
{gen_server,init_it,6, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Cookbooks API endpoint PUT /cookbooks/<name>/<version> [update] for checksums adding all new checksums should succeed | |
Failure/Error: Unable to find matching line from backtrace | |
'files' should match '[{"name"=>"name1", "path"=>"path/name1", "checksum"=>"f33abe1e61a77e1dd298d3201b8748e1", "specificity"=>"default", "url"=>"https://open-source-chef.opscode.piab/cookbooks/cookbook-to-be-modified/11.2.3/files/f33abe1e61a77e1dd298d3201b8748e1"}, {"name"=>"name2", "path"=>"path/name2", "checksum"=>"07a57179ba512d3b97e4544e59abc45b", "specificity"=>"default", "url"=>"https://open-source-chef.opscode.piab/cookbooks/cookbook-to-be-modified/11.2.3/files/07a57179ba512d3b97e4544e59abc45b"}, {"name"=>"name3", "path"=>"path/name3", "checksum"=>"c54d9a1740973cf2fba2f6ee68e93f5d", "specificity"=>"default", "url"=>"https://open-source-chef.opscode.piab/cookbooks/cookbook-to-be-modified/11.2.3/files/c54d9a1740973cf2fba2f6ee68e93f5d"}, {"name"=>"name4", "path"=>"path/name4", "checksum"=>"5a6dc49ff61dad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@open-source-chef:/tmp/apt-1.4.3# hexdump -C providers/preference.rb |head | |
00000000 36 37 39 0d 0a 23 0a 23 20 43 6f 6f 6b 62 6f 6f |679..#.# Cookboo| | |
00000010 6b 20 4e 61 6d 65 3a 3a 20 61 70 74 0a 23 20 50 |k Name:: apt.# P| | |
00000020 72 6f 76 69 64 65 72 3a 3a 20 70 72 65 66 65 72 |rovider:: prefer| | |
00000030 65 6e 63 65 0a 23 0a 23 20 43 6f 70 79 72 69 67 |ence.#.# Copyrig| | |
00000040 68 74 20 32 30 31 30 2d 32 30 31 31 2c 20 4f 70 |ht 2010-2011, Op| | |
00000050 73 63 6f 64 65 2c 20 49 6e 63 2e 0a 23 0a 23 20 |scode, Inc..#.# | | |
00000060 4c 69 63 65 6e 73 65 64 20 75 6e 64 65 72 20 74 |Licensed under t| | |
00000070 68 65 20 41 70 61 63 68 65 20 4c 69 63 65 6e 73 |he Apache Licens| | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Environments API Endpoint POST /environments with no additional environments when handling the payload with authentication headers when X-Ops-Request-Source is web impersonating successful user succeeds | |
Failure/Error: let(:user) { Pedant::Requestor.new(success_user.name, '/etc/chef-server/webui_priv.pem') } | |
Errno::ENOENT: | |
No such file or directory - /etc/chef-server/webui_priv.pem | |
# /srv/piab/mounts/chef-pedant-core/lib/pedant/requestor.rb:30:in `read' | |
# /srv/piab/mounts/chef-pedant-core/lib/pedant/requestor.rb:30:in `initialize' | |
# /srv/piab/mounts/chef-pedant-core/lib/pedant/rspec/auth_headers_util.rb:276:in `new' | |
# /srv/piab/mounts/chef-pedant-core/lib/pedant/rspec/auth_headers_util.rb:276:in `block (4 levels) in <module:AuthHeadersUtil>' | |
# /srv/piab/mounts/chef-pedant-core/lib/pedant/rspec/auth_headers_util.rb:109:in `block (2 levels) in <module:AuthHeadersUtil>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2012-10-25T18:48:04+00:00] INFO: Running report handlers | |
[2012-10-25T18:48:04+00:00] INFO: Resource Elapsed Time(0.08s per unit) | |
[2012-10-25T18:48:04+00:00] INFO: ======== ============ | |
[2012-10-25T18:48:04+00:00] INFO: remote_directory[/srv/chef/handlers] | |
[2012-10-25T18:48:04+00:00] INFO: cookbook_file[/srv/chef/handlers/chef_profiler.rb] ++++++++++++++++++++++++++++++ | |
[2012-10-25T18:48:04+00:00] INFO: chef_handler[Chef::Handler::Profiler] + | |
[2012-10-25T18:48:04+00:00] INFO: package[ntp] ------ | |
[2012-10-25T18:48:04+00:00] INFO: package[ntpdate] ------ | |
[2012-10-25T18:48:04+00:00] INFO: directory[/var/lib/ntp] | |
[2012-10-25T18:48:04+00:00] INFO: directory[/var/log/ntpstats/] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) end-to-end-test with three clients when running a job the job and node statuses are marked complete | |
Failure/Error: echo_job_should_complete_on_all_clients | |
RuntimeError: | |
Job never reached status 'complete': actual job reported as {"command"=>"sh /opt/opscode-push-jobs-server/embedded/service/gem/ruby/1.9.1/bundler/gems/oc-pushy-pedant-tests-f3d71a654232/spec/support/echo_yahoo_to_tmp_pushytest", "status"=>"running", "run_timeout"=>3600, "nodes"=>{"complete"=>["FARQUAD", "FIONA"], "ready"=>["DONKEY"]}} | |
# ./oc-pushy-pedant:16:in `<main>' | |
Finished in 1 minute 10.25 seconds | |
22 examples, 1 failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2012-10-31T22:59:42+00:00] INFO: [DONKEY] Worker: Listening for server heartbeat at tcp://private-chef.opscode.piab:10000 | |
[2012-10-31T22:59:42+00:00] INFO: [DONKEY] Worker: Connecting to command channel at tcp://private-chef.opscode.piab:10002 | |
[2012-10-31T22:59:42+00:00] INFO: [DONKEY] Sending heartbeat | |
[2012-10-31T22:59:42+00:00] INFO: [FIONA] Worker: Listening for server heartbeat at tcp://private-chef.opscode.piab:10000 | |
[2012-10-31T22:59:42+00:00] INFO: [FIONA] Worker: Connecting to command channel at tcp://private-chef.opscode.piab:10002 | |
[2012-10-31T22:59:42+00:00] INFO: [FIONA] Sending heartbeat | |
[2012-10-31T22:59:42+00:00] DEBUG: decompressing gzip response | |
[2012-10-31T22:59:42+00:00] DEBUG: [FIONA] Worker: Setting heartbeat at every 1.0 seconds | |
[2012-10-31T22:59:42+00:00] INFO: [FIONA] Reaper: will reap in 3600 seconds | |
[2012-10-31T22:59:42+00:00] DEBUG: [DONKEY] Worker: Setting heartbeat at every 1.0 seconds |
OlderNewer