You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm start running puppet-os-hardening and testing inside travis and kitchen/docker.
I have tests failing while using base module without any customization while fully working on upstream (travis digitalocean or VM).
I fully expect some tests to fail inside docker because some sysctl are not allowed or systemd daemons start/stop/restart not working.
Is there a condition that can be added to skip test if inside docker?
like ansible virtualization fact
ah that's great. I had not realized it was already as I saw some tests failing but was in other set of tests.
a pity not made to upstream inspec but will mimick this :)
I'm start running puppet-os-hardening and testing inside travis and kitchen/docker.
I have tests failing while using base module without any customization while fully working on upstream (travis digitalocean or VM).
I fully expect some tests to fail inside docker because some sysctl are not allowed or systemd daemons start/stop/restart not working.
Is there a condition that can be added to skip test if inside docker?
like ansible virtualization fact
Looking at tests
(centos7) https://travis-ci.org/juju4/puppet-meta-harden-linux/jobs/417935981
(bionic) https://travis-ci.org/juju4/puppet-meta-harden-linux/jobs/417935982
(centos7) https://travis-ci.org/juju4/puppet-meta-harden-linux/jobs/420516104#L2823
(bionic) https://travis-ci.org/juju4/puppet-meta-harden-linux/jobs/420516105#L3408
Thanks
The text was updated successfully, but these errors were encountered: