This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These go in update.cf (in CFEngine community) or update_policy.cf (in CFEngine Enterprise). | |
# Once these are in place, you need to manually check out /var/cfengine/masterfiles from the appropriate repository. | |
# From then on, "svn up" will be run on it periodically to keep it up to date with respect to the repository. | |
# This needs to be added to the classes: section of the update bundle | |
# Change .svn to .git to use git. | |
classes: | |
"masterfiles_in_svn" | |
expression => fileexists("$(master_location)/.svn"), | |
comment => "Check if $(master_location) is checked out from subversion", |