Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819
  1. {%- from "linux/map.jinja" import system with context %}
  2. {%- if system.enabled %}
  3. policyrcd_file:
  4. file.managed:
  5. - name: /usr/local/sbin/policy-rc.d
  6. - source: salt://linux/files/policy-rc.d
  7. - mode: 655
  8. - template: jinja
  9. policyrcd_alternatives:
  10. alternatives.install:
  11. - name: policy-rc.d
  12. - link: /usr/sbin/policy-rc.d
  13. - path: /usr/local/sbin/policy-rc.d
  14. - require:
  15. - file: policyrcd_file
  16. {%- endif %}