Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 702 Bytes

README.md

File metadata and controls

44 lines (38 loc) · 702 Bytes

INI merger

a ini file merger

usage

Put the following merge into your template

{
  "template": {
    "mergers": [
      {
        "merger": "INI",
        "pattern": "*.ini"
      }]
}

example ordering keys in systemd service files

{
  "template": {
    "mergers": [
      {
        "type": "INI",
        "pattern": "**/*.service",
        "mergeHints": {
            "*": {
              "overwrite": false
            },
            "Unit": {
              "orderBy": [
                "Description",
                "AssertUser",
                "AssertGroup",
                "AssertControlGroupController"
              ]
            }
          }
      }]
}