Checkpoint commit / importlib-inspect approach
[salty_linter.git] / example_sls / requires.sls
index 5c69090..a2bf454 100644 (file)
@@ -1,14 +1,43 @@
 # I WROTE THIS LINTER AFTER RUNNING INTO THIS PROBLEM MULTIPLE TIME
-
 require_not_requires:
   file.managed:
   - contents: "it's require not requires"
   - requires:
     - cmd: "/bin/echo OOPS I DID IT AGAIN"
 
+# Will this work for some state I never played with ?
+some_state_i_never_used:
+  zpool.absent:
+  - name: ok
+  - export: true
+  - force: false
+
+some_state_i_never_used_with_a_bad_function_name:
+  zpool.shivermetimbers:
+  - name: me timbers rrr so shivery
+
+some_state_i_never_used_with_a_bad_parameter:
+  zpool.present:
+  - nope: thats nopesir to you
 
 multiball:
   pkg:
   - installed
   service:
   - running
+
+# skip over the jinja2 content
+{% set ignore_me_please = "PLEASE" %}
+
+duplicates:
+  pkg.installed:
+  - name: duplicate
+  - name: duplicate
+
+multiline:
+  file.managed:
+  - name: multiline
+  - contents: |
+      This is a
+      multiline file
+  - mode: 640