Checkpoint commit / importlib-inspect approach
[salty_linter.git] / example_sls / requires.sls
1 # I WROTE THIS LINTER AFTER RUNNING INTO THIS PROBLEM MULTIPLE TIME
2 require_not_requires:
3 file.managed:
4 - contents: "it's require not requires"
5 - requires:
6 - cmd: "/bin/echo OOPS I DID IT AGAIN"
7
8 # Will this work for some state I never played with ?
9 some_state_i_never_used:
10 zpool.absent:
11 - name: ok
12 - export: true
13 - force: false
14
15 some_state_i_never_used_with_a_bad_function_name:
16 zpool.shivermetimbers:
17 - name: me timbers rrr so shivery
18
19 some_state_i_never_used_with_a_bad_parameter:
20 zpool.present:
21 - nope: thats nopesir to you
22
23 multiball:
24 pkg:
25 - installed
26 service:
27 - running
28
29 # skip over the jinja2 content
30 {% set ignore_me_please = "PLEASE" %}
31
32 duplicates:
33 pkg.installed:
34 - name: duplicate
35 - name: duplicate
36
37 multiline:
38 file.managed:
39 - name: multiline
40 - contents: |
41 This is a
42 multiline file
43 - mode: 640