summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremma peel <emma.peel@aktivix.org>2018-01-17 13:18:59 +0000
committeremma peel <emma.peel@aktivix.org>2018-01-17 13:18:59 +0000
commit2c582f4824806e7008108a66e838a8aa83d81332 (patch)
treed0a1d894b34e3019cb7a53157d9ddc4c63253150
parentb524e2f39c6eee2dd16580a3c9f5aa87b633f8cf (diff)
TMserver setup, with a separated user to provide translation suggestionsfeature-15077-tmservice
through a web api. translate-toolkit ftw!
-rw-r--r--manifests/weblate.pp9
1 files changed, 7 insertions, 2 deletions
diff --git a/manifests/weblate.pp b/manifests/weblate.pp
index 84c3be2..994d567 100644
--- a/manifests/weblate.pp
+++ b/manifests/weblate.pp
@@ -55,7 +55,7 @@ class tails::weblate (
ensure => present,
system => true,
home => $tmserver_data_dir,
- gid => 'weblate_admin',
+ gid => 'tmserver',
}
user { 'weblate':
@@ -65,6 +65,11 @@ class tails::weblate (
gid => 'weblate',
}
+ group { 'tmserver':
+ ensure => present,
+ system => true,
+ }
+
group { 'weblate':
ensure => present,
system => true,
@@ -138,7 +143,7 @@ class tails::weblate (
file { $tmserver_data_dir:
ensure => directory,
owner => tmserver,
- group => weblate,
+ group => 'weblate_admin',
mode => '2770',
}