As shown at
https://cfengine.org/pipermail/bug-cfengine/2008-June/000535.html
and
https://cfengine.org/pipermail/bug-cfengine/2008-July/000568.html ,
cfservd.conf changed format at some point in the last few versions.
People asserted that this was a CIDR issue, but I can assure you
that's not true as we never used CIDR.
The really fascinating part about this is that it only happens to
the stanzas for other hosts, at least for me. That is, if I'm on
master1 and I have:
master1::
/var/cfengine/masterfiles 172.16 17.17 172.18
root=172.18.1.1
root=172.17.1.1
encrypt=true
master2::
/var/cfengine/masterfiles 172.19 172.20 172.21
root=172.20.1.1
root=172.21.1.1
encrypt=true
only the latter will get the:
cf:cfservd:/var/lib/cfengine2/inputs/cfservd.conf:111: Missing absolute path to
a directory
However, I have found a way to make it all work and do the right
thing, as tested by running cfservd -F -d 2 : use commas, like so:
master1::
/var/cfengine/masterfiles
172.16,17.17,172.18,root=172.18.1.1,root=172.17.1.1,encrypt=true
master2::
/var/cfengine/masterfiles
172.19,172.20,172.21,root=172.20.1.1,root=172.21.1.1,encrypt=true
For testing purposes, I ran this:
server::
/frobnitz
172.19,172.20,172.21,root=172.20.1.1,root=172.21.1.1,encrypt=true
and -d 2 gave me:
Path: /frobnitz (encrypt=1)
Admit: 172.21 root=172.21.1.1,172.20.1.1,
Admit: 172.20 root=172.21.1.1,172.20.1.1,
Admit: 172.19 root=172.21.1.1,172.20.1.1,
So it does work.
-Robin
--
They say: "The first AIs will be built by the military as weapons."
And I'm thinking: "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine