在CentOS7上,此刻一直在勉强搭build一个主厨服务器。 厨师pipe理员似乎正在做的很好。
我“(1)sudo wget https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-server-11.1.3-1.el6.x86_64.rpm和(2)sudo rpm -Uvh chef-server-11.1.3-1.el6.x86_64.rpm“每个标准程序我总是这样做。
那些运行顺利,但在“sudo chef-server-ctl reconfigure”
获得跟随输出错误。 我validation了我有openSSL和'build-essential'安装。
Starting Chef Client, version 11.12.2 Compiling Cookbooks... Recipe: chef-server::default * directory[/etc/chef-server] action create (up to date) [2015-04-03T18:23:23-07:00] WARN: Cloning resource attributes for directory[/var/opt/chef-server/chef-server-webui/etc] from prior resource (CHEF-3694) [2015-04-03T18:23:23-07:00] WARN: Previous directory[/var/opt/chef-server/chef-server-webui/etc]: /opt/chef-server/embedded/cookbooks/chef-server/recipes/chef-server-webui.rb:31:in `block in from_file' [2015-04-03T18:23:23-07:00] WARN: Current directory[/var/opt/chef-server/chef-server-webui/etc]: /opt/chef-server/embedded/cookbooks/chef-server/definitions/unicorn_config.rb:21:in `block in from_file' Generating RSA private key, 2048 bit long modulus ..+++ .......................................+++ e is 65537 (0x10001) Converging 212 resources * directory[/etc/chef-server] action nothing (skipped due to action :nothing) Recipe: chef-server::users * user[chef_server] action create (up to date) * group[chef_server] action create (up to date) Recipe: chef-server::default * directory[/etc/chef] action create (up to date) * directory[/var/opt/chef-server] action create (up to date) Recipe: runit::upstart * execute[initctl stop opscode-runsvdir] action run (skipped due to only_if) * file[/etc/init/opscode-runsvdir.conf] action delete (up to date) * cookbook_file[/etc/init/chef-server-runsvdir.conf] action create * Parent directory /etc/init does not exist. ================================================================================ Error executing action `create` on resource 'cookbook_file[/etc/init/chef-server-runsvdir.conf]' ================================================================================ Chef::Exceptions::EnclosingDirectoryDoesNotExist Running handlers: [2015-04-03T18:23:23-07:00] ERROR: Running exception handlers Running handlers complete [2015-04-03T18:23:23-07:00] ERROR: Exception handlers complete [2015-04-03T18:23:23-07:00] FATAL: Stacktrace dumped to /opt/chef-server/embedded/cookbooks/cache/chef-stacktrace.out Chef Client failed. 0 resources updated in 7.083390475 seconds [2015-04-03T18:23:24-07:00] ERROR: cookbook_file[/etc/init/chef-server-runsvdir.conf] (runit::upstart line 29) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /etc/init does not exist. [2015-04-03T18:23:24-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) $
谢谢。
http://wiki.centos.org/Download是你的朋友。 厨师7将不工作。
如果软件包不升级7或任何其他新版本,那么保留旧版本是一个好习惯。