chef-boneyard/openssl

openssl_dhparam should trigger notifications only if updated

Closed this issue · 3 comments

openssl_dhparam should trigger notifications only if updated.

openssl_dhparam '/etc/ssl/dhparam.pem' do
  key_length 4096
  generator 2
  # Bugged: triggers every time even if the file is up to date
  notifies :restart, 'service[nginx]', :delayed
end

same for openssl_rsa_key

@dmromanov thanks for filing this issue. We're working on a resource rewrite in PR #46 that should resolve this.

tas50 commented

This is fixed on master and I'll have a release out ASAP