9.1.5. Puppet-Related Issues¶
22.214.171.124. Running Puppet Agent in Debug Mode Crashes¶
The FACT-1732 bug, present in some versions of Facter 3, can cause facter to crash when attempting to print Bignum level numbers.
On a 64-bit system, a
Bignum value is
(2**62) or higher
This will affect runs of
puppet agent -t --debug as well as
It is highly likely that you will have one of these values from the
fact provided by the
126.96.36.199. When Should I Run puppet generate types?¶
The puppet generate types command was added to help solve the SERVER-94 puppet environment isolation issue by caching custom type definitions in each environment.
SIMP has a Puppet class called
pupmod::master::generate_types, which is
enabled by default, and uses
incron to automatically run
types in the following cases:
puppetserverbinaries have been updated.
- A new environment is added to the system.
You will need to run
puppet generate types manually if the following occurs:
- A new module is added to your environment that includes custom types.
- An existing custom type has its code modified.
Versions 7.6.0 through 7.7.1 of SIMP’s
pupmod Puppet module tried to
include all of the cases above to ensure that users did not need to
manually adjust any aspects of their systems. However, this proved to
potentially add too much load to the system in certain situations and
was reduced to the current functionality.
If you are using r10k then you can add a postrun snippet to run
puppet generate types on the modified environments.