From f2f60686d368b47fe4ec632263b5e44104e69758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Sun, 21 Feb 2016 01:19:33 +0100 Subject: [PATCH] Add firewall rule for port 8080 (express for hubot) --- .../kosmos-hubot/recipes/default.rb | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/site-cookbooks/kosmos-hubot/recipes/default.rb b/site-cookbooks/kosmos-hubot/recipes/default.rb index 99c5a0a..12668af 100644 --- a/site-cookbooks/kosmos-hubot/recipes/default.rb +++ b/site-cookbooks/kosmos-hubot/recipes/default.rb @@ -7,6 +7,12 @@ # All rights reserved - Do Not Redistribute # +firewall_rule 'hubot_express' do + port 8080 + protocol :tcp + command :allow +end + include_recipe "kosmos-nodejs" include_recipe "kosmos-redis" @@ -37,15 +43,15 @@ application "hal8000" do owner "hubot" group "hubot" content [ - "hubot-help", - "hubot-read-tweet", - "hubot-redis-brain", - "hubot-rules", - "hubot-shipit", - "hubot-plusplus", - "hubot-tell", - "hubot-seen", - "hubot-rss-reader", + "hubot-help", + "hubot-read-tweet", + "hubot-redis-brain", + "hubot-rules", + "hubot-shipit", + "hubot-plusplus", + "hubot-tell", + "hubot-seen", + "hubot-rss-reader", "hubot-openassets", "hubot-auth" ].to_json