Unable to run custom salt formula


I am trying the custom salt formula in SUSE Manager 3.2. I have downloaded the salt formula (e.g. apache) from git hub and saved to /srv/salt/apache and then create a form.yml in /srv/formula-metadata/apache, according to the SUSE Manager documentation. The apache formula has successfully displayed in SUSE Manager WebUI and added to a system.

However, when I check the highstate of the system. It displays the error message: “Specified SLS apache in saltenv base is not available on the salt master or through a configured fileserver”.

Do I miss some steps? Please help. Thanks.


Fixed. Need to place the apache directory of the downloaded files immediately under /srv/salt/ , i.e. the init.sls should be located in /srv/salt/apache/.