Update cookbooks and add wordpress cookbook
This commit is contained in:
13
cookbooks/openssl/libraries/matchers.rb
Normal file
13
cookbooks/openssl/libraries/matchers.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user