feat: add support of ubuntu 18.04

This commit is contained in:
Adrien Waksberg 2019-02-16 10:01:49 +01:00
parent a1ca0159db
commit 461c73c7f5
6 changed files with 22 additions and 7 deletions

View file

@ -15,13 +15,24 @@ provisioner:
ansible_inventory: ./test/integration/inventory ansible_inventory: ./test/integration/inventory
platforms: platforms:
- name: debian-9 - name: debian9
driver_config: driver_config:
image: "nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.7' %>" image: "nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.7' %>"
command: /bin/systemd command: /bin/systemd
volume: volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro
security_opt: seccomp=unconfined security_opt: seccomp=unconfined
provisioner:
extra_vars:
sensu_repository_system: ubuntu
sensu_repository_release: xenial
- name: ubuntu18.04
driver_config:
image: "nishiki/ubuntu18.04:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.7' %>"
command: /bin/systemd
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
security_opt: seccomp=unconfined
suites: suites:
- name: default - name: default

View file

@ -18,9 +18,9 @@ before_install:
- git clone https://github.com/ansible/galaxy-lint-rules.git - git clone https://github.com/ansible/galaxy-lint-rules.git
script: script:
- kitchen conv default-debian-9 - kitchen conv
- kitchen conv default-debian-9 | grep changed=0 - kitchen conv default-debian9 | grep changed=0
- kitchen verify default-debian-9 - kitchen verify
- ansible-lint -r galaxy-lint-rules/rules . - ansible-lint -r galaxy-lint-rules/rules .
- yamllint . - yamllint .

View file

@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
Which is based on [Keep A Changelog](http://keepachangelog.com/) Which is based on [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased] ## [Unreleased]
- feat: add support of ubuntu 18.04
- feat: add multiple namespaces for the checks, filters, handlers or assets - feat: add multiple namespaces for the checks, filters, handlers or assets
- fix: install python-requests for backend - fix: install python-requests for backend
- fix: install build-essential for agent - fix: install build-essential for agent

View file

@ -8,7 +8,9 @@ Install and configure sensu-go backend and agent
## Requirements ## Requirements
* Ansible >= 2.5 * Ansible >= 2.5
* OS
* Debian Stretch * Debian Stretch
* Ubuntu 18.04
## Role variables ## Role variables
### General ### General

View file

@ -11,6 +11,9 @@ galaxy_info:
- name: Debian - name: Debian
versions: versions:
- stretch - stretch
- name: Ubuntu
versions:
- 18.04
galaxy_tags: galaxy_tags:
- sensu - sensu

View file

@ -3,8 +3,6 @@
connection: local connection: local
vars: vars:
sensu_backend: yes sensu_backend: yes
sensu_repository_system: ubuntu
sensu_repository_release: xenial
sensu_agent_plugins: sensu_agent_plugins:
- name: sensu-plugins-disk-checks - name: sensu-plugins-disk-checks
version: 3.1.1 version: 3.1.1