Module Expr Str Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str With Call NameLoad Str Str body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call NameLoad Str Str Print Call AttributeLoad Str attr NameLoad With Call NameLoad Str body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Dict Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot NameLoad body With Call NameLoad Call NameLoad Str Str keyword NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore Str Expr Call NameLoad NameLoad With Call NameLoad Str Str body With Call NameLoad keyword NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot Call NameLoad Str body Expr Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Slice Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Dict Str Str Str Str Str Str AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Str IfExp AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call NameLoad Call NameLoad Str body TryExcept body Expr Call NameLoad Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Num handlers ExceptHandler type NameLoad body Assign NameStore Str Expr Call NameLoad NameLoad With Call NameLoad Str body Expr Call NameLoad Call AttributeLoad Str attr Str decorator_list
N/A N/A Chef Solo deployment N/A os fabric.api * fabric.contrib.files exists upload_template fabric.utils abort littlechef cookbook_paths littlechef LOGFILE N/A BASEDIR N/A N/A N/A os path abspath N/A N/A N/A N/A N/A os path dirname __file__ replace \ / install N/A N/A version N/A N/A N/A Install Chef using the omnibus installer N/A url https://www.chef.io/chef/install.sh N/A N/A hide stdout running N/A N/A N/A local N/A N/A python -c "import urllib; print urllib.urlopen('{0}').read()"'
              ' > /tmp/install.sh format url N/A N/A put /tmp/install.sh /tmp/install.sh N/A N/A N/A Downloading and installing Chef {0}... format version N/A N/A hide stdout N/A N/A N/A sudo N/A N/A bash /tmp/install.sh -v {0} format version N/A N/A sudo rm /tmp/install.sh N/A configure N/A N/A current_node N/A None N/A N/A Deploy chef-solo specific files N/A current_node N/A current_node N/A N/A cache_dir N/A N/A {0}/cache format N/A env node_work_path N/A N/A N/A cache_exists N/A exists cache_dir N/A N/A N/A EOFError N/A e N/A N/A N/A abort N/A N/A Could not login to node, got: {0} format e N/A N/A cache_exists N/A N/A N/A settings N/A hide running stdout warn_only True N/A N/A output N/A sudo N/A N/A mkdir -p {0} format cache_dir N/A N/A output failed N/A N/A error N/A N/A Could not create {0} dir.  format N/A env node_work_path N/A error Do you have sudo rights? N/A N/A abort error N/A N/A hide running stdout N/A N/A N/A settings warn_only True N/A N/A output N/A sudo N/A N/A chown -R {0} {1} format N/A env user N/A env node_work_path N/A N/A output failed N/A N/A error N/A N/A Could not modify {0} dir.  format N/A env node_work_path N/A error Do you have sudo rights? N/A N/A abort error N/A logging_path N/A N/A N/A os path dirname LOGFILE N/A N/A N/A exists logging_path N/A N/A N/A sudo N/A N/A mkdir -p {0} format logging_path N/A N/A N/A exists /etc/chef N/A N/A N/A sudo mkdir -p /etc/chef N/A reversed_cookbook_paths N/A cookbook_paths N/A N/A N/A N/A reversed_cookbook_paths reverse N/A cookbook_paths_list N/A N/A [{0}] format N/A N/A ,  join N/A N/A N/A "{0}/{1}" format N/A env node_work_path x N/A x reversed_cookbook_paths N/A data N/A node_work_path cookbook_paths_list environment verbose http_proxy https_proxy N/A env node_work_path cookbook_paths_list N/A N/A current_node get chef_environment _default N/A N/A env verbose true false N/A env http_proxy N/A env https_proxy N/A N/A settings N/A hide everything N/A N/A N/A N/A N/A upload_template solo.rb.j2 /etc/chef/solo.rb context data use_sudo True backup False template_dir BASEDIR use_jinja True mode 256 N/A N/A N/A SystemExit N/A N/A error Failed to upload '/etc/chef/solo.rb'
This can happen when the deployment user does not have a home directory, which is needed as a temporary location N/A N/A abort error N/A N/A hide stdout N/A N/A N/A sudo N/A N/A chown root:$(id -g -n root) {0} format /etc/chef/solo.rb N/A