cfengine¶
Tools related to the ACCRE cfengine setup
- accre.cfengine.recent_hosts_from_cfkeys(since=3)[source]¶
Return a list of tuples of datetime objects and internal IP address strings for hosts that have recently communicated with the local policy server by running a cf-keys command and parsing the output. Hosts with “dhcp-temp” are excluded.
- Parameters:
since (int) – Number of days since last communication to accept host line