Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(container): respect
ConditionVirtualization
service setting
* E.g. `opensuse-leap-151`: ```bash kitchen@0e066e43d255:~> systemctl status ntpd WARNING: terminal is not fully functional - (press RETURN)● ntpd.service - NTP Server Daemon Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled) Active: inactive (dead) Condition: start condition failed at Sat 2019-10-26 04:11:32 UTC; 13min ago └─ ConditionVirtualization=!container was not met Docs: man:ntpd(1) ``` * Check for `Docker` for the time being (other containers _are_ possible) -- replace earlier method of checking for the `kitchen` user: - `salt['environ.get']('SUDO_USER', '') == 'kitchen'`
- Loading branch information