ffnord / ffnord-puppet-gateway

Deploy and manage your Freifunk community gateway, mostly compatible with Gluon.
15 stars 13 forks source link

start alfred only if module is anabled #201

Open rubo77 opened 7 years ago

rubo77 commented 7 years ago

Here there is a line that starts alrfed when fasd is coming up:

https://github.com/ffnord/ffnord-puppet-gateway/blob/master/templates/etc/fastd/fastd.conf.erb#L25

this has to be there only if alfred is installed

rubo77 commented 7 years ago

should be solved with an if-block like

<% if @with_alfred > 0 %>
  ...
<% end %>