PDA

View Full Version : Unable to run custom salt formula



suseben
19-Dec-2018, 08:51
Hi,

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.

Regards,
Ben

suseben
20-Dec-2018, 17:36
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/.