aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/scenario/sender_email.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 16:21:02 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 16:21:02 +0000
commit65dbc8b65a7f98e759c22e14f8546c8c9a559747 (patch)
tree9b5f82aff992ddb0991edc74a7b56ba36a257194 /modules/sympa/manifests/scenario/sender_email.pp
parentd41e3cbf65d55d23734b40411616270d004c6ea7 (diff)
downloadpuppet-65dbc8b65a7f98e759c22e14f8546c8c9a559747.tar
puppet-65dbc8b65a7f98e759c22e14f8546c8c9a559747.tar.gz
puppet-65dbc8b65a7f98e759c22e14f8546c8c9a559747.tar.bz2
puppet-65dbc8b65a7f98e759c22e14f8546c8c9a559747.tar.xz
puppet-65dbc8b65a7f98e759c22e14f8546c8c9a559747.zip
split scenario in a subdirectory, cleaner layout
Diffstat (limited to 'modules/sympa/manifests/scenario/sender_email.pp')
-rw-r--r--modules/sympa/manifests/scenario/sender_email.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/sympa/manifests/scenario/sender_email.pp b/modules/sympa/manifests/scenario/sender_email.pp
new file mode 100644
index 00000000..4f811189
--- /dev/null
+++ b/modules/sympa/manifests/scenario/sender_email.pp
@@ -0,0 +1,6 @@
+define sympa::scenario::sender_email {
+ $sender_email_file = regsubst($name,'\@','-at-')
+ file { "/etc/sympa/scenari/send.restricted_$sender_email_file":
+ content => template('sympa/scenari/sender.email')
+ }
+}