Add missing aptly_wrapper requirements
diff --git a/aptly/server/mirrors.sls b/aptly/server/mirrors.sls
index b33b9bf..24ad6f9 100644
--- a/aptly/server/mirrors.sls
+++ b/aptly/server/mirrors.sls
@@ -69,6 +69,9 @@
   - unless: aptly snapshot show {{ snapshot }}
   - require:
     - cmd: aptly_{{ mirror_name }}_update
+  {%- if server.source.engine == "docker" %}
+    - file: aptly_wrapper
+  {%- endif %}
 
 {%- endfor %}
 
@@ -79,6 +82,10 @@
   - user: {{ server.user.name }}
   {%- endif %}
   - unless: aptly mirror show {{ mirror_name }}
+  {%- if server.source.engine == "docker" %}
+  - require:
+    - file: aptly_wrapper
+  {%- endif %}
 
 {%- if mirror.get('update', False) == True %}
 aptly_{{ mirror_name }}_update:
@@ -89,6 +96,9 @@
   {%- endif %}
   - require:
     - cmd: aptly_{{ mirror_name }}_mirror
+  {%- if server.source.engine == "docker" %}
+    - file: aptly_wrapper
+  {%- endif %}
 {%- endif %}
 
 {%- if mirror.publish is defined %}
@@ -98,6 +108,10 @@
   {%- if server.source.engine != "docker" %}
   - user: {{ server.user.name }}
   {%- endif %}
+  {%- if server.source.engine == "docker" %}
+  - require:
+    - file: aptly_wrapper
+  {%- endif %}
 {% endif %}
 
 {%- endfor %}
diff --git a/aptly/server/repos.sls b/aptly/server/repos.sls
index ff2766a..c486895 100644
--- a/aptly/server/repos.sls
+++ b/aptly/server/repos.sls
@@ -11,6 +11,9 @@
   {%- endif %}
   - require:
     - file: aptly_conf
+  {%- if server.source.engine == "docker" %}
+    - file: aptly_wrapper
+  {%- endif %}
 
 {%- if repo.pkg_dir is defined and repo.pkg_dir %}
 
@@ -30,6 +33,9 @@
   - require:
     - cmd: aptly_{{ repo_name }}_repo_create
     - file: pkgdir
+  {%- if server.source.engine == "docker" %}
+    - file: aptly_wrapper
+  {%- endif %}
 
 {%- endif %}
 
@@ -42,5 +48,9 @@
   {%- endif %}
   - unless: aptly publish update -batch=true -gpg-key='{{ server.gpg.keypair_id }}' -passphrase='{{ server.gpg.passphrase }}' {{ repo.distribution }}
 {%- endif %}
+  {%- if server.source.engine == "docker" %}
+  - require:
+    - file: aptly_wrapper
+  {%- endif %}
 
 {%- endfor %}