Recipe: default::default * service[ssh] action restart ================================================================================ Error executing action `restart` on resource 'service[ssh]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /etc/init.d/ssh restart ---- STDOUT: STDERR: ---- End output of /etc/init.d/ssh restart ---- Ran /etc/init.d/ssh restart returned 1のエラーが出たので、原因はよく読んでいませんが
https://github.com/opscode-cookbooks/openssh/pull/30/files
を参考に
provider Chef::Provider::Service::Upstartを追加してやったら上手くいくようになりました。
(mongodbでも似たようなエラー出て同じ方法で解決(?)した...)
No comments:
Post a Comment