user 'root' dopassword '$1$xRttNfmg$kiGAjD0nRQkFXyE5432ci'end
chef-solo -c client.rb -j runlist.jsonStarting Chef Client, version 11.12.8Compiling Cookbooks...Converging 1 resourcesRecipe: base::default* user[root] action create (up to date)================================================================================Error executing action `create` on resource 'user[root]'================================================================================......Ran ["usermod", "root"] returned 2[2014-07-15T11:01:20-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
def manage_usermanage_password -> write_shadow_file # WORKS GOODsuper # parent's shell_out failsend
def manage_user.....shell_out!(*command) # command CONTAINS ["usermod", "root"] fails with return code non-zeroend
Archive powered by MHonArc 2.6.16.