Add modules directory

This commit is contained in:
Tom De Vylder 2015-04-22 13:02:05 +02:00
parent da53b256a2
commit 21d9633d5b
2 changed files with 5 additions and 0 deletions

View file

@ -57,6 +57,10 @@ class icingaweb2::config {
$::icingaweb2::web_root:
ensure => directory,
mode => $::icingaweb2::config_dir_mode;
"${::icingaweb2::web_root}/modules":
ensure => directory,
mode => $::icingaweb2::config_dir_mode;
}
# Configure authentication.ini settings

View file

@ -28,6 +28,7 @@ describe 'icingaweb2', :type => :class do
it { should contain_file('/etc/icingaweb2/resources.ini') }
it { should contain_file('/etc/icingaweb2/roles.ini') }
it { should contain_file('/usr/share/icingaweb2') }
it { should contain_file('/usr/share/icingaweb2/modules') }
it { should contain_group('icingaweb2') }
it { should contain_user('icingaweb2') }