refacter: cleanup packages setup
This commit is contained in:
@@ -10,7 +10,7 @@ class profiles::reposync::autosyncer (
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
content => template('profiles/reposync/autosyncer.erb'),
|
||||
require => Class['profiles::packages::reposync'],
|
||||
require => Package['createrepo'],
|
||||
}
|
||||
|
||||
# daily autosyncr service/timer
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# setup a reposync syncer
|
||||
class profiles::reposync::syncer {
|
||||
|
||||
include profiles::packages::reposync
|
||||
include profiles::reposync::autosyncer
|
||||
include profiles::reposync::autopromoter
|
||||
include profiles::reposync::webserver
|
||||
|
||||
@@ -40,9 +40,6 @@ class profiles::reposync::webserver (
|
||||
|
||||
if $::facts['os']['selinux']['config_mode'] == 'enforcing' {
|
||||
|
||||
# include packages that are required
|
||||
include profiles::packages::selinux
|
||||
|
||||
# set httpd_sys_content_t to all files under the www_root
|
||||
selinux::fcontext { $www_root:
|
||||
ensure => 'present',
|
||||
|
||||
Reference in New Issue
Block a user