1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
  # this broke sometime in 2015 release of salt...
  file.uncomment:
    - name: /etc/nginx/nginx.conf
    - regex: server_names_hash_bucket_size 64;
    - require:
      - pkg: nginx
    - watch_in:
      - service: nginx

"""
          ID: nginx
    Function: file.uncomment
        Name: /etc/nginx/nginx.conf
      Result: False
     Comment: Expected uncommented lines not found
     Started: 23:45:25.046708
    Duration: 5.75 ms
     Changes:
"""