From 1bc53788a7a1118ab14327e5a56fd9a0c6f2b2c8 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 19 Mar 2012 16:21:08 +0000 Subject: split ldap_group_datasource in a separate file and directory, and rename it --- modules/sympa/manifests/init.pp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'modules/sympa/manifests/init.pp') diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp index c97b04e7..939cfbd8 100644 --- a/modules/sympa/manifests/init.pp +++ b/modules/sympa/manifests/init.pp @@ -88,17 +88,11 @@ class sympa { } } - define ldap_group_datasource { - file { "/etc/sympa/data_sources/$name.incl": - content => template('sympa/data_sources/ldap_group.incl') - } - } - # add each group that could be used in a sympa ml either as # - owner # - editor ( moderation ) - ldap_group_datasource { "mga-sysadmin": } - ldap_group_datasource { "mga-ml_moderators": } + sympa::datasource::ldap_group { "mga-sysadmin": } + sympa::datasource::ldap_group { "mga-ml_moderators": } # directory that will hold the list data -- cgit v1.2.1