Hi, I'm trying to build up my AppVms with saltstack and currently stuck with updating my firefox profile because it's located in a randomly generated directory (where xxxxxxx are random alpha-numerics): /home/user/.mozilla/firefox/xxxxxxx.default-release/prefs.js
1st try with file.append from saltstack seems not to work with wildcards: /home/user/.mozilla/firefox/*.default-release/prefs.js: file.append: - text: - user_pref("browser.startup.homepage", "https://www.ecosia.org/"); 2nd try with a for loop also fails: {% for file in salt[cmd.run']('ls -l /home/user/.mozilla/firefox/*.default-release/prefs.js') %} {{ file }} { file.find type=f name='/home/user/.mozilla/firefox/*.default-release/prefs.js' } file.append: - text: - user_pref("browser.startup.homepage", "https://www.ecosia.org/"); {% endfor %} Do you have a 3rd working example/suggestion? Thanks in advance! P. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/83355a10-4690-0abb-2f6d-5fe90a7a2ce6%40gmx.de.