(CommandList
  children: [
    (C {(set)} {(-o)} {(errexit)})
    (C {(set)} {(-o)} {(nounset)})
    (C {(set)} {(-o)} {(pipefail)})
    (C {(.)} {(/etc/sysconfig/heat-params)})
    (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
    (C {(.)} {(/etc/profile)})
    (C {(set)} {(-o)} {(nounset)})
    (C {(rm)} {(-rf)} {(/kube-install)})
    (C {(mkdir)} {(-p)} {(/kube-install)})
    (C {(cd)} {(/kube-install)})
    (C {(curl)} {(DQ (${ VSub_Name KUBERNETES_SERVER_URL))} {(-o)} {(kubernetes-server.tar.gz)})
    (C {(curl)} {(DQ (${ VSub_Name KUBERNETES_SALT_URL))} {(-o)} {(kubernetes-salt.tar.gz)})
    (C {(tar)} {(xzf)} {(kubernetes-salt.tar.gz)})
    (C {(./kubernetes/saltbase/install.sh)} {(kubernetes-server.tar.gz)})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (Pipeline
                  children: [
                    (SimpleCommand
                      words: [{(which)} {(salt-call)}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: -1
                          arg_word: {(/dev/null)}
                          spids: [150]
                        )
                        (Redir
                          op_id: Redir_GreatAnd
                          fd: 2
                          arg_word: {(1)}
                          spids: [153]
                        )
                      ]
                    )
                  ]
                  negated: True
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (C {(echo)} {(DQ ("+++ Install salt binaries from https://bootstrap.saltstack.com"))})
            (Pipeline
              children: [
                (C {(curl)} {(-sS)} {(-L)} {(--connect-timeout)} {(20)} {(--retry)} {(6)} {(--retry-delay)} 
                  {(10)} {(https) (Lit_Other ":") (//bootstrap.saltstack.com)}
                )
                (C {(sh)} {(-s)} {(--)} {(DQ (-X))})
              ]
              negated: False
            )
          ]
          spids: [-1 157]
        )
      ]
      spids: [-1 205]
    )
    (SimpleCommand
      words: [{(echo)} {(DQ ("127.0.0.1 salt"))}]
      redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/hosts)} spids:[217])]
    )
    (C {(echo)} {(DQ ("+++ run salt-call and finalize installation"))})
    (Sentence
      child: 
        (AndOr
          children: [
            (C {(salt-call)} {(--local)} {(state.highstate)})
            (AndOr
              children: [
                (C {(salt-call)} {(--local)} {(state.highstate)})
                (AndOr
                  children: [
                    (C {($ VSub_Dollar "$$") (wc_notify)} {(--data-binary)} 
                      {(SQ <"{\"status\": \"SUCCESS\"}">)}
                    )
                    (C {($ VSub_Dollar "$$") (wc_notify)} {(--data-binary)} 
                      {(SQ <"{\"status\": \"FAILURE\"}">)}
                    )
                  ]
                  op_id: Op_DPipe
                )
              ]
              op_id: Op_DAmp
            )
          ]
          op_id: Op_DAmp
        )
      terminator: <Op_Amp "&">
    )
  ]
)