Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2952

Puppet should only log facts in debug mode

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.7.0
    • None
    • None

    Description

      In environments with lots of facts puppet agent can fill the screen and log files with loading fact messages. This is only useful when debugging and should thus be only enabled when in debug mode.

      rickon:~# puppet agent --test
      Info: Retrieving plugin
      Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/thunderbird_version.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/rabbitmq_erlang_cookie.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/is_lxc.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/collectd_version.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/staging_windir.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/sunray.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/dns_ip_4.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/raidtype.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/staging_http_get.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/kernel_type.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/dns_ip_6.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/hardware_platform.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/ganeti_cluster.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/dept.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/nvidia_graphics_device.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
      Info: Loading facts in /var/lib/puppet/lib/facter/raid_devices.rb
      Info: Caching catalog for rickon.cat.pdx.edu
      Info: Applying configuration version '1405637813'
      Notice: Finished catalog run in 14.01 seconds
      

      With the patch applied

      rickon:~# puppet agent -t
      Info: Retrieving plugin
      Info: Caching catalog for rickon.cat.pdx.edu
      Info: Applying configuration version '1405637813'
      Notice: Finished catalog run in 14.01 seconds
      

      Attachments

        Issue Links

          Activity

            People

              adrien Adrien Thebo
              blkperl William Van Hevelingen
              Eric Thompson Eric Thompson
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support