(List (Com {[LIT_CHARS mkdir]} {[LIT_CHARS -p]} {[LIT_CHARS /etc/salt/minion.d]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "master: "][VarSub MASTER_NAME]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/salt/minion.d/master.conf]} "> 1), > ) (Com {[LIT_CHARS cat]} < (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "grains:\n"][LIT_CHARS " roles:\n"][LIT_CHARS " - kubernetes-master\n"][LIT_CHARS " cloud: azure-legacy\n"]]} 0), (FilenameRedirectNode filename={[LIT_CHARS /etc/salt/minion.d/grains.conf]} "> 1), > ) (FunctionDef env_to_salt [] (List (= scope= flags=0 words=[] bindings=[('key', {[VarSub 1]})]) (= scope= flags=0 words=[] bindings=[('env_key', {[ComSub (Pipeline (Com {[LIT_CHARS echo]} {[VarSub key]}) (Com {[LIT_CHARS tr]} {[SQ ]} {[SQ ]}) )]})]) (= scope= flags=0 words=[] bindings=[('value', {[VarSub env_key transform_ops=[(!ref)]]})]) (If (DBracket {B1 UNARY_STRING_n {[DQ [VarSub value]]}}) (Com {[LIT_CHARS cat]} < (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS " "][VarSub key][LIT_CHARS ": '"][ComSub (Pipeline (Com {[LIT_CHARS echo]} {[DQ [VarSub value]]}) (Com {[LIT_CHARS sed]} {[LIT_CHARS -e]} {[DQ [LIT_CHARS "s/'/''/g"]]}) )][LIT_CHARS "'\n"]]} 0), (FilenameRedirectNode filename={[LIT_CHARS /etc/salt/minion.d/grains.conf]} >"> 1), > ) ) ) ) (Com {[LIT_CHARS env_to_salt]} {[LIT_CHARS docker_opts]} ) (Com {[LIT_CHARS env_to_salt]} {[LIT_CHARS docker_root]} ) (Com {[LIT_CHARS env_to_salt]} {[LIT_CHARS kubelet_root]} ) (Com {[LIT_CHARS env_to_salt]} {[LIT_CHARS master_extra_sans]} ) (Com {[LIT_CHARS env_to_salt]} {[LIT_CHARS runtime_config]} ) (Com {[LIT_CHARS mkdir]} {[LIT_CHARS -p]} {[LIT_CHARS /etc/salt/master.d]} ) (Com {[LIT_CHARS cat]} < (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "auto_accept: True\n"]]} 0), (FilenameRedirectNode filename={[LIT_CHARS /etc/salt/master.d/auto-accept.conf]} "> 1), > ) (Com {[LIT_CHARS cat]} < (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "# React to new minions starting by running highstate on them.\n"][LIT_CHARS "reactor:\n"][LIT_CHARS " - 'salt/minion/*/start':\n"][LIT_CHARS " - /srv/reactor/highstate-new.sls\n"]]} 0), (FilenameRedirectNode filename={[LIT_CHARS /etc/salt/master.d/reactor.conf]} "> 1), > ) (Com {[LIT_CHARS mkdir]} {[LIT_CHARS -p]} {[LIT_CHARS /srv/salt/nginx]} ) (Com {[LIT_CHARS echo]} {[VarSub MASTER_HTPASSWD]} < (FilenameRedirectNode filename={[LIT_CHARS /srv/salt/nginx/htpasswd]} "> 1), > ) (Com {[LIT_CHARS mkdir]} {[LIT_CHARS -p]} {[LIT_CHARS /etc/openvpn]} ) (= scope= flags=0 words=[] bindings=[('umask', {[ComSub (Com {[LIT_CHARS umask]})]})]) (Com {[LIT_CHARS umask]} {[LIT_CHARS 0066]} ) (Com {[LIT_CHARS echo]} {[DQ [VarSub CA_CRT]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/openvpn/ca.crt]} "> 1), > ) (Com {[LIT_CHARS echo]} {[DQ [VarSub SERVER_CRT]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/openvpn/server.crt]} "> 1), > ) (Com {[LIT_CHARS echo]} {[DQ [VarSub SERVER_KEY]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/openvpn/server.key]} "> 1), > ) (Com {[LIT_CHARS umask]} {[VarSub umask]} ) (Com {[LIT_CHARS cat]} < (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "log_level: debug\n"][LIT_CHARS "log_level_logfile: debug\n"]]} 0), (FilenameRedirectNode filename={[LIT_CHARS /etc/salt/minion.d/log-level-debug.conf]} "> 1), > ) (Com {[LIT_CHARS cat]} < (HereDocRedirectNode here_end='EOF' do_expansion=True body_word={[DQ [LIT_CHARS "log_level: debug\n"][LIT_CHARS "log_level_logfile: debug\n"]]} 0), (FilenameRedirectNode filename={[LIT_CHARS /etc/salt/master.d/log-level-debug.conf]} "> 1), > ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Sleep 150 to wait minion to be up"]]} ) (Com {[LIT_CHARS sleep]} {[LIT_CHARS 150]} ) (Com {[LIT_CHARS install-salt]} {[LIT_CHARS --master]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Sleeping 180"]]} ) (Com {[LIT_CHARS sleep]} {[LIT_CHARS 180]} ) (AndOr OP_OR_IF (Com {[LIT_CHARS salt-call]} {[LIT_CHARS state.highstate]} ) (Com {[LIT_CHARS true]} ) ) )