Puppet: disable echo of notify commands -
i print messages , variable values while configuration applied. separate output of different configuration blocks visually. use
notify {"\n\ninstall tomcat $target_folder":} as described in puppet tutorials , documentation.
unfortunately output not add readability whole log:
notice: install tomcat /opt/example/uiserver notice: /stage[main]//node[dev-xyz.example.com]/tomcat[uiserver_tomcat]/notify[ install tomcat /opt/example/uiserver] install tomcat /opt/example/uiserver' problem - instead of printing message, puppet outputs annoying echo /message: defined 'message' '. there way eliminate it?
using withpath => false did not help.
puppet 2.7.17.
set --logdest syslog. it's console default.
--logdest: send messages. choose between syslog, console, , log file. defaults sending messages console.
Comments
Post a Comment