anchor.diff:            }
           }
         }
  +  - path: /home/core/cleanup.sh
  +    permissions: "0755"
  +    owner: core:core
  +    content: |
  +      #!/bin/bash
  +
  +      docker -H tcp://localhost:2377 rm $(docker -H tcp://localhost:2377 ps -a -q) || true
  +      docker -H tcp://localhost:2377 rmi $(docker -H tcp://localhost:2377 images -f "dangling=true" -q) || true
   <% if instance_type == :manager %>
     - path: /home/core/docker-compose.yml
       content: |
  
positive.code:         ExecStartPost=/usr/bin/chmod +x /opt/bin/docker-compose
          RemainAfterExit=yes
          Type=oneshot
  <% if instance_type == :manager %>
      - name: paus-frontend.service
        command: start
  
negative.code: 
          [Install]
          WantedBy=multi-user.target
  <% else %>
      - name: swarm-agent.service
        command: start
  