Confusion around using gitfs for Salt configuration.
Hello! My team and I have been working through evaluating Uyuni and we have an existing git repository with all our Salt states. The documentation here: https://www.uyuni-project.org/uyuni-docs/en/uyuni/salt/salt-gitfs.html states that we can use gitfs as the file-server backend but this does not seem to be reflected in the Uyuni Web UI. We added a configuration file to /etc/salt/master/master.d with our git remotes and get all expected values when running salt '*' cp.list_master_dirs. So, it appears that from the Salt perspective the configuration is working but the Uyuni UI does not reflect any managed states. What exactly is expected when using git remotes for Salt state/configuration?
Hi Kiyotoshi. It's right. The states are not reflecting to the UI. You can use the states in the Config states channels with `include`. This configuration make sense for Salt, but not for web UI. Victor ________________________________ From: Kiyotoshi Ichikawa <kichikawa@summitracing.com> Sent: Tuesday, December 28, 2021 3:05:31 AM To: users@lists.uyuni-project.org <users@lists.uyuni-project.org> Subject: Confusion around using gitfs for Salt configuration. Hello! My team and I have been working through evaluating Uyuni and we have an existing git repository with all our Salt states. The documentation here: https://www.uyuni-project.org/uyuni-docs/en/uyuni/salt/salt-gitfs.html states that we can use gitfs as the file-server backend but this does not seem to be reflected in the Uyuni Web UI. We added a configuration file to /etc/salt/master/master.d with our git remotes and get all expected values when running salt '*' cp.list_master_dirs. So, it appears that from the Salt perspective the configuration is working but the Uyuni UI does not reflect any managed states. What exactly is expected when using git remotes for Salt state/configuration?
Thank you for the swift response Victor! Are there any plans to better support storing Salt states completely in a remote repository?
participants (2)
-
Kiyotoshi Ichikawa
-
Victor Zhestkov