Browse Source

Merge "Don't create reviewday subdirectory"

master
Zuul 9 months ago
parent
commit
d3528346d4
1 changed files with 6 additions and 8 deletions
  1. 6
    8
      manifests/site.pp

+ 6
- 8
manifests/site.pp View File

@@ -67,19 +67,17 @@ define reviewday::site(
67 67
     }
68 68
   }
69 69
 
70
-  file {'/var/lib/reviewday/reviewday':
71
-    ensure  => directory,
72
-    owner   => 'reviewday',
73
-    group   => 'reviewday',
74
-    mode    => '0755',
75
-    require => File['/var/lib/reviewday/'],
76
-  }
77
-
78 70
   vcsrepo { '/var/lib/reviewday/reviewday':
79 71
     ensure   => latest,
80 72
     provider => git,
81 73
     source   => $git_url,
82 74
     revision => 'master',
75
+    owner    => 'reviewday',
76
+    group    => 'reviewday',
77
+    require  => [
78
+      User['reviewday'],
79
+      Group['reviewday'],
80
+    ]
83 81
   }
84 82
 
85 83
   exec { 'install-reviewday-dependencies':

Loading…
Cancel
Save