changeset 74:c2e5027202e2 puppet-3.6

Add missing dependency for Trac Subversion support on CentOS 7
author IBBoard <dev@ibboard.co.uk>
date Sun, 25 Oct 2015 20:55:19 +0000
parents f413aba301be
children e7370fb20f1d
files manifests/templates.pp
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Oct 25 20:28:43 2015 +0000
+++ b/manifests/templates.pp	Sun Oct 25 20:55:19 2015 +0000
@@ -339,7 +339,14 @@
 		$mysqlpackage = 'mariadb'
 		$mysqlsuffix = ''
 
-		package { 'policycoreutils-python': ensure => installed }
+		$extra_packages = [
+			'policycoreutils-python', # Required for SELinux
+			'python-subversion' #Required for Trac
+		]
+
+		package { $extra_packages:
+			 ensure => installed
+		}
 	}
 	else {
 		$mysqlpackage = 'mysql'