Commit c45307fc authored by mh's avatar mh

these things are now part of the rpm

parent 740a6c73
......@@ -11,14 +11,7 @@ class schleuder::web(
$use_shorewall = false,
){
require "::scl::${ruby_scl}"
selinux::fcontext{
'/var/www/schleuder-web/db/.*sqlite3':
setype => 'httpd_sys_rw_content_t';
'/var/www/schleuder-web/tmp(/.*)?':
setype => 'httpd_sys_rw_content_t';
'/var/www/schleuder-web/log(/.*)?':
setype => 'httpd_log_t';
} -> package{'schleuder-web':
package{'schleuder-web':
ensure => present,
} -> file{
'/var/www/schleuder-web/config/database.yml':
......@@ -37,22 +30,6 @@ class schleuder::web(
refreshonly => true,
user => 'schleuder-web',
group => 'schleuder-web',
} -> file{
'/etc/logrotate.d/schleuder-web':
content => "/var/www/schleuder-web/*log {
daily
dateext
missingok
rotate 7
compress
copytruncate
notifempty
su schleuder-web schleuder-web
}
",
owner => root,
group => 0,
mode => '0644',
}
if $use_shorewall and $api_host != 'localhost' {
include schleuder::web::shorewall
......
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