Closed fletchowns closed 9 years ago
Maybe the issue is outside of this certificate cookbook? I'm not sure...still trying to get everything to play nice together
https://github.com/xhost-cookbooks/system/issues/7
https://github.com/3ofcoins/chef-cookbook-hostname/issues/30
If you are setting the hostname as part of your chef converge (such as with the hostname cookbook), the certificate_manage resource does not create the expected filenames.
So if you use this:
and your node['fqdn'] was updated during your chef run, then you end up with a file like:
(substitute localhost for whatever your original hostname was)
Instead, you have to ensure the values from the execution phase are used:
Then you end up with a filename like:
I thought it might be helpful if we add a note to the readme in case anybody else gets hung up on this.
Full repro is available here.