Comments (3)
So would you want to recreate these in the event of a failure? Wouldn't you want it to blow up?
from postfix.
We'd love to better understand the appropriate action to take here. If you still have thoughts on this please reopen. Thanks!
from postfix.
Oh, sorry, I didn't see the notifications. IMHO, the appropriate action would be like the code snip above where the update will run if the source (text) has changed or output (db map) is missing.
@cheeseplus I get your point but in this case, no, I wouldn't want it to blow up. If one were managing the files manually and restarted postfix or ran 'newaliases' for example, the DBs would be automatically recreated if missing. There's pretty much no scenario in which I'd want the text to exist without the corresponding DB.
It's a corner case, I think, but the overhead is minuscule and since the standard tools don't make a distinction between 'create' and 'update', it makes sense to have the resource behave similarly.
from postfix.
Related Issues (20)
- Build failing on master? HOT 1
- Support regexp Postfix lookup table HOT 2
- Documentation error on readme: inet-interfaces HOT 1
- Using node.default_unless instead of node.default in _attributes not updated in supermarket HOT 1
- Request: Ability to disable ipv6 HOT 6
- Any reason for no metadata.rb?
- Adding full mailaddress as alias-target is not working HOT 1
- "use_relay_restrictions_maps" misspelt in recipes HOT 4
- `use_relay_restrictions_maps` makes converge fail HOT 2
- Custom Resource HOT 3
- New release to supermarket HOT 2
- Allow setting message_size_limit HOT 1
- postfix tls problem HOT 2
- sasl passwd problems with 5.3.0 HOT 7
- postfix 3.3.0 and a relayhost HOT 5
- Using this cookbook to provision docker containers fails when attempting to do the service start/restart HOT 3
- Not able to set 'smtp_generic_map_entries' in postfix HOT 3
- Postfix not reloaded/restarted after postmap resource for virtual aliases; causes mail delivery problems HOT 3
- SASL packages are hard coded HOT 2
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postfix.