Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Commit

Permalink
Converge an openssl_x509 resource
Browse files Browse the repository at this point in the history
This ensures we know that the LWRP will at least converge using example
attributes.
  • Loading branch information
jtimberman committed Jan 5, 2015
1 parent 1379ba8 commit c171c90
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ suites:
openssl:
restart_services:
- postfix
- name: lwrp
run_list:
- recipe[test::lwrp]
2 changes: 1 addition & 1 deletion Berksfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://api.berkshelf.com'
source 'https://supermarket.chef.io'

metadata

Expand Down
1 change: 1 addition & 0 deletions test/fixtures/cookbooks/test/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
license 'Apache 2.0'
description 'Installs/Configures test'
version '0.1.0'
depends 'openssl'
10 changes: 10 additions & 0 deletions test/fixtures/cookbooks/test/recipes/lwrp.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
directory '/etc/ssl_test' do
recursive true
end

openssl_x509 '/etc/ssl_test/mycert.crt' do
common_name 'mycert.example.com'
org 'Test Kitchen Example'
org_unit 'Kitchens'
country 'UK'
end

0 comments on commit c171c90

Please sign in to comment.