Initial version of the cookbook to install prosody

This commit is contained in:
Greg Karékinian
2016-10-13 15:51:03 +02:00
parent cb2922b1c9
commit 2c2cdeb15a
4 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#
# Cookbook Name:: 5apps-xmpp_server
# Recipe:: default
#
# Copyright 2016, 5apps
#
# All rights reserved - Do Not Redistribute
#
firewall_rule "xmpp" do
port [5222, 5269]
protocol :tcp
command :allow
end
apt_repository "prosody" do
uri "https://packages.prosody.im/debian"
distribution node["lsb"]["codename"]
components ["main"]
key "https://prosody.im/files/prosody-debian-packages.key"
end
package "prosody"
# TODO: Generate the config files