summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-02-11 13:05:26 +0000
committerintrigeri <intrigeri@boum.org>2017-02-11 13:05:26 +0000
commit350fc0f8ea76174e8fa0f70a38621afaa13a9db8 (patch)
tree712847ec5fb3a15caaa965cba628476c45e372ff
parent41389bec5ef853ae161c9d313b975d6c7b607a68 (diff)
Simplify.
-rw-r--r--manifests/weblate.pp12
1 files changed, 3 insertions, 9 deletions
diff --git a/manifests/weblate.pp b/manifests/weblate.pp
index ad38dcb..7cefffa 100644
--- a/manifests/weblate.pp
+++ b/manifests/weblate.pp
@@ -102,16 +102,10 @@ class tails::weblate (
mode => '0664',
}
- 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",
+ ensure => symlink,
+ target => "${mutable_data_dir}/config/settings.py",
+ require => Vcsrepo[$code_git_checkout],
}
# Database