Module Import alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias Import alias Assign NameStore Str Assign NameStore ListLoad Str FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Str With Call NameLoad keyword NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr With Call NameLoad keyword NameLoad body Expr Call NameLoad Expr Call NameLoad Str Expr Call NameLoad Str Str decorator_list FunctionDef arguments args defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str If CompareEq NameLoad Str body Expr Call NameLoad Str Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str orelse Raise Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore SubscriptLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call NameLoad Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call NameLoad Str Str Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Str Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call NameLoad Str Str For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str With Call NameLoad keyword NameLoad body If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str With Call NameLoad keyword NameLoad body If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str Expr Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Expr Call NameLoad decorator_list
N/A N/A time fabric.api env run sudo fabric.contrib.files append sed fabric.context_managers settings fabric_settings fabric.operations reboot N/A settings N/A DISTRO DEBIAN_7 N/A SALT_INSTALLERS N/A saltstack bootstrap N/A N/A N/A N/A N/A 
    Bootstrap Ubuntu for use with the configuration manager of choice.

    Only the bare essentials, the configuration manager will take care of the rest.
     N/A N/A run /usr/sbin/locale-gen en_US.UTF-8 && /usr/sbin/update-locale LANG=en_US.UTF-8 N/A N/A fabric_settings warn_only True N/A N/A N/A run aptitude update && aptitude -y dist-upgrade N/A N/A append /etc/hosts N/A N/A {0} saltmaster-private format N/A N/A env master_server private_ip N/A N/A fabric_settings warn_only True N/A N/A N/A reboot N/A N/A run aptitude install -y build-essential rsync sudo N/A N/A append /etc/sudoers ## allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL N/A upgrade N/A N/A N/A N/A N/A 
    When a provider doesn't offer the latest version.
     N/A N/A NotImplementedError N/A install_salt N/A N/A installer N/A saltstack N/A N/A 
    Install salt with the chosen installer.
     N/A N/A installer saltstack N/A N/A N/A append /etc/apt/sources.list.d/saltstack.list deb http://debian.saltstack.com/debian wheezy-saltstack main N/A N/A run aptitude update N/A N/A run aptitude -o Aptitude::Cmdline::ignore-trust-violations=true -y install salt-master N/A N/A run aptitude -o Aptitude::Cmdline::ignore-trust-violations=true -y install salt-minion N/A N/A N/A NotImplementedError N/A setup_salt N/A N/A N/A N/A N/A 
    Setup the salt configuration files.
     N/A server N/A N/A s N/A s N/A env bootmachine_servers N/A N/A s public_ip N/A env host N/A 0 N/A N/A N/A env host N/A N/A env master_server public_ip N/A N/A N/A append /etc/salt/master N/A N/A file_roots:
  base:
    - {0} format N/A settings REMOTE_STATES_DIR N/A N/A append /etc/salt/master N/A N/A pillar_roots:
  base:
    - {0} format N/A settings REMOTE_PILLARS_DIR N/A N/A sed /etc/salt/minion #master: salt N/A N/A master: {0} format N/A N/A env master_server private_ip N/A N/A sed /etc/salt/minion #id: N/A N/A id: {0} format N/A server name N/A N/A append /etc/salt/minion grains:
  roles: N/A role N/A server roles N/A N/A N/A append /etc/salt/minion N/A N/A     - {0} format role N/A start_salt N/A N/A N/A N/A N/A 
    Starts salt master and minions.
     N/A N/A fabric_settings warn_only True N/A N/A N/A N/A env host N/A N/A env master_server public_ip N/A N/A N/A sudo service salt-master start N/A N/A N/A time sleep 3 N/A N/A sudo service salt-minion start N/A stop_salt N/A N/A N/A N/A N/A 
    Stops salt master and minions.
     N/A N/A fabric_settings warn_only True N/A N/A N/A N/A env host N/A N/A env master_server public_ip N/A N/A N/A sudo service salt-master stop N/A N/A sudo service salt-minion stop N/A restart_salt N/A N/A N/A N/A N/A 
    Restarts salt master and minions.
     N/A N/A stop_salt N/A N/A start_salt N/A