summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-20 13:13:47 -0500
committerMicah Anderson <micah@leap.se>2013-11-27 14:48:00 -0500
commit52f64689a9db8b7300cadaa850e5d7914cef0b9d (patch)
tree012272c8d69f772b87b070e1ca73ae9553395f21
parent69e626d819317ce977007571714dd7a2f1235492 (diff)
setup some common leap system directories: /var/lib/leap and /var/log/leap
Change-Id: I18aa0ee635d7166676e4bb4384e2b517784a68b0
-rw-r--r--puppet/modules/site_config/manifests/files.pp25
1 files changed, 19 insertions, 6 deletions
diff --git a/puppet/modules/site_config/manifests/files.pp b/puppet/modules/site_config/manifests/files.pp
index 03c9aff8..684d3ad0 100644
--- a/puppet/modules/site_config/manifests/files.pp
+++ b/puppet/modules/site_config/manifests/files.pp
@@ -1,10 +1,23 @@
class site_config::files {
- file { '/srv/leap':
- ensure => directory,
- owner => 'root',
- group => 'root',
- mode => '0711'
+ file {
+ '/srv/leap':
+ ensure => directory,
+ owner => 'root',
+ group => 'root',
+ mode => '0711';
+
+ '/var/lib/leap':
+ ensure => directory,
+ owner => root,
+ group => 'root',
+ mode => '0755';
+
+ '/var/log/leap':
+ ensure => directory,
+ owner => root,
+ group => 'adm',
+ mode => '0750';
}
-} \ No newline at end of file
+}