node '<%= hostname %>-proxy.<%= domain %>' { #$mail_delivery = 'tunnel' #$mail_hostname = 'mail' #$mail_ssh_port = '2202' include nodo::proxy # encrypted local backups #backup::duplicity { "localhost": # encryptkey => "ABCDEF12", # password => 'xxxyyy', #} # encrypted data remote backup #backup::rdiff { "other-host": # port => "10102", #} # reference to admin vserver host { "<%= hostname %>-master": ensure => present, ip => "192.168.0.2", host_aliases => [ "<%= hostname %>-master.<%= domain %>", "puppet", "admin" ], notify => Service["nginx"], } # reference to proxy vserver #host { "<%= hostname %>-proxy": # ensure => present, # ip => "192.168.0.3", # host_aliases => [ "<%= hostname %>-proxy.<%= domain %>", "<%= hostname %>-proxy" ], # notify => Service["nginx"], #} # reference to web vserver host { "<%= hostname %>-web": ensure => present, ip => "192.168.0.4", host_aliases => [ "<%= hostname %>-web.<%= domain %>", "<%= hostname %>-web", "weblocal" ], notify => Service["nginx"], } # reference to storage vserver host { "<%= hostname %>-storage": ensure => present, ip => "192.168.0.5", host_aliases => [ "<%= hostname %>-storage.<%= domain %>", "<%= hostname %>-storage" ], notify => Service["nginx"], } # reference to test vserver host { "<%= hostname %>-test": ensure => present, ip => "192.168.0.6", host_aliases => [ "<%= hostname %>-test.<%= domain %>", "<%= hostname %>-test" ], notify => Service["nginx"], } }