Sha256: cb71cd7769947a6aed86967abed2a26352097d54edc192e936b8051945e38f70

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

if defined?(ChefSpec)
  def create_x509_certificate(name)
    ChefSpec::Matchers::ResourceMatcher.new(:openssl_x509, :create, name)
  end

  def create_dhparam_pem(name)
    ChefSpec::Matchers::ResourceMatcher.new(:openssl_dhparam, :create, name)
  end

  def create_rsa_key(name)
    ChefSpec::Matchers::ResourceMatcher.new(:openssl_rsa_key, :create, name)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/openssl/libraries/matchers.rb
from-scratch-0.6.0 cookbooks/openssl/libraries/matchers.rb
from-scratch-0.5.0 cookbooks/openssl/libraries/matchers.rb
from-scratch-0.3.0 cookbooks/openssl/libraries/matchers.rb
from-scratch-0.2.0 cookbooks/openssl/libraries/matchers.rb