uvsmtid / common-salt-states

A framework of interrelated states and pillars on top of Saltstack common to other projects.
Apache License 2.0
2 stars 0 forks source link

Use filesystem paths overlays in `file_roots` to provide target pillar data (instead of symlinks in source repositories) #30

Closed uvsmtid closed 8 years ago

uvsmtid commented 8 years ago

There is no need to create symlinks within source profile pillars repository ("overrides") and all other repositories ("commons" and "defaults"). This can be achieved using filesystem paths overlays by configuring file_roots in Salt master (or masterless minion) via configure_salt.py script.

The benefits are:

Make sure to update populate_initial_project_repositories.sh which will require no bootstrap subdirectories in all pillars.

uvsmtid commented 8 years ago

Cross-reference to umbrella task #8.

uvsmtid commented 8 years ago

It's done.

Commit a30bd34404869e5510d5311f3fdf440f56d91975 merges working Salt master auto-configuration (using configure_salt.py script) using filesystem overlays to provide bootstrap target profile. More specifically, the changes to the relevant scripts are done in commit 760f2a27b0a5266a3fe7d1aba487a184dbacdc73.