diff --git a/manifests/install.pp b/manifests/install.pp index 1b7d3cf..eec4045 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -10,6 +10,15 @@ group => $nextcloud::system_group, } + if ($facts['os']['family'] == 'Debian') or ($facts['os']['family'] == 'Ubuntu') { + file { '/var/db': + ensure => directory, + owner => 'root', + group => 'root', + mode => '0755', + } + } + # Record Nextcloud's datadirectory, so that it can be used by the custom fact. file { 'Create data statefile': ensure => file,