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) Docker::Container#run when the Container's command does not return status code of 0 raises an error | |
Failure/Error: expect { run_command } | |
expected Docker::Error::UnexpectedResponseError but nothing was raised | |
# ./spec/docker/container_spec.rb:395:in `block (4 levels) in <top (required)>' | |
2) Docker::Image#push when there are no credentials still pushes | |
Failure/Error: expect { image.push }.to_not raise_error | |
expected no Exception, got #<Docker::Error::ServerError: Invalid registry endpoint https://localhost:5000/v1/: Get https://localhost:5000/v1/_ping: dial tcp 127.0.0.1:5000: connection refused. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry localhost:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/localhost:5000/ca.crt |
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) Docker::Container#top returns the top commands as an Array | |
Failure/Error: expect(top.first.keys).to eq %w(UID PID PPID C STIME TTY TIME CMD) | |
expected: ["UID", "PID", "PPID", "C", "STIME", "TTY", "TIME", "CMD"] | |
got: ["PID", "USER", "COMMAND"] | |
(compared using ==) | |
# ./spec/docker/container_spec.rb:117:in `block (3 levels) in <top (required)>' |
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
### Keybase proof | |
I hereby claim: | |
* I am tduffield on github. | |
* I am tomduffield (https://keybase.io/tomduffield) on keybase. | |
* I have a public key whose fingerprint is EA7A 48A2 726E 6C89 B3CB BC4D 654E F8FD 4A6B 8C3F | |
To claim this, I am signing this object: |
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
# | |
# Copyright:: Copyright (c) 2014 Chef Software Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
vagrant@chef-container-ubuntu-1204:~/omnibus-chef$ bundle exec omnibus build chef-container --override append_timestamp:true | |
[Omnibus] W | DEPRECATED: Omnibus.root. Please use Omnibus.project_root instead. | |
[Omnibus] W | DEPRECATED: Omnibus.root. Please use Omnibus.project_root instead. | |
W | The `replaces` project DSL statement should never equal the `package_name` or | |
`name` of a project. The `replaces` option should only be used when you have | |
published an artifact under one name and then later renamed the packages that | |
you are publishing and you must obsolete the old package name. For example this | |
is used, correctly, in chef-client builds: | |
name 'chef' |
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
vagrant@chef-container-ubuntu-1204:~/omnibus-chef$ bundle exec omnibus build chef-container | |
[Omnibus] W | DEPRECATED: Omnibus.root. Please use Omnibus.project_root instead. | |
[Omnibus] W | DEPRECATED: Omnibus.root. Please use Omnibus.project_root instead. | |
W | The `replaces` project DSL statement should never equal the `package_name` or | |
`name` of a project. The `replaces` option should only be used when you have | |
published an artifact under one name and then later renamed the packages that | |
you are publishing and you must obsolete the old package name. For example this | |
is used, correctly, in chef-client builds: | |
name 'chef' |
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
file_to_disk = './tmp/large_disk.vdi' | |
Vagrant::Config.run do |config| | |
unless File.exist?(file_to_disk) | |
config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024] | |
end | |
config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk] | |
# Your other Vagrantfile contents here. |
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
ixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid ---- | |
STDOUT: {error_logger,{{2013,12,11},{23,3,31}},"Too short cookie string",[]} | |
{error_logger,{{2013,12,11},{23,3,31}},crash_report,[[{initial_call,{auth,init,['Argument__1']}},{pid,<0.19.0>},{registered_name,[]},{error_info,{exit,{"Too short cookie string",[{auth,init_cookie,0,[{file,"auth.erl"},{line,285}]},{auth,init,1,[{file,"auth.erl"},{line,139}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.17.0>]},{dictionary,[]},{trap_exit,true},{status,runn |
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
# | |
# Cookbook Name:: motd | |
# Recipe:: default | |
# | |
# Copyright 2013, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
if platform?('windows') |
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
# This file is managed by Chef | |
# All changes made locally could and will be overwritten by the client | |
# You are warned | |
ServerRoot "c:/Apache2.2" | |
LoadModule actions_module modules/mod_actions.so | |
LoadModule alias_module modules/mod_alias.so | |
LoadModule asis_module modules/mod_asis.so | |
LoadModule auth_basic_module modules/mod_auth_basic.so | |
LoadModule authn_default_module modules/mod_authn_default.so |