ffnord / ffnord-puppet-gateway

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

Rebuild alfred on apply #95

Open sargon opened 9 years ago

sargon commented 9 years ago

Continuing #25.

We should have a merge hook in the alfred source clone, which is rebuilding the tool when some changes are incoming. There should also be an update-source tool, in the fashion of the other update-X scripts we already have.

Otherwise, is there a clean way to do this in debian directly, so maybe the package manager likes us more. And we have ongoing controll over init scripts'n stuff.

rubo77 commented 7 years ago

At the moment alfred is not installed correctly when running puppet.

this fixes it:

cd /opt/alfred
make install  CONFIG_ALFRED_CAPABILITIES=n

maybe we should add a second block here:

https://github.com/ffnord/ffnord-puppet-gateway/blob/master/manifests/alfred.pp#L37

 exec { 'alfred':
    command => '/usr/bin/make install CONFIG_ALFRED_CAPABILITIES=n',
    cwd => '/opt/alfred/',
    ...
Tarnatos commented 7 years ago

This bug was not reproducible on my last setups. An extra make install cmd is not necessary. It just didn't come up during puppet because of #205