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.

sysfs.conf 383B

12345678910111213141516
  1. # Sysfs file for {{ name }} managed by salt-minion(1)
  2. # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  3. {%- for key, value in sysfs.items() %}
  4. {%- if key in ["mode", "owner"] %}
  5. {%- for attr, val in value.items() %}
  6. mode {{ attr }} = {{ val }}
  7. {%- endfor %}
  8. {%- else %}
  9. {{ key }} = {{ value }}
  10. {%- endif %}
  11. {%- endfor %}
  12. {#-
  13. vim: syntax=jinja
  14. -#}