4 Commits

Author SHA1 Message Date
Tim Smith
3ea284d576 Merge branch 'master' of git://github.com/voroniys/postfix into voroniys-master 2017-01-17 23:50:55 -08:00
Tim Smith
82aec2f311 Fix wrapper cookbook in the specs completely failing
It’s still broken, but now it actually tests

Signed-off-by: Tim Smith <tsmith@chef.io>
2017-01-17 23:32:22 -08:00
Stanislav Voroniy
c9613ac670 Fixes for Travis CI 2015-09-11 14:56:12 +02:00
Matthieu Vachon
3445567364 Using node.default_unless instead of node.default in _attributes
* Wrapper cookbook usually uses default level to override attributes
   of the wrapped cookbook. Here, we had a problem because if the
   wrapper cookbook was enabling sasl and was setting a relayhost
   and a user/password combination using the default level, this was
   not working because _attributes resets those attributes.

   To fix this, we now use node.default_unless which will set the
   attribute only if it's not already set ensuring that wrapper
   cookbook overriden attributes using default level are correctly
   kept when computing derived attributes.
2015-08-27 17:17:30 -04:00