docs: def deploy_chef(ask="yes", version="11"):
      """Install chef-solo on a node"""
      env.host_string = lib.get_env_host_string()
      if ask == "no" or littlechef.noninteractive:
          print("Deploying Chef using omnibus installer version: ...".format(version))
      else:
          message = ('\nAre you sure you want to install Chef version:'
                     '{0} on node {1}?'.format(version, env.host_string))
          if not confirm(message):
              abort('Aborted by user')
  
      lib.print_header("Configuring Chef Solo on {0}".format(env.host_string))
  
      if not __testing__:
          solo.install(version)
          solo.configure()
  
          # Build a basic node file if there isn't one already
          # with some properties from ohai
          with settings(hide('stdout'), warn_only=True):
              output = sudo('ohai -l warn')
          if output.succeeded:
              try:
                  ohai = json.loads(output)
              except ValueError:
                  abort("Could not parse ohai's output"
                        ":\n  {0}".format(output))
              node = {"run_list": []}
              for attribute in ["ipaddress", "platform", "platform_family",
                                "platform_version"]:
                  if ohai.get(attribute):
                      node[attribute] = ohai[attribute]
              chef.save_config(node)