Bundle agent backup recovery
This is an example of a role used in the system. It is the role of a backup and recovery server that serves other hosts in the domain.
############################################################################### # # Webhuis agent role backup_recovery for a set of backup_recovery hosts # # Copyright (C) 2008 Martin Simons, Webhuis. Renkum The Netherlands # This source code is licensed under the GNU General Public License, Version 2. # See http://webhuis.nl/GPL-license for more details. # ############################################################################### bundle agent backup_recovery { vars: "bundles[nfs_server]" string => "nfs_server.cf"; "sequence" slist => getindices("bundles"); "input" slist => getvalues("bundles"); methods: "any" usebundle => "${backup_recovery.sequence}"; }
Return to: Dynamic_Cfengine3