anchor.diff:  
           [Install]
           WantedBy=multi-user.target
  -    - name: docker-cleanup.service
  -      command: start
  -      content: |
  -        [Unit]
  -        Description=Clean up old containers and images
  -
  -        [Service]
  -        ExecStart=/home/core/cleanup.sh
  -        Type=oneshot
  -    - name: docker-cleanup.timer
  -      command: start
  -      content: |
  -        [Unit]
  -        Description=Run clean up script hourly
  -
  -        [Timer]
  -        OnCalendar=hourly
   <% else %>
       - name: swarm-agent.service
         command: start
  
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:           }
          }
        }
    - 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: |
  