blob: 1029b25a95d4a484d99ea65eb2410f24c251156f (
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
25
26
27
|
bundle agent freebsd
{
vars:
freebsd::
"packages" slist => {
"bash",
"ncdu",
};
methods:
freebsd::
"freebsd" usebundle => install_package("$(this.bundle)", "$(freebsd.packages)");
}
bundle agent add_rc_conf_line(caller, 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("$(caller)_freebsd_rc_conf_file_repaired");
reports:
any::
"$(caller): /etc/rc.conf repaired" ifvarclass => "$(caller)_freebsd_rc_conf_file_repaired";
}
|