Created
October 19, 2012 15:16
-
-
Save leifmadsen/3918769 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service "opensips" do | |
supports :status => true, :restart => true | |
action [ :enable, :start ] | |
end | |
## Post opensips start configuration | |
fs_list.each do |fs| | |
execute "trusted_fs" do | |
command "/usr/sbin/opensipsctl trusted add #{fs.va_public_ipaddress} any" | |
action :run | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment