diff --git a/cookbooks/aws-parallelcluster-slurm/test/controls/munge_spec.rb b/cookbooks/aws-parallelcluster-slurm/test/controls/munge_spec.rb index 1a15a353cc..fdf257cf9a 100644 --- a/cookbooks/aws-parallelcluster-slurm/test/controls/munge_spec.rb +++ b/cookbooks/aws-parallelcluster-slurm/test/controls/munge_spec.rb @@ -35,25 +35,19 @@ end end unless os_properties.redhat_on_docker? -# FIXME: Re-enabled the following check and fix failures -# control 'tag:install_munge_folders_created' do -# title 'Munge folder have been created' -# -# describe file('/var/log/munge') do -# it { should exist } -# it { should be_directory } -# end -# -# describe file('/etc/munge') do -# it { should exist } -# it { should be_directory } -# end -# -# describe file('/var/run/munge') do -# it { should exist } -# it { should be_directory } -# end -# end unless os_properties.redhat_on_docker? +control 'tag:install_munge_folders_created' do + title 'Munge folder have been created' + + describe file('/var/log/munge') do + it { should exist } + it { should be_directory } + end + + describe file('/etc/munge') do + it { should exist } + it { should be_directory } + end +end unless os_properties.redhat_on_docker? control 'tag:config_munge_service_enabled' do only_if { node['cluster']['scheduler'] == 'slurm' && !os_properties.redhat_on_docker? }