ssl_cert CHANGELOG
==================
+0.3.9
+-----
+- adds the Concourse pipeline configuration.
+- revises documents.
+
0.3.8
-----
- bug fix: follows Debian family's certificates symlink rule.
source 'https://rubygems.org'
-#gem 'foodcritic'
+# with Chef DK
+gem 'stove'
- grant reference permission to the appropriate nodes
```text
-$ knife vault update ssl_server_keys node.example.com.prod -S 'name:node.example.com.prod'
-$ knife vault update ssl_server_certs node.example.com.prod -S 'name:node.example.com.prod'
+$ knife vault update ssl_server_keys node.example.com.prod -S 'name:node.example.com'
+$ knife vault update ssl_server_certs node.example.com.prod -S 'name:node.example.com'
```
- add cookbook attributes
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'foodcritic'
+require 'stove/rake_task'
namespace :style do
desc 'Run Ruby style checks'
desc 'Run ChefSpec examples'
RSpec::Core::RakeTask.new(:spec)
+desc 'Publish cookbook'
+Stove::RakeTask.new(:publish) do |t|
+ t.stove_opts = [
+ '--no-git',
+ ]
+end
+
task default: ['style', 'spec']
--- /dev/null
+---
+# $ fly -t target sp -p ssl_cert-cookbook -c concourse.yml -l ~/credentials.yml
+resources:
+- name: src-git
+ type: git
+ source:
+ uri: git://git.osdn.net/gitroot/metasearch/grid-chef-repo.git
+ branch: master
+- name: chefdk-cache
+ type: docker-image
+ source:
+ repository: chef/chefdk
+ tag: 0.17.17
+ registry_mirror: {{registry-mirror}} # e.g. https://registry.docker.example.com:5000
+ ca_certs:
+ - domain: {{registry-mirror-domain}} # e.g. registry.docker.example.com:5000
+ cert: {{docker-reg-ca-cert}}
+
+jobs:
+- name: build-cookbook
+ plan:
+ - get: src-git
+ trigger: false
+ - get: chefdk-cache
+ - task: ci-build
+ image: chefdk-cache
+ config:
+ platform: linux
+
+ #image_resource:
+ # type: docker-image
+ # source:
+ # repository: chef/chefdk
+ # tag: 0.17.17
+ # NG, setting disable
+ #registry_mirror: {{registry-mirror}}
+ #ca_certs:
+ #- domain: {{registry-mirror-domain}}
+ # cert: {{docker-reg-ca-cert}}
+
+ inputs:
+ - name: src-git
+
+ run:
+ #dir: ./src-git/cookbooks/ssl_cert
+ #path: rake
+ path: /bin/bash
+ args:
+ - -c
+ - |
+ cd ./src-git/cookbooks/ssl_cert
+ bundle install
+ rake
license 'Apache 2.0'
description 'Installs/Configures ssl_cert'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
-version '0.3.8'
+version '0.3.9'
source_url 'http://scm.osdn.jp/gitroot/metasearch/grid-chef-repo.git'
issues_url 'https://osdn.jp/projects/metasearch/ticket'