aboutsummaryrefslogtreecommitdiff
path: root/manifests/jabber.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:09:03 -0300
commitfe1c86b8f938283e9dd8196a8b11a9648f4b49e6 (patch)
treec2d999eca03862a3e4af57e0885397adf6bbc6ec /manifests/jabber.pp
parentec5c750d12bdc7948bb3c04f0c72817718a0bf47 (diff)
downloadpuppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.gz
puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.bz2
Major refactor
Diffstat (limited to 'manifests/jabber.pp')
-rw-r--r--manifests/jabber.pp36
1 files changed, 0 insertions, 36 deletions
diff --git a/manifests/jabber.pp b/manifests/jabber.pp
deleted file mode 100644
index 775987d..0000000
--- a/manifests/jabber.pp
+++ /dev/null
@@ -1,36 +0,0 @@
-class nodo::jabber inherits nodo::vserver {
- include ssl
- include ejabberd
-
- # We can offer jabber web access in a web node, so
- # we leave this out.
- #
- #include websites::setup
- #
- #package { 'jwchat':
- # ensure => present,
- #}
-
- host { "chat":
- ensure => present,
- ip => "127.0.0.1",
- host_aliases => [ "chat.${domain}" ],
- }
-
- file { [ "/etc/ejabberd/ssl", "/etc/ejabberd/ssl/certs", "/etc/ejabberd/ssl/private" ]:
- ensure => directory,
- owner => "root",
- group => "ejabberd",
- mode => 0750,
- }
-
- # We use a concatenated cert file
- # http://site4fast.blogspot.com.br/2011/10/ejabberd-ssl-how-to.html
- ssl::cert { "cert-concat":
- owner => 'ejabberd',
- group => 'ejabberd',
- base => '/etc/ejabberd/ssl',
- notify => Service['ejabberd'],
- require => File['/etc/ejabberd/ssl/private'],
- }
-}