According to the document I should replace chef-solo
by chef-client --local-mode
.
Local mode was added to the chef-client in the 11.8 release. If you are running that version of the chef-client (or later), you should consider using local mode instead of using chef-solo. https://docs.getchef.com/ctl_chef_solo.html
I simply replaced the commands and works fine. Is the two commands are always replaceable without reconfigure? Or there are some slight difference I should know?