Skip to content

Instantly share code, notes, and snippets.

@edwin-bluekite
Created December 6, 2014 16:55
Show Gist options
  • Save edwin-bluekite/3c71c93e07278b31cd4a to your computer and use it in GitHub Desktop.
Save edwin-bluekite/3c71c93e07278b31cd4a to your computer and use it in GitHub Desktop.
GW Role Params
$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',
}
]
@gepser
Copy link

gepser commented Dec 6, 2014

también en los init.pp de cada role
hay que cambiar
$paths = $::gw::params::paths,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment