Skip to content

Commit

Permalink
Move bash_coredump_config_set to ini file macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jul 29, 2024
1 parent cb6eae1 commit 7b774a1
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions shared/macros/10-bash.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -299,18 +299,7 @@ fi
{{% else %}}
{{%- set target_path="/etc/systemd/coredump.conf" -%}}
{{% endif %}}
{{{ set_config_file(
path=target_path,
parameter=parameter,
value=value,
create=true,
insert_after="\[Coredump\]",
insert_before="",
insensitive=true,
separator="=",
separator_regex="\s*=\s*",
prefix_regex="^\s*")
}}}
{{{ bash_ensure_ini_config(target_path, section="Coredump", key=parameter, value=value) }}}
{{%- endmacro -%}}


Expand Down

0 comments on commit 7b774a1

Please sign in to comment.