Add modules directory
This commit is contained in:
parent
da53b256a2
commit
21d9633d5b
2 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,10 @@ class icingaweb2::config {
|
||||||
$::icingaweb2::web_root:
|
$::icingaweb2::web_root:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => $::icingaweb2::config_dir_mode;
|
mode => $::icingaweb2::config_dir_mode;
|
||||||
|
|
||||||
|
"${::icingaweb2::web_root}/modules":
|
||||||
|
ensure => directory,
|
||||||
|
mode => $::icingaweb2::config_dir_mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Configure authentication.ini settings
|
# Configure authentication.ini settings
|
||||||
|
|
|
@ -28,6 +28,7 @@ describe 'icingaweb2', :type => :class do
|
||||||
it { should contain_file('/etc/icingaweb2/resources.ini') }
|
it { should contain_file('/etc/icingaweb2/resources.ini') }
|
||||||
it { should contain_file('/etc/icingaweb2/roles.ini') }
|
it { should contain_file('/etc/icingaweb2/roles.ini') }
|
||||||
it { should contain_file('/usr/share/icingaweb2') }
|
it { should contain_file('/usr/share/icingaweb2') }
|
||||||
|
it { should contain_file('/usr/share/icingaweb2/modules') }
|
||||||
|
|
||||||
it { should contain_group('icingaweb2') }
|
it { should contain_group('icingaweb2') }
|
||||||
it { should contain_user('icingaweb2') }
|
it { should contain_user('icingaweb2') }
|
||||||
|
|
Loading…
Reference in a new issue