Skip to content

Commit

Permalink
Merge pull request #33 from coldfrontlabs/file-memory
Browse files Browse the repository at this point in the history
fix(memory) disable checksum on files
  • Loading branch information
minorOffense authored Oct 13, 2016
2 parents 9835923 + aeb0a25 commit e54907c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions manifests/site.pp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,12 @@
mode => '0664',
owner => $webserver_user,
group => $webserver_user,
recurse => true,
recurse => false,
require => Drush::Si["drush-si-${name}"],
checksum => 'none',
}->
exec { "enforce drupalsi-public-files-${name} permissions":
command => "/bin/chown -R ${webserver_user}:${webserver_user} ${site_root}/sites/${pubdir}",
}->
file {"drupalsi-public-files-${name}-htaccess":
path => "${site_root}/sites/${pubdir}/.htaccess",
Expand All @@ -120,8 +124,12 @@
ensure => 'directory',
mode => '0664',
owner => $webserver_user, #@todo determine the webserver user's name
recurse => true,
recurse => false,
require => Drush::Si["drush-si-${name}"],
checksum => 'none',
}->
exec { "enforce drupalsi-private-dir-${private_dir} permissions":
command => "/bin/chown -R ${webserver_user}:${webserver_user} ${private_dir}",
}->
# Make sure the file permissions on the htaccess file are different from the rest
file {"drupalsi-private-dir-${private_dir}-htaccess":
Expand Down

0 comments on commit e54907c

Please sign in to comment.