Commit 69c62d4d authored by mh's avatar mh

it's called selinux

parent cbea9def
......@@ -4,4 +4,5 @@ mod 'puppetlabs-stdlib'
mod 'puppetlabs-concat', '~> 1.2.5'
mod 'puppet-healthcheck'
mod 'scl', :git => 'https://git-ipuppet.immerda.ch/module-scl'
mod 'selinux', :git => 'https://git-ipuppet.immerda.ch/module-selinux'
......@@ -11,7 +11,7 @@ class schleuder::web(
$use_shorewall = false,
){
require "::scl::${ruby_scl}"
semanage::fcontext{
selinux::fcontext{
'/var/www/schleuder-web/db/.*sqlite3':
setype => 'httpd_sys_rw_content_t';
'/var/www/schleuder-web/tmp(/.*)?':
......
......@@ -4,6 +4,7 @@ describe 'schleuder::web' do
let(:facts){
{
:operatingsystem => 'CentOS',
:operatingsystemmajrelease => '7',
:concat_basedir => '/tmp',
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment