Created
December 18, 2014 14:55
-
-
Save walderrama/6fab7e142b311b7446d9 to your computer and use it in GitHub Desktop.
first bootstrap with previous client
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
walderrama-mbp:chef-repo victor$ knife bootstrap --run-list "role[phpapp]" --json-attributes "{\"phpapp\": {\"server_name\": \"intro.hellofutu.re\"}}" --bootstrap-version 11.8 192.168.40.180 -x victor --sudo | |
Connecting to 192.168.40.180 | |
Failed to authenticate victor - trying password auth | |
Enter your password: | |
192.168.40.180 knife sudo password: | |
192.168.40.180 | |
192.168.40.180 Starting first Chef Client run... | |
192.168.40.180 Starting Chef Client, version 11.8.2 | |
192.168.40.180 Creating a new client identity for sandbox3 using the validator key. | |
192.168.40.180 resolving cookbooks for run list: ["apt", "phpapp"] | |
192.168.40.180 Synchronizing Cookbooks: | |
192.168.40.180 - apt | |
192.168.40.180 - phpapp | |
192.168.40.180 - apache2 | |
192.168.40.180 - iptables | |
192.168.40.180 - logrotate | |
192.168.40.180 - pacman | |
192.168.40.180 - mysql | |
192.168.40.180 - php | |
192.168.40.180 - build-essential | |
192.168.40.180 - xml | |
192.168.40.180 - yum-epel | |
192.168.40.180 - yum | |
192.168.40.180 - windows | |
192.168.40.180 - chef_handler | |
192.168.40.180 - iis | |
192.168.40.180 - database | |
192.168.40.180 - postgresql | |
192.168.40.180 - openssl | |
192.168.40.180 - aws | |
192.168.40.180 - xfs | |
192.168.40.180 Compiling Cookbooks... | |
192.168.40.180 | |
192.168.40.180 ================================================================================ | |
192.168.40.180 Recipe Compile Error in /var/chef/cache/cookbooks/mysql/attributes/client.rb | |
192.168.40.180 ================================================================================ | |
192.168.40.180 | |
192.168.40.180 | |
192.168.40.180 NoMethodError | |
192.168.40.180 ------------- | |
192.168.40.180 Undefined method or attribute `debian_before_squeeze?' on `node' | |
192.168.40.180 | |
192.168.40.180 | |
192.168.40.180 Cookbook Trace: | |
192.168.40.180 --------------- | |
192.168.40.180 /var/chef/cache/cookbooks/mysql/attributes/client.rb:30:in `from_file' | |
192.168.40.180 | |
192.168.40.180 | |
192.168.40.180 Relevant File Content: | |
192.168.40.180 ---------------------- | |
192.168.40.180 /var/chef/cache/cookbooks/mysql/attributes/client.rb: | |
192.168.40.180 | |
192.168.40.180 23: | |
192.168.40.180 24: case node['platform_family'] | |
192.168.40.180 25: when 'rhel', 'fedora' | |
192.168.40.180 26: default['mysql']['client']['packages'] = %w[mysql mysql-devel] | |
192.168.40.180 27: when 'suse' | |
192.168.40.180 28: default['mysql']['client']['packages'] = %w[mysql-community-server-client libmysqlclient-devel] | |
192.168.40.180 29: when 'debian' | |
192.168.40.180 30>> if debian_before_squeeze? || ubuntu_before_lucid? | |
192.168.40.180 31: default['mysql']['client']['packages'] = %w[mysql-client libmysqlclient15-dev] | |
192.168.40.180 32: else | |
192.168.40.180 33: default['mysql']['client']['packages'] = %w[mysql-client libmysqlclient-dev] | |
192.168.40.180 34: end | |
192.168.40.180 35: when 'freebsd' | |
192.168.40.180 36: default['mysql']['client']['packages'] = %w[mysql55-client] | |
192.168.40.180 37: when 'windows' | |
192.168.40.180 38: default['mysql']['client']['version'] = '6.0.2' | |
192.168.40.180 39: default['mysql']['client']['arch'] = 'win32' # force 32 bit to work with mysql gem | |
192.168.40.180 | |
192.168.40.180 | |
192.168.40.180 | |
192.168.40.180 [2014-12-17T19:50:46-03:00] ERROR: Running exception handlers | |
192.168.40.180 [2014-12-17T19:50:46-03:00] ERROR: Exception handlers complete | |
192.168.40.180 [2014-12-17T19:50:46-03:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
192.168.40.180 Chef Client failed. 0 resources updated | |
192.168.40.180 [2014-12-17T19:50:48-03:00] ERROR: Undefined method or attribute `debian_before_squeeze?' on `node' | |
192.168.40.180 [2014-12-17T19:50:48-03:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment