Created
December 6, 2014 16:55
-
-
Save edwin-bluekite/3c71c93e07278b31cd4a to your computer and use it in GitHub Desktop.
GW Role Params
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
$paths = [ | |
{ | |
'log_files' => ["${application_directory}/log/${application_environment}.log"], | |
'application' => "${application_name}", | |
'environment' => "${application_environment}", | |
'stack' => "${application_environment}${stack_id}", | |
'fqdn' => "${fqdn}", | |
'file' => "${application_environment}.log", | |
'type' => 'application', | |
}, | |
{ | |
'log_files' => ["${application_directory}/log/${application_environment}-error.log"], | |
'application' => "${application_name}", | |
'environment' => "${application_environment}", | |
'stack' => "${application_environment}${stack_id}", | |
'fqdn' => "${fqdn}", | |
'file' => "${application_environment}-error.log", | |
'type' => 'error', | |
}, | |
{ | |
'log_files' => ["${application_directory}/log/${application_environment}-${application_name}.log"], | |
'application' => "${application_name}", | |
'environment' => "${application_environment}", | |
'stack' => "${application_environment}${stack_id}", | |
'fqdn' => "${fqdn}", | |
'file' => "${application_environment}-error.log", | |
'type' => 'green-saraguate', | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
también en los init.pp de cada role
$paths = $ ::gw::params::paths,
hay que cambiar