-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Defining saltenv options in gitfs_remotes are not rendered correctly. #470
Comments
@bennodepenno Thanks for the report. This is known problem with the pillar approach, so we're in the process of moving to providing master/minion configuration files via. TOFS instead, which was implemented in #398 (specifically starting from #398 (comment)). It's working but there are steps remaining to make it easier for users to adopt (#417). An example of helping someone getting it working has been captured around here: Hopefully, there's enough there to help you work out how to provide the configuration files via. TOFS. We were hoping for some documentation to be provided but that's not the case so far. If you need further help, feel free to start a conversation in the #formulas channel in Slack (also available via. IRC). |
Thank you for your reply. I will look into TOFS and the examples provided. Thank you for your time and effort. |
@bennodepenno This should be the correct link, please let me know if it doesn't work:
|
Thanks for all the help. |
Your setup
Formula commit hash / release tag
f10a85f
Versions reports (master & minion)
Salt Version:
Salt: 3000.3
Dependency Versions:
cffi: 1.6.0
cherrypy: Not Installed
dateutil: Not Installed
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.7.2
libgit2: 0.26.3
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: 2.14
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: 0.26.4
Python: 2.7.5 (default, Apr 2 2020, 13:16:51)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.3.0
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.1.4
System Versions:
dist: centos 7.8.2003 Core
locale: ANSI_X3.4-1968
machine: x86_64
release: 3.10.0-1127.8.2.el7.x86_64
system: Linux
version: CentOS Linux 7.8.2003 Core
Pillar / config used
Bug details
Describe the bug
Hi,
I'm having issues using the salt-formula when using gitfs_remotes. In my pillar, I've specified:
When rendered, the output shows:
It's this line which is incorrect:
[{u'uv': [{u'ref': u'master'}, {u'mountpoint': u'salt://bind'}]}]
.Steps to reproduce the bug
Use the pillar set and execute the salt formula on target host. The salt run will succeed but the resulting file
/etc/salt/master.d/f_defaults.conf
contains the incorrect configuration.Expected behaviour
Attempts to fix the bug
I've attempted some suggestions to use "{ -uv: }" and "{[ -uv ]}" without luck.
Additional context
The text was updated successfully, but these errors were encountered: