From 728113df8e4c5656e3cab3a2ab2eb5dc4e2d0553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Sun, 9 Apr 2017 15:43:25 +0200 Subject: Migrate++ ( mgapeople ) --- manifests/nodes/alamut.pp | 14 -------------- manifests/nodes/sucuk.pp | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 14 deletions(-) (limited to 'manifests/nodes') diff --git a/manifests/nodes/alamut.pp b/manifests/nodes/alamut.pp index 53380da2..dd8e2a32 100755 --- a/manifests/nodes/alamut.pp +++ b/manifests/nodes/alamut.pp @@ -72,20 +72,6 @@ node alamut { include wikis - class { 'mgapeople': - ldap_server => "ldap.${::domain}", - binddn => 'cn=mgapeople-alamut,ou=System Accounts,dc=mageia,dc=org', - bindpw => extlookup('mgapeople_ldap','x'), - vhost => "people.${::domain}", - vhostdir => "/var/www/vhosts/people.${::domain}", - maintdburl => "http://pkgsubmit.${::domain}/data/maintdb.txt", - } - - class { 'mga-treasurer': - vhost => "treasurer.${::domain}", - vhostdir => "/var/www/vhosts/treasurer.${::domain}", - } - # Forward ports to arm1 and arm2 ssh, to access them from outside xinetd::port_forward {'forward_arm1': target_ip => "arm1.${::domain}", diff --git a/manifests/nodes/sucuk.pp b/manifests/nodes/sucuk.pp index 331f755e..4236b648 100755 --- a/manifests/nodes/sucuk.pp +++ b/manifests/nodes/sucuk.pp @@ -33,6 +33,21 @@ node sucuk { # apache::vhost_simple { "xymon.${::domain}": # location => '/var/lib/xymon/www', # } + + class { 'mgapeople': + ldap_server => "ldap.${::domain}", + binddn => 'cn=mgapeople-alamut,ou=System Accounts,dc=mageia,dc=org', + bindpw => extlookup('mgapeople_ldap','x'), + vhost => "people.${::domain}", + vhostdir => "/var/www/vhosts/people.${::domain}", + maintdburl => "http://pkgsubmit.${::domain}/data/maintdb.txt", + } + + class { 'mga-treasurer': + vhost => "treasurer.${::domain}", + vhostdir => "/var/www/vhosts/treasurer.${::domain}", + } + youri-check::report_www { 'check': } youri-check::config {'config_cauldron': -- cgit v1.2.1