Public Repository

Last pushed: 2 years ago
Short Description
An image illustrating a bug when running salt inside docker on fedora:21
Full Description

To reproduce the bug:

$docker run -t -i izakmarais / test-salt-deployment-bug-f21 /bin/bash.

Then do

$salt-call state.highstate --local

==================================

Ouput:

local:

      ID: install-nginx
Function: pkg.installed
    Name: nginx
  Result: True
 Comment: Package nginx is already installed.
 Started: 07:26:32.751763
Duration: 509.728 ms
 Changes:   

      ID: run-nginx
Function: service.running
    Name: nginx
  Result: False
 Comment: State 'service.running' was not found in SLS 'nginx'
 Started: 
Duration: 
 Changes:   

Summary

Succeeded: 1

Failed: 1

Total states run: 2

=================================

Dockerfile:

"
FROM fedora:21

RUN yum -y install salt-minion

ADD top.sls /srv/salt/
ADD nginx.sls /srv/salt/
"

Docker Pull Command
Owner
izakmarais