saltstack-formulas / php-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
57 stars 232 forks source link

Debian 9 - Package 'php5' has no installation candidate #148

Closed bogdanr closed 5 years ago

bogdanr commented 6 years ago

The map doesn't account that PHP5 is not in Debian 9 anymore thus this error is produced:

          ID: php
    Function: pkg.installed
        Name: php5
      Result: False
     Comment: Problem encountered installing package(s). Additional info follows:

              errors:
                  - Running scope as unit: run-r5900112157714843a8cfd57e485e060b.scope
                    E: Package 'php5' has no installation candidate
     Started: 09:38:29.168245
    Duration: 1633.797 ms

I guess one fix would be to have the map treat Debian 9 separately.