Browse Source

test(inspec): get tests passing

* Run `chrony.config` as workaround
  - `.config` not called by `chrony`
* Disable `fedora` for the time being due to `systemd` issue
  - Refusing to accept PID outside of service control group,
    acquired through unsafe symlink chain: /var/run/chrony/chronyd.pid
tags/v0.2.1
Imran Iqbal 5 years ago
parent
commit
e5741eefad
No account linked to committer's email address
3 changed files with 5 additions and 3 deletions
  1. +2
    -2
      .travis.yml
  2. +1
    -0
      chrony/config.sls
  3. +2
    -1
      kitchen.yml

+ 2
- 2
.travis.yml View File

- INSTANCE: default-debian-9-2019-2-py3 - INSTANCE: default-debian-9-2019-2-py3
- INSTANCE: default-ubuntu-1804-2019-2-py3 - INSTANCE: default-ubuntu-1804-2019-2-py3
- INSTANCE: default-centos-7-2019-2-py2 - INSTANCE: default-centos-7-2019-2-py2
- INSTANCE: default-fedora-29-2019-2-py2
# - INSTANCE: default-fedora-29-2019-2-py2
- INSTANCE: default-opensuse-423-2018-3-py2 - INSTANCE: default-opensuse-423-2018-3-py2
- INSTANCE: default-debian-8-2018-3-py2 - INSTANCE: default-debian-8-2018-3-py2
- INSTANCE: default-ubuntu-1604-2018-3-py2 - INSTANCE: default-ubuntu-1604-2018-3-py2
- INSTANCE: default-fedora-28-2018-3-py2
# - INSTANCE: default-fedora-28-2018-3-py2
- INSTANCE: default-debian-8-2017-7-py2 - INSTANCE: default-debian-8-2017-7-py2
- INSTANCE: default-ubuntu-1604-2017-7-py2 - INSTANCE: default-ubuntu-1604-2017-7-py2



+ 1
- 0
chrony/config.sls View File

- defaults: - defaults:
slspath: {{ slspath|yaml_encode }} slspath: {{ slspath|yaml_encode }}
- user: root - user: root
- group: root
- mode: 644 - mode: 644
- watch_in: - watch_in:
- service: chrony - service: chrony

+ 2
- 1
kitchen.yml View File

state_top: state_top:
base: base:
'*': '*':
- chrony
# - chrony
- chrony.config
pillars: pillars:
top.sls: top.sls:
base: base:

Loading…
Cancel
Save