E
Size: a a a
E
KP
GG
GG
GG
GG
E
E
GG
E
E
KP
E
KP
GG
E
B
python2-pip:
pkg.installed:
- name: python2-pip
docker-py:
pip.installed:
- name: docker-py
*- reload_modules: True*
- require:
- pkg: python2-pip
zookeeper:
docker_container.running:
- image: bitnami/zookeeper:latest
- environment:
- ALLOW_ANONYMOUS_LOGIN: yes
2020-06-04 19:08:41,771 [salt.state :322 ][ERROR ][7385] State 'docker_container.running' was not found in SLS 'nifi.nifi'
Reason: 'docker_container' __virtual__ returned False: 'docker.version' is not available.
salt-call -l debug state.apply zookeeperвсе - ок

provisioner "remote-exec" {
connection {
host = self.network_interface.0.ip_address
user = "ubuntu"
private_key = file("~/.ssh/id_rsa")
bastion_host = "<somehost.somedomain>"
}
inline = [
"wget -O - https://repo.saltstack.com/py3/ubuntu/18.04/amd64/archive/2019.2.5/SALTSTACK-GPG-KEY.pub | sudo apt-key add -",
"echo 'deb http://repo.saltstack.com/py3/ubuntu/18.04/amd64/archive/2019.2.5 bionic main' | sudo tee /etc/apt/sources.list.d/saltstack.list",
"sudo systemctl stop apt-daily.service apt-daily-upgrade.service",
"sudo apt-get -qq update",
"sudo apt-get -yqq install salt-minion",
"echo 'master:
на выходе — см. пик 2B
python2-pip:
pkg.installed:
- name: python2-pip
docker-py:
pip.installed:
- name: docker-py
*- reload_modules: True*
- require:
- pkg: python2-pip
zookeeper:
docker_container.running:
- image: bitnami/zookeeper:latest
- environment:
- ALLOW_ANONYMOUS_LOGIN: yes
2020-06-04 19:08:41,771 [salt.state :322 ][ERROR ][7385] State 'docker_container.running' was not found in SLS 'nifi.nifi'
Reason: 'docker_container' __virtual__ returned False: 'docker.version' is not available.
salt-call -l debug state.apply zookeeperвсе - ок

B