Skip to content

Commit

Permalink
Feature/add skel files (#3)
Browse files Browse the repository at this point in the history
* Added Skel files generated by cookbook-guide-generator

* Cleanup the Gemfile.lock & added the Changelog

* Changes for the skel suggested by majormoses.. don't support old versions of debian & use correct changelog foramt

* Use the correct CHANGELOG format
  • Loading branch information
thomasriley authored and majormoses committed Mar 8, 2018
1 parent 21f7b43 commit cbd35f3
Show file tree
Hide file tree
Showing 19 changed files with 1,196 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -7,3 +7,7 @@ bin/*

.kitchen/
.kitchen.local.yml

.delivery

Gemfile.lock
69 changes: 69 additions & 0 deletions .kitchen-dockken.yml
@@ -0,0 +1,69 @@
driver:
name: dokken
chef_version: latest
privileged: true # because Docker and SystemD/Upstart

transport:
name: dokken

provisioner:
name: dokken

verifier:
name: inspec

platforms:
- name: debian-8
driver:
image: debian:8
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install lsb-release -y

- name: debian-9
driver:
image: debian:9
pid_one_command: /sbin/init
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install lsb-release procps -y

- name: centos-6
driver:
image: centos:6
platform: rhel
pid_one_command: /sbin/init
intermediate_instructions:
- RUN yum -y install which initscripts

- name: centos-7
driver:
image: centos:7
platform: rhel
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN yum -y install lsof which systemd-sysv initscripts openssl

- name: fedora-latest
driver:
image: fedora:latest
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN dnf -y install yum which systemd-sysv initscripts

- name: ubuntu-14.04
driver:
image: ubuntu-upstart:14.04
pid_one_command: /sbin/init

- name: ubuntu-16.04
driver:
image: ubuntu:16.04
pid_one_command: /bin/systemd


suites:
- name: default
run_list:
- recipe[test::default]
20 changes: 20 additions & 0 deletions .kitchen.yml
@@ -0,0 +1,20 @@
---
driver:
name: vagrant

provisioner:
name: chef_zero

verifier:
name: inspec
format: doc

platforms:
- name: ubuntu-16.04
- name: centos-7.2

suites:
- name: default
run_list:
- recipe[sensu-go-chef::default]
attributes:

0 comments on commit cbd35f3

Please sign in to comment.