beetboxvm / beetbox

Pre-provisioned L*MP stack
http://beetbox.rtfd.org
92 stars 19 forks source link

Warnings for missing PRE and POST tasks directory #369

Closed AlexSkrypnyk closed 7 years ago

AlexSkrypnyk commented 7 years ago

Problem/Motivation

During provision of fresh project, the following messages appear:

==> beetbox:  [WARNING]: Unable to find '/var/beetbox/.beetbox/tasks/pre' in expected paths.

.....

==> beetbox: [WARNING]: Unable to find '/var/beetbox/.beetbox/tasks/post' in expected
==> beetbox: paths.

Expected behaviour

Not having these messages shown if either /var/beetbox/.beetbox/tasks/pre or /var/beetbox/.beetbox/tasks/post directories exist.

Actual behaviour

As described.

Steps to reproduce

mkdir bb-test && cd bb-test
composer require --dev beet/box
vagrant up

Proposed changes

Add a check for existence of the directories before inclusion.

thom8 commented 7 years ago

Fixed via #370

conantran commented 7 years ago

Hello,

I ran into this issue on macOS Sierra (see screenshot)

==> beetbox:  [WARNING]: Unable to find '/var/beetbox/.beetbox/tasks/post' in expected paths
screen shot 2017-09-18 at 3 05 42 pm
thom8 commented 7 years ago

@conantran this is just a warning as you don't have any custom post provisioning tasks.