Created
December 6, 2013 18:22
-
-
Save igalic/7829725 to your computer and use it in GitHub Desktop.
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
# KVM Hosts | |
node /steak|bacon/ inherits default { | |
$role = 'kvmhost' | |
class { $role: } | |
} | |
# Infrastructure Servers | |
node /git.*\.esat/ inherits default { | |
$role = 'git-server' | |
class { 'gitsrv': } | |
} | |
# Proxy Servers | |
node /prx01.*\.esat/ inherits default { | |
class { 'apps::lb': } | |
} | |
# Application Servers | |
node /phpapp.*\.esat/ inherits default { | |
$service = 'webapp' | |
class { 'apps::web': } | |
} | |
# db Servers | |
node /mydb.*\.esat/ inherits default { | |
$role = 'mydb-server' | |
class { 'apps::db': } | |
} | |
node /pgdb.*\.esat/ inherits default { | |
$role = 'pgdb-server' | |
class { 'pgdbsrv': } | |
} | |
node default { | |
include base | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment