(CommandList children: [ (C {(set)} {(-e)}) (C {(export)} {(Lit_VarLike "BOOTSTRAP_METHOD=") (vagrant)}) (C {(echo)} {(DQ (" ____ ____ ____ ____ "))}) (C {(echo)} {(DQ ("| __ ) / ___| _ ") (EscapedLiteralPart token:<Lit_EscapedChar "\\ ">) ("/ ___|"))} ) (C {(echo)} {(DQ ("| _ ") (EscapedLiteralPart token:<Lit_EscapedChar "\\|">) (" | | |_) | | "))} ) (C {(echo)} {(DQ ("| |_) | |___| __/| |___ "))}) (C {(echo)} { (DQ ("|____/ ") (EscapedLiteralPart token:<Lit_EscapedChar "\\_">) ("___|_| ") (EscapedLiteralPart token:<Lit_EscapedChar "\\_">) ("___|") ) } ) (C {(echo)}) (C {(echo)} {(DQ ("BCPC Vagrant BootstrapV2 0.2"))}) (C {(echo)} {(DQ (--------------------------------------------))}) (C {(echo)} {(DQ ("Bootstrapping local Vagrant environment..."))}) (While cond: [(Sentence child:(C {(getopts)} {(DQ (v))} {(opt)}) terminator:<Op_Semi ";">)] body: (DoGroup children: [ (Case to_match: {($ VSub_Name "$opt")} arms: [(case_arm pat_list:[{(v)}] action:[(C {(set)} {(-x)})] spids:[104105113-1])] spids: [93 97 116] ) ] spids: [90 118] ) ) (C {(source)} {(../shared/shared_functions.sh)}) (C {(export)} {(Lit_VarLike "REPO_ROOT=") ($ VSub_Name "$REPO_ROOT")}) (C {(load_configs)}) (C {(echo)} {(DQ ("Performing preflight environment validation..."))}) (C {(source)} {($ VSub_Name "$REPO_ROOT") (/bootstrap/shared/shared_validate_env.sh)}) (C {(echo)} {(DQ ("Checking VirtualBox and Vagrant..."))}) (C {(source)} {($ VSub_Name "$REPO_ROOT") (/bootstrap/vagrant_scripts/vagrant_test.sh)}) (C {(echo)} {(DQ ("Downloading necessary files to local cache..."))}) (C {(source)} {($ VSub_Name "$REPO_ROOT") (/bootstrap/shared/shared_prereqs.sh)}) (C {(echo)} {(DQ ("Shutting down and unregistering VMs from VirtualBox..."))}) (C {($ VSub_Name "$REPO_ROOT") (/bootstrap/vagrant_scripts/vagrant_clean.sh)}) (C {(echo)} {(DQ ("Starting local Vagrant cluster..."))}) (C {($ VSub_Name "$REPO_ROOT") (/bootstrap/vagrant_scripts/vagrant_create.sh)}) (C {(echo)} {(DQ ("Installing and configuring Chef on all nodes..."))}) (C {($ VSub_Name "$REPO_ROOT") (/bootstrap/shared/shared_configure_chef.sh)}) (C {($ VSub_Name "$REPO_ROOT") (/bootstrap/vagrant_scripts/vagrant_print_useful_info.sh)}) (C {(echo)} {(DQ ("Finished in ") ($ VSub_Name "$SECONDS") (" seconds"))}) ] )