aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--goss.yaml3
-rw-r--r--tests/file.yaml9
-rw-r--r--tests/process.yaml4
3 files changed, 16 insertions, 0 deletions
diff --git a/goss.yaml b/goss.yaml
new file mode 100644
index 0000000..398de7d
--- /dev/null
+++ b/goss.yaml
@@ -0,0 +1,3 @@
+---
+gossfile:
+ tests/*.yaml: {}
diff --git a/tests/file.yaml b/tests/file.yaml
new file mode 100644
index 0000000..efa6ef2
--- /dev/null
+++ b/tests/file.yaml
@@ -0,0 +1,9 @@
+---
+file:
+ /etc/cron.d/crontab:
+ exists: true
+ owner: root
+ group: root
+ mode: '0644'
+ filetype: file
+ sha256: '1df2a2a04d72c9f6454a413a5f2dbca81591ea611cfa05c2f29827510131a032'
diff --git a/tests/process.yaml b/tests/process.yaml
new file mode 100644
index 0000000..50f9cbe
--- /dev/null
+++ b/tests/process.yaml
@@ -0,0 +1,4 @@
+---
+process:
+ cron:
+ running: true