The homestead make command doesn't copy over options setting for folders in Homestead.yaml.example.
macOS High Sierra 10.13.6
---
ip: "192.168.10.10"
memory: 2048
cpus: 4
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
-
map: .
to: /home/vagrant/code
type: rsync
options:
rsync__exclude: [".git/", ".idea", "web/sites/*/files", "web/sites/*/files-private", "web/artifacts", "web/sites/simpletest"]
rsync__args: ["--verbose", "--archive", "--delete", "-z", "--chmod=g+rwX"]
sites:
-
map: drupal-homestead.local
to: /home/vagrant/code/web
type: apache
php: '7.3'
xhgui: 'true'
databases:
- drupal_homestead
name: drupal-homestead
hostname: drupal-homestead.local
mariadb: true
mongodb: true
Given a Homestead.yaml.example file above
When I run homestead make
Then I should get Homestead.yaml with a folder that includes the options, eg.:
folders:
-
map: /Users/m4olivei/projects/drupal_homestead
to: /home/vagrant/code
type: rsync
options:
rsync__exclude: [".git/", ".idea", "web/sites/*/files", "web/sites/*/files-private", "web/artifacts", "web/sites/simpletest"]
rsync__args: ["--verbose", "--archive", "--delete", "-z", "--chmod=g+rwX"]
I get Homestead.yaml with a folder that is missing the options, eg.
folders:
-
map: /Users/m4olivei/projects/drupal_homestead
to: /home/vagrant/code
type: rsync
oof yeah, This won't work currently. Would be happy to review a PR adding this support.
Yep, one coming right up.
Yep, one coming right up.
You're awesome
You're awesome.
Right back at you!
Most helpful comment
Right back at you!