Ryan,
If you just want to know whether or not you're in a zone, you could define
classes like so, for example:
classes:
solaris::
"nonglobal_zone" expression => fileexists("/dev/zconsole");
"global_zone" not => fileexists("/dev/zconsole");
Does that help?
Justin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Anderson, Ryan C (US
SSA)
Sent: Monday, May 03, 2010 3:35 PM
To: [email protected]
Subject: cf3 Solaris global vs non-global zone classes?
How are any of you self-defining Solaris 10 zones as classes in cf3? In my
cfengine2 installation, I made a module, but am not sure if there is a better
way in cf3. Might this be added into cf3 itself as a hard class?
RCA
--
UNIX Administrator, BAE Systems EIT
desk 763-572-6684 mobile 612-419-9362
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine
This electronic communication and any attachments may contain confidential and
proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient, or an
agent or employee
responsible for delivering this communication to the intended recipient, or if
you have received
this communication in error, please do not print, copy, retransmit, disseminate
or
otherwise use the information. Please indicate to the sender that you have
received this
communication in error, and delete the copy you received. DigitalGlobe reserves
the
right to monitor any electronic communication sent or received by its
employees, agents
or representatives.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine