(CommandList children: [ (C {(sed)} {(-i)} {(-e)} {(DQ (s/http.us.debian.org/mirrors.kernel.org/))} {(/etc/apt/sources.list)}) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [(C {(grep)} {(-q)} {($ VSub_Name "$KUBE_MASTER")} {(/etc/hosts)})] negated: True ) terminator: <Op_Semi ";"> ) ] action: [ (C {(echo)} {(DQ ("Adding host entry for ") ($ VSub_Name "$KUBE_MASTER"))}) (SimpleCommand words: [{(echo)} {(DQ (${ VSub_Name KUBE_MASTER_IP) (" ") (${ VSub_Name KUBE_MASTER))}] redirects: [(Redir op_id:Redir_DGreat fd:-1 arg_word:{(/etc/hosts)} spids:[99])] ) ] spids: [-1 76] ) ] spids: [-1 103] ) (C {(mkdir)} {(-p)} {(/etc/salt/minion.d)}) (SimpleCommand words: [{(echo)} {(DQ ("master: ") (${ VSub_Name KUBE_MASTER))}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/etc/salt/minion.d/master.conf)} spids: [124] ) ] ) (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op_id: Redir_DLess fd: -1 body: { (DQ ("grains:\n") (" hostname_override: ") (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ip)} {(route)} {(get)} {(1.1.1.1)}) (C {(awk)} {(SQ <"{print $7}">)}) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [161 177] ) ("\n") (" roles:\n") (" - kubernetes-pool\n") (" - kubernetes-pool-photon-controller\n") (" cloud: photon-controller\n") ) } do_expansion: True here_end: EOF was_filled: True spids: [153] ) (Redir op_id: Redir_Great fd: -1 arg_word: {(/etc/salt/minion.d/grains.conf)} spids: [156] ) ] ) (Pipeline children: [ (C {(curl)} {(-L)} {(--connect-timeout)} {(20)} {(--retry)} {(6)} {(--retry-delay)} {(10)} {(https) (Lit_Other ":") (//bootstrap.saltstack.com)} ) (C {(sh)} {(-s)} {(--)} {(-X)}) ] negated: False ) ] )