Interesting, I'll poke through this. Thanks!
Justin
-Original Message-
From: C R Ritson [mailto:c.r.rit...@newcastle.ac.uk]
Sent: Thursday, February 25, 2010 11:24 AM
To: Justin Lloyd; Help-cfengine
Subject: RE: Splaytime and hostname hashing
A colleague, now retired, wrot
A colleague, now retired, wrote the attached piece of python - clearly you
would need to customise this as it does things with our domain name to get the
correct string to hash. I hope this helps.
Chris Ritson (Computing Officer and School Safety Officer)
Room 707, Claremont Tower,EMAIL
Ok, I've partially scratched my own itch by adapting the files_hashes.c
Hash() function and two associated C #defines from cf3.defs.h into a
small Perl script. Given a list of hostnames on standard input, the
script below will print out lines of the form "hashvalue = hostname1,
hostname2, ..." for