Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Issue #140: Fix ensuring home drush dir.
Browse files Browse the repository at this point in the history
Oops, totally hadn’t tested the previous commit.
  • Loading branch information
anotherjames committed Aug 10, 2018
1 parent 04d3fd8 commit 83acb3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions modules/http_stack/manifests/apache.pp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
ensure => "directory",
}

# Create home directories for the users that will be using Drush.
file { '/home/vagrant/.drush':
ensure => 'directory',
owner => 'vagrant',
group => 'vagrant',
}

# Find the sites.
$site_names_string = generate('/usr/bin/find', '-L', '/vagrant_sites/' , '-type', 'd', '-printf', '%f\0', '-maxdepth', '1', '-mindepth', '1')
$site_names = split($site_names_string, '\0')
Expand Down
7 changes: 0 additions & 7 deletions modules/parrot_drush/manifests/components/php/drush_alias.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
)
{

# Create home directories for the users that will be using Drush.
file { '/home/vagrant/.drush':
ensure => 'directory',
owner => 'vagrant',
group => 'vagrant',
}

file {"/home/vagrant/.drush/$name.aliases.drushrc.php":
ensure => $ensure,
owner => 'vagrant',
Expand Down

0 comments on commit 83acb3c

Please sign in to comment.