
Add acceptance tests for puppet-cgit module so that once the module is applied we check if files were created, packages were installed and services were started. Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com> Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com> Change-Id: I8d12999b6d91f1ab67fa16d6bbd8bc1d2efa3a05
17 lines
438 B
Ruby
17 lines
438 B
Ruby
require 'spec_helper_acceptance'
|
|
|
|
describe 'selinux', :if => ['fedora', 'redhat'].include?(os[:family]) do
|
|
describe selinux do
|
|
it { should be_permissive }
|
|
end
|
|
|
|
describe command('getsebool httpd_enable_cgi') do
|
|
its(:stdout) { should match 'httpd_enable_cgi --> on' }
|
|
end
|
|
|
|
describe command('semanage port --list') do
|
|
its(:stdout) { should match 'http_port_t' }
|
|
its(:stdout) { should match 'git_port_t' }
|
|
end
|
|
end
|