-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic zone and managed zone files #104
Comments
In this formula all records are from pillar. This means each time the formula is run it will remove anything not in pillar anymore, so if you're adding things into the zonefile by some other method than salt they will get removed on the next state run. The only way I can see this potentially working is to have the ability to add an |
Perhaps we can only add a parameter on the available_zones "dynamic: True" (default to False) that will set the parameter "replace=False" on the file.managed zones ? |
Also I think we can add a dependency on the service if there are some included files :
|
Managing whole files with a tool like Salt and adding records dynamically, if definitelly not something that will end well 😋 The solution I think would work for you is to add a state ( Obviously, those zone files should be exclusivelly populated/managed with that state, but I think it's doable. WDYT? |
Hi,
Is there anyway to not erase existing records in a zone file ?
We use dynamic records, so each time we run salt, the zone file is reseted
Best regards,
The text was updated successfully, but these errors were encountered: