Hello, as you probably all know in the meantime, profile/foo.sls is the same as profile/foo/init.sls (at least from Salt's POV - both are "profile.foo") To keep the main directories in our Salt repo clean, can we please apply the following policy? - if there's only foo.sls, but no foo/ directory, use foo.sls - if a foo/ subdirectory exists, use foo/init.sls (NOT foo.sls) - if you add a foo/ directory later, move foo.sls to foo/init.sls In practise, this means for our current salt repo: a) files to move: - salt/profile/accounts.sls -> salt/profile/accounts/init.sls - salt/profile/zypper.sls -> salt/profile/zypper/init.sls b) unchanged: - salt/profile/regional.sls (because there's no salt/profile/regional/ subdirectory) - lots of files in other directories ;-) I'd like to apply this policy for all directories, even if it currently only affects salt/profile/ If nobody objects, I'll document this in the wiki in a few days. FYI: This started in the discussion of https://gitlab.opensuse.org/infra/salt/merge_requests/4 You'll find some more verbose comments there ;-) Regards, Christian Boltz -- Tut mir leid. Tu hast dich dafür entschieden, Computer zu benutzen. Aus irgendeinem Grunde glaubst du, das sei risikofrei. Ich versichere dir, daß es das nicht ist. Computer sind böse, rostige, alte Kettensägen, die grundlos anspringen. [Ratti in suse-linux] -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
participants (1)
-
Christian Boltz