Bundle common role

From PostgreSQL_wiki
Revision as of 09:00, 18 May 2014 by Martin (talk | contribs)
Jump to: navigation, search

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.

###############################################################################
#   
#   Martin Simons Webhuis common role backup_recovery for a single host
#
###############################################################################

bundle common role {

vars:
 "role"                string => "backup_recovery";

classes:

 "backup_recovery"         or => { classmatch("${g.class_host}") };

}

Return to: Dynamic_Cfengine3