7 Commits

Author SHA1 Message Date
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
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
Thom May
66f707a631 Upgrade to latest chefspec 2015-06-23 11:32:59 +01:00
Nathan L Smith
689345ac5c make password file resource sensitive 2015-05-03 23:10:24 -05:00
drag00n
adc0316fc5 Update CAfile path for Debian-based OS.
This fixes [issue
96](https://github.com/opscode-cookbooks/postfix/issues/96). I also
updated the ChefSpec test to reflect the changes.
2014-12-23 22:06:27 -05:00
Patrick Moore
0a42b0722b [COOK-4619] - no way to unset recipient_delimiter
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-05-09 13:51:12 -04:00
Eric G. Wolfe
6eccfa3d55 [COOK-4423] - use platform_family, find cert.pem on rhel
Signed-off-by: Sean OMeara <someara@opscode.com>
2014-03-19 10:25:27 -04:00