Overridable helps provided that this is set for all instances of the
variable. Example:
5 bundle agent report_services{
6
7 vars:
8
9 redhat::
10 # List this variable first as the default.
11 "services" slist => {
12 "anacron",
13 "apmd",
14 "arptables_jf",
15 "autofs",
16 "cpuspeed",
17 "cups",
18 "gpm",
19 "iptables",
20 "isdn",
21 "microcode_ctl",
22 "netfs",
23 "pcmcia",
24 "readahead_early",
25 "readahead_later",
26 "rpcgssd",
27 "rpcidmapd",
28 "rpcsvcgssd",
29 "sendmail",
30 "smartd",
31 "smb",
32 "xfs",
33 "xinetd"
34 },
35 policy => "overridable",
36 comment => "Check status of these on all rhel hosts by
default";
37
38 unxxhd01::
39 "services" slist => {
40 "xfs",
41 "smb",
42 "autofs"
43 },
44 policy => "overridable",
45 comment => "Check status of these services for this
host";
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of
addressee and may contain proprietary and/or confidential information. If you
are not the intended recipient, any use, copying, disclosure, dissemination or
distribution is strictly prohibited. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
communication and destroy all copies.
AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ
Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage
exclusif de la personne à laquelle il s’adresse et peut contenir de
l’information personnelle ou confidentielle. Si le lecteur de ce message n’en
est pas le destinataire, nous l’avisons par la présente que toute diffusion,
distribution, reproduction ou utilisation de son contenu est strictement
interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier
électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine