diff --git a/modules/reviewday/manifests/init.pp b/modules/reviewday/manifests/init.pp index 830afefb8f..84847e6e3d 100644 --- a/modules/reviewday/manifests/init.pp +++ b/modules/reviewday/manifests/init.pp @@ -24,6 +24,14 @@ class reviewday { ensure => present, } + file {'/var/lib/reviewday': + ensure => directory, + owner => 'reviewday', + group => 'reviewday', + mode => '0755', + require => User['reviewday'], + } + group { 'reviewday': ensure => present, } diff --git a/modules/reviewday/manifests/site.pp b/modules/reviewday/manifests/site.pp index 3825b5ed58..94df6173ce 100644 --- a/modules/reviewday/manifests/site.pp +++ b/modules/reviewday/manifests/site.pp @@ -67,6 +67,14 @@ define reviewday::site( } } + file {'/var/lib/reviewday/reviewday': + ensure => directory, + owner => 'reviewday', + group => 'reviewday', + mode => '0755', + require => File['/var/lib/reviewday/'], + } + vcsrepo { '/var/lib/reviewday/reviewday': ensure => present, provider => git, @@ -77,7 +85,7 @@ define reviewday::site( ensure => directory, owner => 'reviewday', group => 'reviewday', - mode => '0644', + mode => '0755', } file { '/var/lib/reviewday/.ssh/config':