Use the rsyslog formula and state
https://github.com/Mirantis/mk-lab-salt-model/pull/205
diff --git a/rsyslog/client/single.yml b/rsyslog/client/single.yml
new file mode 100644
index 0000000..bf957d0
--- /dev/null
+++ b/rsyslog/client/single.yml
@@ -0,0 +1,2 @@
+classes:
+- service.rsyslog.client.single
diff --git a/salt/master/formula/git/stacklight.yml b/salt/master/formula/git/stacklight.yml
index b72b00b..ed07d82 100644
--- a/salt/master/formula/git/stacklight.yml
+++ b/salt/master/formula/git/stacklight.yml
@@ -71,6 +71,9 @@
address: '${_param:salt_master_environment_repository}/salt-formula-redis.git'
revision: ${_param:salt_master_environment_revision}
rsyslog:
+ module:
+ rsyslog_util.py:
+ enabled: true
source: git
address: '${_param:salt_master_environment_repository}/salt-formula-rsyslog.git'
revision: ${_param:salt_master_environment_revision}