monit:
  pkg:
    - installed

  service.running:
    - enable: True
    - mode: 644
    - require:
      - pkg: monit
    - watch:
      - file: /etc/monit/monitrc

/etc/monit/monitrc:
  file.managed:
    - source: salt://monit/monitrc
    - require:
      - pkg: monit

/etc/logrotate.d/monit:
  file.managed:
    - source: salt://monit/logrotate/monit
    - require:
      - pkg: logrotate

monit:
  pkg:
    - installed

  service.running:
    - enable: True
    - mode: 700
    - require:
      - pkg: monit
    - watch:
      - file: /etc/monit/monitrc

/etc/monit/monitrc:
  file.managed:
    - source: salt://monit/monitrc
    - require:
      - pkg: monit

/etc/logrotate.d/monit:
  file.managed:
    - source: salt://monit/logrotate/monit
    - require:
      - pkg: logrotate

Use the right permissions this time.
Use the right permissions this time.

h4ck3rm1k3/states-2,h4ck3rm1k3/states-2