diff options
author | Micah Anderson <micah@leap.se> | 2013-11-20 13:13:47 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-11-27 14:48:00 -0500 |
commit | 52f64689a9db8b7300cadaa850e5d7914cef0b9d (patch) | |
tree | 012272c8d69f772b87b070e1ca73ae9553395f21 /puppet/modules/site_config | |
parent | 69e626d819317ce977007571714dd7a2f1235492 (diff) |
setup some common leap system directories: /var/lib/leap and /var/log/leap
Change-Id: I18aa0ee635d7166676e4bb4384e2b517784a68b0
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r-- | puppet/modules/site_config/manifests/files.pp | 25 |
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 +} |