openshift / puppet-openshift_origin

Puppet module to create OpenShift Brokers and Nodes. Can be used to create a full OpenShift Origin deployment.
http://forge.puppetlabs.com/openshift/openshift_origin
Other
45 stars 128 forks source link

Nodes do not parse /etc/openshift/logshifter.conf #383

Closed IshentRas closed 9 years ago

IshentRas commented 9 years ago

/etc/openshift/logshifter.conf is generated from an ERB file located "templates/node/logshifter.conf.erb" Because of spaces nodes do not parse the file and do not log in the directory "filewriterdir"

Solution: use trim_mode (Adding a "-" before the ERB closing mark-up "%>") within the if statement so as to avoid extra lines. <% if scope.lookupvar('::openshift_origin::syslog_enabled') == true -%> outputtype = multi <% else -%> outputtype = file <% end -%>

sdodson commented 9 years ago

Fixed in #385