Only set up Tor when not in the dev environment

This commit is contained in:
Greg Karékinian 2019-11-04 19:02:03 +01:00
parent 786a71cee2
commit ef79434cb5

View File

@ -139,11 +139,11 @@ unless node.chef_environment == "development"
protocol :tcp protocol :tcp
command :allow command :allow
end end
end
# #
# Tor hidden service # Tor hidden service
# #
# The attributes for the hidden service are set in attributes/default.rb, due # The attributes for the hidden service are set in attributes/default.rb, due
# to the way the tor-full cookbook builds the path to the hidden service dir # to the way the tor-full cookbook builds the path to the hidden service dir
include_recipe "tor-full" include_recipe "tor-full" unless node.chef_environment == "development"
end