You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Premise: Our saltmaster is stateless, so we can just delete the machine our autoscaling group will recreate it and all minions going to connect.
Our saltmaster will create the database, setup users and fetches the mysql dump from s3 and load it.
If i understand the SLS correctly schema load ({{ state_id }}_load) will always be triggered when the schema file is being handled ({{ state_id }}_schema). This is because of - watch: - file: {{ state_id }}_schema.
Is this expected behaviour? Once the database is created it should load the schema. It shouldn't load the schema file or execute another schema import.
Thoughts?
The text was updated successfully, but these errors were encountered:
Premise: Our saltmaster is stateless, so we can just delete the machine our autoscaling group will recreate it and all minions going to connect.
Our saltmaster will create the database, setup users and fetches the mysql dump from s3 and load it.
If i understand the SLS correctly schema load (
{{ state_id }}_load
) will always be triggered when the schema file is being handled ({{ state_id }}_schema
). This is because of- watch: - file: {{ state_id }}_schema
.Is this expected behaviour? Once the database is created it should load the schema. It shouldn't load the schema file or execute another schema import.
Thoughts?
The text was updated successfully, but these errors were encountered: