Comments (4)
I've opened #137 for this
from postfix.
This is resolved with 5.0.2. Thanks for reporting.
from postfix.
With this fixed, I'm now running into a problem with the "default" attribute. I have override["postfix"]["use_relay_restrictions_maps"] = true
in my attributes
The following error occurs on my server, but I can't make reproduce in a Chefspec file:
NameError
---------
undefined local variable or method `default' for cookbook: postfix, recipe: _attributes :Chef::Recipe
Cookbook Trace:
---------------
/website/config/local-mode-cache/cache/cookbooks/postfix/recipes/_attributes.rb:62:in `from_file'
/website/config/local-mode-cache/cache/cookbooks/postfix/recipes/_common.rb:20:in `from_file'
/website/config/local-mode-cache/cache/cookbooks/postfix/recipes/default.rb:20:in `from_file'
/website/config/local-mode-cache/cache/cookbooks/postfix/recipes/server.rb:24:in `from_file'
/website/config/local-mode-cache/cache/cookbooks/website/recipes/email.rb:1:in `from_file'
/website/config/local-mode-cache/cache/cookbooks/website/recipes/default.rb:13:in `from_file'
Relevant File Content:
----------------------
/website/config/local-mode-cache/cache/cookbooks/postfix/recipes/_attributes.rb:
55: end
56:
57: if node['postfix']['use_virtual_aliases_domains']
58: node.default_unless['postfix']['main']['virtual_alias_domains'] = ["#{node['postfix']['virtual_alias_domains_db_type']}:#{node['postfix']['virtual_alias_domains_db']}"]
59: end
60:
61: if node['postfix']['use_relay_restrictions_maps']
62>> default['postfix']['main']['smtpd_relay_restrictions'] = "hash:#{node['postfix']['relay_restrictions_db']}, reject"
63: end
64:
65: if node['postfix']['master']['maildrop']['active']
66: node.default_unless['postfix']['main']['maildrop_destination_recipient_limit'] = 1
67: end
68:
69: if node['postfix']['master']['cyrus']['active']
70: node.default_unless['postfix']['main']['cyrus_destination_recipient_limit'] = 1
71: end
System Info:
------------
chef_version=13.0.118
platform=debian
platform_version=8.4
ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
program_name=chef-client worker: ppid=24924;start=20:27:43;
executable=/opt/chef/bin/chef-client
from postfix.
Can you open a new issue with the error as this is a separate issue rather than the misspelled attribute.
Thanks!
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` 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.