blob: 7c930db3410a3922024bb3472a79889db35c23bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
bundle agent freebsd
{
vars:
freebsd::
"packages" slist => {
"bash",
"ncdu",
};
}
bundle agent add_rc_conf_line(line)
{
files:
freebsd::
"/etc/rc.conf"
create => "true",
edit_defaults => std_defs,
perms => system_owned("444"),
edit_line => append_if_no_line("$(line)"),
classes => if_repaired("freebsd_rc_conf_file_repaired");
reports:
any::
"$(this.bundle): /etc/rc.conf repaired" ifvarclass => "freebsd_rc_conf_file_repaired";
}
|