Closed hackel closed 6 years ago
@hackel what should the alternatives.set be when you only install fpm?
just trying to figure out if you are correct in moving it to cli/install.sls
@aboe76 As far as I know, php-fpm doesn't install any alternatives. The only binary is /usr/sbin/php7.1-fpm which shouldn't conflict with anything. Only cli needs to mange /usr/bin/php.
Wouldn't it be better to move the link to the cli install.sls then if it's only meant for cli stuff.
@aboe76 Yes, I think so. I tried to change as little as possible for this PR to make it work. :)
@sc250024 Could you chime in on this, since you just added the alternatives bit recently.
@hackel is this still an issue?with #129 merged?
I think #135 is a better fix
@hackel I think this can be closed now?
Trying to update my servers from php 7.0 to to 7.1 by upgrading to the latest release of this formula after #115. I get the following error:
This was because I need both php-fpm and the php cli. I simply restricted the rule to state==cli, but should this be moved into cli/install.sls instead?