Add FreeBSD compatibility

This commit is contained in:
Alan Pearce committed 2014-08-08 13:38:27 +01:00
1 parent b39ea29c0c
commit edc208b79b
2 files changed
+11

No files matched your search

+4
View File
@@ -1,10 +1,14 @@
{% from "openssh/map.jinja" import openssh with context %}
openssh:
{% if openssh.server is defined %}
pkg.installed:
- name: {{ openssh.server }}
{% endif %}
service.running:
- enable: True
- name: {{ openssh.service }}
{% if openssh.server is defined %}
- require:
- pkg: {{ openssh.server }}
{% endif %}