Merge "Add order to cgit package"

This commit is contained in:
Zuul 2018-06-19 23:12:16 +00:00 committed by Gerrit Code Review
commit 3c5cae109d
1 changed files with 3 additions and 2 deletions

View File

@ -67,8 +67,6 @@ class cgit(
$daemon_port = 9418
}
include ::httpd
package { [
'git-daemon',
'highlight',
@ -78,8 +76,11 @@ class cgit(
package { 'cgit':
ensure => present,
install_options => ['--enablerepo', 'epel'],
before => Class['::httpd'],
}
include ::httpd
user { 'cgit':
ensure => present,
home => '/home/cgit',