diff options
| -rwxr-xr-x | bin/puppet_command | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/bin/puppet_command b/bin/puppet_command index 702c8cbd..eb3cd0b9 100755 --- a/bin/puppet_command +++ b/bin/puppet_command @@ -64,9 +64,11 @@ def log(str, *args)    str = str.strip    $stdout.puts str    $stdout.flush -  $logger.info(str) -  if args.include? :summary -    $summary_logger.info(str) +  if $logger +    $logger.info(str) +    if args.include? :summary +      $summary_logger.info(str) +    end    end  end | 
