Open taranlu-houzz opened 4 years ago
Try to use root
parameter https://docs.saltproject.io/en/latest/ref/configuration/master.html#std-conf_master-gitfs_root
gitfs_remotes:
- https://github.com/saltstack-formulas/mysql-formula.git:
- mountpoint: salt://external
- root: mysql
This is a known issue since a long time.
The proper solution would be to use salt.modules.slsutil.findup but it has a major issue for salt-ssh
and is waiting 3007.
Your setup
Formula commit hash / release tag
Using default, so I would assume that would be either
master
orbase
.Versions reports (master & minion)
master:
minion:
Pillar / config used
No pillar config.
Bug details
Describe the bug
Adding a different mountpoint (e.g.
salt://external
) for the gitfs seems to break things:It looks like it is mistakenly trying to look for
external/defaults.yaml
when it should be something more likeexternal/mysql/defaults.yaml
or maybeexternal/mysql-formula/mysql/defaults.yaml
.Steps to reproduce the bug
Add the following entry to
/etc/salt/master
config:Expected behaviour
I would expect the formula to be able to handle having a different mountpoint in the file server.