Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
change owner of docroot
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Steur committed Sep 2, 2012
1 parent 6d35dd0 commit 6fbc2ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions puppet/site.pp
Expand Up @@ -13,6 +13,15 @@
svn_password => $svn_password,
}

exec { "add_vagrant_to_wwwdata":
command => "sudo adduser vagrant www-data",
}

exec { "chown_docroot":
command => "sudo chown -R vagrant:www-data /var/www/piwik/",
require => Class['piwik'],
}

piwik::apache { 'apache.piwik':
port => 80,
docroot => '/var/www/piwik',
Expand Down

0 comments on commit 6fbc2ee

Please sign in to comment.