Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Commit

Permalink
Set beet_home & beet_base statically in default.config.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
thom8 committed Apr 25, 2017
1 parent 2f2b3ac commit 50458f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ default_config = "provisioning/ansible/config/default.config.yml" if !File.exist

# Default vagrant config.
vconfig = YAML::load_file(default_config)
vconfig['beet_home'] = '/beetbox'
vconfig['beet_base'] = '/var/beetbox'
vconfig['beet_domain'] = beet_root.split('/').last.gsub(/[\._]/, '-') + ".local"

# Create config directory.
Expand Down
4 changes: 2 additions & 2 deletions provisioning/ansible/config/default.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ vagrant_cpus: 1
beet_profile: beetbox
beet_repo: "{{ lookup('env','BEET_REPO') | default('https://github.com/beetboxvm/beetbox.git',true) }}"
beet_version: "{{ lookup('env','BEET_VERSION') | default('master',true) }}"
beet_home: "{{ lookup('env','BEET_HOME') | default('/beetbox',true) }}"
beet_home: "/beetbox"
beet_role_dir: "{{ beet_home }}/provisioning/ansible/roles"
beet_project: drupal
beet_debug: no
Expand All @@ -26,7 +26,7 @@ beet_aliases: []
beet_env_name: BB_ENVIRONMENT
beet_env: vagrant
beet_user: "{{ lookup('env','BEET_USER') | default('vagrant',true) }}"
beet_base: "{{ lookup('env','BEET_BASE') | default('/var/beetbox',true) }}"
beet_base: "/var/beetbox"
beet_root: "{{ beet_base }}"
beet_web: "{{ beet_root }}"
beet_ssh_home: "{{ beet_root }}"
Expand Down

0 comments on commit 50458f1

Please sign in to comment.