add custom fact to get occ status
php occ status --ansi --output=plain
- installed: true
- version: 18.0.1.3
- versionstring: 18.0.1
- edition:
php occ status --ansi --output=json
{"installed":true,"version":"18.0.1.3","versionstring":"18.0.1","edition":""}
It is interesting to know that installed is true or no to trigger occ install command or not.
Edited by Fabien Combernous