Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit c85e093

Browse files
committed
Merge branch 'release-1.0.3'
2 parents 40a98ca + aaea5e8 commit c85e093

File tree

5 files changed

+26
-5
lines changed

5 files changed

+26
-5
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
!/data_bags/sites/local.json
44
/public
55
!/public/local.dev
6+
/nodes/*
7+
!/nodes/.gitkeep

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [1.0.3] - 2016-02-07
4+
5+
### Fixed
6+
- Add `chef.nodes_path` for Chef Zero. Fix breaking change introduced with Vagrant 1.8.0
7+
8+
### Changed
9+
- Update README.md with `hosts` file information
10+
311
## [1.0.2] - 2015-09-25
412

513
### Fixed

README.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Go to the repository folder and launch the box
2929
$ cd [repo]
3030
$ vagrant up
3131

32+
3233
What's inside:
3334
--------------
3435

@@ -70,9 +71,18 @@ directory. The docroot of the new virtual host will be a directory within the
7071
`public/` folder matching the `host` you specified. Alternately you may specify
7172
a docroot explicitly by adding a `docroot` key in the json file.
7273

74+
Default preconfigured host is `local.dev`.
75+
76+
### Accessing your hosts via your local web browser
77+
78+
In order to access vagrant hosts via your local browser you will need to edit your hosts file (`/private/etc/hosts` in Macs, `c:\Windows\System32\Drivers\etc\hosts` in Windows, `/etc/hosts` in Linux).
79+
All hosts should be mapped to `192.168.33.10`:
80+
81+
192.168.33.10 local.dev someyourotherhost.dev
82+
7383
### MySQL
7484

75-
The guests local 3306 port is available on the host at port 33066. It is also available on every domain. Logging in can be done with username=root, password=vagrant.
85+
The guests local 3306 port is available on the host at port 33066. It is available on every domain. Logging in can be done with username=root, password=vagrant.
7686

7787
### phpMyAdmin
7888

@@ -84,8 +94,8 @@ phpMyAdmin is available on every domain. For example:
8494

8595
XDebug is configured to connect back to your host machine on port 9000 when
8696
starting a debug session from a browser running on your host. A debug session is
87-
started by appending GET variable XDEBUG_SESSION_START to the URL (if you use an
88-
integrated debugger like Eclipse PDT, it will do this for you).
97+
started by either by appending GET variable XDEBUG_SESSION_START to the URL or setting XDEBUG cookie (if you use an
98+
integrated debugger like Eclipse PDT it will do this for you).
8999

90100
XDebug is also configured to generate cachegrind profile output on demand by
91101
adding GET variable XDEBUG_PROFILE to your URL. For example:
@@ -112,7 +122,7 @@ happens to serve webgrind.
112122

113123
### MailHog
114124

115-
ll emails sent via local mail transport are intercepted by [MailHog](http://github.com/mailhog/MailHog). So normally no email would be delivered outside of the virtual machine. Instead you can check messages using web frontend for MailHog, which is running on port 8025 and also available on every domain:
125+
All emails sent via local mail transport are intercepted by [MailHog](http://github.com/mailhog/MailHog). So normally no email would be delivered outside of the virtual machine. Instead you can check messages using web frontend for MailHog, which is running on port 8025 and also available on every domain:
116126

117127
http://local.dev:8025
118128

Vagrantfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ Vagrant.configure("2") do |config|
5252
end
5353

5454
# Enable provisioning with chef zero, specifying a cookbooks path, roles
55-
# path, and data_bags path (all relative to this Vagrantfile), and adding
55+
# path, nodes path and data_bags path (all relative to this Vagrantfile), and adding
5656
# some recipes and/or roles.
5757
config.vm.provision :chef_zero do |chef|
5858
chef.cookbooks_path = ["berks-cookbooks", "cookbooks"]
5959
chef.data_bags_path = "data_bags"
60+
chef.nodes_path = "nodes"
6061

6162
# List of recipes to run
6263
chef.add_recipe "vagrant_main"

nodes/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)