summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-02-11 13:03:35 +0000
committerintrigeri <intrigeri@boum.org>2017-02-11 13:03:35 +0000
commit41389bec5ef853ae161c9d313b975d6c7b607a68 (patch)
tree9f40e353ba3f73338c2654d5a7297296c6b850a4
parent77eafb4d463dd055b562ad740e601921c124ed30 (diff)
Fix weblate config path.
-rw-r--r--manifests/weblate.pp11
1 files changed, 9 insertions, 2 deletions
diff --git a/manifests/weblate.pp b/manifests/weblate.pp
index 0ff0f4b..ad38dcb 100644
--- a/manifests/weblate.pp
+++ b/manifests/weblate.pp
@@ -102,8 +102,15 @@ class tails::weblate (
mode => '0664',
}
- file { "${code_git_checkout}/settings.py":
- ensure => 'symlink',
+ file { "${code_git_checkout}/weblate":
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => '0755',
+ }
+
+ file { "${code_git_checkout}/weblate/settings.py":
+ ensure => symlink,
target => "${mutable_data_dir}/config/settings.py",
}