Difference between revisions of "Bundle common role"

From PostgreSQL_wiki
Jump to: navigation, search
(New page: 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. <pre> ###############################################...)
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
###############################################################################
 
###############################################################################
 
#
 
#
# Martin Simons Webhuis common role backup_recovery for a single host
+
# Webhuis common role backup_recovery for a single host
  +
#
  +
# 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.
 
#
 
#
 
###############################################################################
 
###############################################################################
Line 18: Line 22:
 
}
 
}
 
</pre>
 
</pre>
  +
<hr>
  +
Return to: [[Dynamic_Cfengine3]]

Latest revision as of 09:06, 18 May 2014

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 common role backup_recovery for a single host
#
# 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 common role {

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

classes:

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

}

Return to: Dynamic_Cfengine3