Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How to hide default notices in the log.

$
0
0
I have a situation where I need to hide the passwords while printing the log. In the heira yaml file the passwords are encoded using eyaml but while reading them as a newproperty they are written in the console and log. Log: Notice: /Stage[main]/profile::db/setup_db[DBNAME]/db_admin_pwd: defined 'db_admin_pwd' as 'WhatEverString' Any Possible way to either hide it or remove all such notices while reading parameters should not hurt. Things like log level or somthing should also help

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>