Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign NameStore TupleLoad Num Num FunctionDef arguments args defaults body Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad Expr Call NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Yield If UnaryOpNot NameLoad body Expr Call NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword NameLoad FunctionDef arguments args defaults body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If CompareLt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore BinOpMod NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Assign NameStore BinOpMod Str Call NameLoad NameLoad orelse Assign NameStore Str With Call NameLoad NameLoad body With Call NameLoad Call NameLoad Str body Expr Call NameLoad BinOpAdd Str NameLoad decorator_list FunctionDef arguments args defaults body With Call NameLoad NameLoad body With Call NameLoad Call NameLoad Str Str Str keyword NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call NameLoad decorator_list FunctionDef arguments args defaults body With Call NameLoad NameLoad body With Call NameLoad Call NameLoad Str body Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Dict For NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args defaults body If CompareIn AttributeLoad NameLoad attr NameLoad body Delete SubscriptDel NameLoad Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body ImportFrom alias Assign NameStore Call NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias identifier Expr Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword NameLoad
N/A pipes quote N/A logging N/A os N/A sys mock patch N/A pytest fabric.api env hide lcd local settings fabric.state connections fabtools.vagrant version _vagrant_version N/A HERE N/A N/A N/A os path dirname __file__ N/A VAGRANT_VERSION N/A _vagrant_version N/A MIN_VAGRANT_VERSION N/A 1 3 setup_package N/A N/A N/A N/A N/A N/A _check_vagrant_version N/A vagrant_box N/A N/A N/A os environ get FABTOOLS_TEST_BOX N/A N/A vagrant_box N/A N/A N/A N/A pytest skip Set FABTOOLS_TEST_BOX to choose a Vagrant base box for functional tests N/A vagrant_provider N/A N/A N/A os environ get FABTOOLS_TEST_PROVIDER N/A reuse_vm N/A N/A N/A os environ get FABTOOLS_TEST_REUSE_VM N/A N/A _configure_logging N/A N/A _allow_fabric_to_access_the_real_stdin N/A N/A reuse_vm N/A N/A N/A _stop_vagrant_machine N/A N/A _init_vagrant_machine vagrant_box N/A N/A _start_vagrant_machine vagrant_provider N/A N/A _target_vagrant_machine N/A N/A _set_optional_http_proxy N/A N/A _update_package_index N/A N/A N/A N/A reuse_vm N/A N/A N/A _stop_vagrant_machine N/A N/A N/A pytest yield_fixture scope session autouse True _check_vagrant_version N/A N/A N/A N/A N/A N/A VAGRANT_VERSION None N/A N/A N/A N/A pytest skip Vagrant is required for functional tests N/A N/A N/A VAGRANT_VERSION MIN_VAGRANT_VERSION N/A N/A N/A N/A pytest skip N/A Vagrant >= %s is required for functional tests N/A N/A . join N/A map str MIN_VAGRANT_VERSION N/A _configure_logging N/A N/A N/A N/A N/A logger N/A N/A logging getLogger paramiko N/A N/A N/A logger setLevel N/A logging WARN N/A _allow_fabric_to_access_the_real_stdin N/A N/A N/A N/A N/A patcher N/A patch fabric.io.sys N/A mock_sys N/A N/A patcher start N/A N/A mock_sys stdin N/A sys __stdin__ N/A N/A _VAGRANTFILE_TEMPLATE Vagrant.configure(2) do |config|

  config.vm.box = "%s"

  # Speed up downloads using a shared cache across boxes
  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.scope = :box
  end

end
 _init_vagrant_machine N/A N/A base_box N/A N/A N/A path N/A N/A N/A os path join HERE Vagrantfile N/A contents N/A _VAGRANTFILE_TEMPLATE base_box N/A N/A open path w vagrantfile N/A N/A N/A N/A vagrantfile write contents N/A _start_vagrant_machine N/A N/A provider N/A N/A N/A provider N/A N/A options N/A  --provider %s N/A quote provider N/A N/A options N/A N/A lcd HERE N/A N/A N/A settings N/A hide stdout N/A N/A N/A local N/A vagrant up options N/A _stop_vagrant_machine N/A N/A N/A N/A N/A N/A lcd HERE N/A N/A N/A settings N/A hide stdout stderr warnings warn_only True N/A N/A N/A local vagrant halt N/A N/A local vagrant destroy -f N/A _target_vagrant_machine N/A N/A N/A N/A N/A config N/A _vagrant_ssh_config N/A N/A _set_fabric_env host N/A config N/A HostName port N/A config N/A Port user N/A config N/A User key_filename N/A N/A N/A config N/A IdentityFile strip " N/A N/A _clear_fabric_connection_cache N/A _vagrant_ssh_config N/A N/A N/A N/A N/A N/A lcd HERE N/A N/A N/A settings N/A hide running N/A N/A output N/A local vagrant ssh-config capture True N/A config N/A N/A line N/A N/A N/A output splitlines N/A 1 N/A N/A N/A key value N/A N/A N/A N/A line strip split 2 N/A N/A config N/A key value N/A config N/A _set_fabric_env N/A N/A host port user key_filename N/A N/A N/A N/A env host_string N/A env host N/A %s:%s N/A host port N/A N/A env user user N/A N/A env key_filename key_filename N/A N/A env disable_known_hosts True N/A N/A env abort_on_prompts True N/A _set_optional_http_proxy N/A N/A N/A N/A N/A http_proxy N/A N/A N/A os environ get FABTOOLS_HTTP_PROXY N/A N/A http_proxy None N/A N/A N/A N/A env shell_env N/A http_proxy http_proxy N/A _clear_fabric_connection_cache N/A N/A N/A N/A N/A N/A N/A env host_string connections N/A N/A N/A connections N/A N/A env host_string N/A _update_package_index N/A N/A N/A N/A fabtools.system distrib_family N/A family N/A distrib_family N/A N/A family debian N/A fabtools.require.deb uptodate_index N/A N/A uptodate_index N/A allow_sudo_user N/A N/A setup_package N/A N/A N/A 
    Fix sudo config if needed

    Some Vagrant boxes come with a too restrictive sudoers config
    and only allow the vagrant user to run commands as root.
     fabtools.require file require_file N/A N/A require_file /etc/sudoers.d/fabtools contents vagrant ALL=(ALL) NOPASSWD:ALL
 owner root mode 440 use_sudo True N/A N/A N/A pytest fixture scope session autouse True