diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-19 17:57:29 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-19 17:57:29 +0000 |
commit | 20aa87e3809cdadc2b9bb71d9cb618267b551b0b (patch) | |
tree | a9dd2999764c61b74dd89c7121d817dfc8ff8097 /modules/phpbb/manifests/redirection_instance.pp | |
parent | 7f6682cfb0639fe64b8ac79554b9d3164c462b36 (diff) | |
download | puppet-20aa87e3809cdadc2b9bb71d9cb618267b551b0b.tar puppet-20aa87e3809cdadc2b9bb71d9cb618267b551b0b.tar.gz puppet-20aa87e3809cdadc2b9bb71d9cb618267b551b0b.tar.bz2 puppet-20aa87e3809cdadc2b9bb71d9cb618267b551b0b.tar.xz puppet-20aa87e3809cdadc2b9bb71d9cb618267b551b0b.zip |
split php into seperate file
Diffstat (limited to 'modules/phpbb/manifests/redirection_instance.pp')
-rw-r--r-- | modules/phpbb/manifests/redirection_instance.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/phpbb/manifests/redirection_instance.pp b/modules/phpbb/manifests/redirection_instance.pp new file mode 100644 index 00000000..48446d3e --- /dev/null +++ b/modules/phpbb/manifests/redirection_instance.pp @@ -0,0 +1,7 @@ +define phpbb::redirection_instance($url) { + $lang = $name + file { "/etc/httpd/conf/vhosts.d/forums.d/redirect_$name.conf": + content => template('phpbb/forums_redirect.conf'), + notify => Exec['service httpd configtest'], + } +} |