Chapter 17. cf.check_timezones

#!/var/cfengine/bin/cfagent -qKf

# cfengine-policy-description: if my IP address starts with 10.10.1, timezone should be PST or PDT.  Complain if it's not.  If 10.10.2, EST or EDT.


control:

    ipv4_10_10_2:: timezone       = ( EST EDT )
    ipv4_10_10_1:: timezone       = ( PST PDT )

    actionsequence = ( checktimezone )