Use a new Prosody Ubuntu repository to be able to update it
This commit is contained in:
parent
49664dbc8d
commit
acf86e4038
@ -18,7 +18,8 @@ end
|
||||
|
||||
apt_repository "prosody" do
|
||||
uri "https://packages.prosody.im/debian"
|
||||
distribution node["lsb"]["codename"]
|
||||
# 15.04 doesn't get new packages anymore, use the ones built for 16.04
|
||||
distribution node["lsb"]["codename"] == "vivid" ? "xenial" : node["lsb"]["codename"]
|
||||
components ["main"]
|
||||
key "https://prosody.im/files/prosody-debian-packages.key"
|
||||
end
|
||||
@ -29,8 +30,10 @@ service "prosody" do
|
||||
action [:enable]
|
||||
end
|
||||
|
||||
include_recipe "5apps-xmpp_server::letsencrypt"
|
||||
unless node.chef_environment == "development"
|
||||
include_recipe "5apps-xmpp_server::letsencrypt"
|
||||
|
||||
# backup the data dir and the config files
|
||||
node.override["backup"]["archives"]["prosody"] = ["/var/lib/prosody", "/etc/prosody"]
|
||||
include_recipe "backup"
|
||||
# backup the data dir and the config files
|
||||
node.override["backup"]["archives"]["prosody"] = ["/var/lib/prosody", "/etc/prosody"]
|
||||
include_recipe "backup"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user