Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
CFEngineNotes
Edit
PageHistory
Diff
Info
LikePages
!!! [CFEngine] says "No preconfiguration file" even though I have one You need to put <tt>cf.preconf</tt> in <tt>/var/cfengine</tt>, not <tt>/var/cfengine/inputs</tt> as you might think. !!! I'm setting up groups in an <tt>import</tt>ed file and then trying to import files based on those groups [CFEngine] will skip the group/class when parsing unless you add it with <tt>~AddInstallable</tt>. !!! How do I write a config for a "block" based config file like <tt>/etc/pcmcia/wireless.opts</tt>? We use: <verbatim> LocateLineMatching "case \"\$ADDRESS\" in " BeginGroupIfNoLineMatching "\*,\*,\*,$(macAddrEth1)\)" ResetSearch "1" LocateLineMatching "case \"\$ADDRESS\" in" InsertLine "*,*,*,$(macAddrEth1))" InsertLine " IPADDR=\"$(ipAddrEth1)\"" # etc ... EndGroup </verbatim>
One page links to
CFEngineNotes
:
CFEngine