commit | c1ed1f3e44c96072fc6656ddb135fc701637d8da | [log] [tgz] |
---|---|---|
author | Ales Komarek <mail@newt.cz> | Mon Sep 22 12:37:22 2014 +0200 |
committer | Ales Komarek <mail@newt.cz> | Mon Sep 22 12:37:22 2014 +0200 |
tree | 7f5d79f929faca5efbbbe2004f9db91219927efb | |
parent | e34ea0a3b20d961fa0b55b6e68291d4bc756e789 [diff] |
create condition
diff --git a/server/service.sls b/server/service.sls index d1e3482..7a03b63 100644 --- a/server/service.sls +++ b/server/service.sls
@@ -125,6 +125,7 @@ setup_rndc: cmd.run: - name: /usr/sbin/rndc-confgen -r /dev/urandom -a -c {{ server.rndc_key }} + - unless: test -e {{ server.rndc_key }} - require: - pkg: bind_packages