Skip to content
Snippets Groups Projects
Commit bb6d8820 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Force wordpress installation to be www-data editable.

parent 2378a776
Branches
No related tags found
No related merge requests found
......@@ -55,3 +55,6 @@
[submodule "modules/network"]
path = modules/network
url = https://github.com/example42/puppet-network.git
[submodule "modules/chmod_r"]
path = modules/chmod_r
url = https://github.com/declarativesystems/chmod_r
Subproject commit 8e459b8dcf93d046c1a8a2810cac6f34e10cff6e
......@@ -31,7 +31,6 @@ define wordpress (
ensure => directory,
source => "${wp_root}/wordpress",
recurse => remote,
# TODO ensure that all files keep belonging to www-data
owner => 'www-data',
group => 'www-data',
}
......@@ -48,6 +47,10 @@ define wordpress (
}),
}
chmod_r { $wp_path:
want_mode => '0664',
}
file { "/var/wordpress_dump/${url}":
ensure => directory,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment