Generalizing services and overrides in linux.system.service
Adding tests for linux.system.service
Prod-Related: PROD-22528
Change-Id: I46ca9a16b35af7f271053c0b6abb2c331f9c4c6b
diff --git a/tests/pillar/system.sls b/tests/pillar/system.sls
index 6a0b16b..3dc183d 100644
--- a/tests/pillar/system.sls
+++ b/tests/pillar/system.sls
@@ -24,6 +24,20 @@
domain: ci.local
environment: prd
purge_repos: true
+ service:
+ apt-daily.timer:
+ status: dead
+ tgt:
+ name: tgt
+ status: running
+ enabled: True
+ override:
+ 50:
+ target: tgt.service.d
+ content: |
+ [Service]
+ ExecStart=
+ ExecStart=/usr/sbin/tgtd -f --iscsi portal=127.0.0.1:5555
directory:
/tmp/test:
makedirs: true