puppet infrastructure tune command outputs settings to optimize available system resources and performance in Puppet Enterprise. Use it when you have performance issues, or when you are making changes and want to avoid performance issues.
Use it when:
- PE services are generating
java.lang.OutOfMemoryErrorerrors on infrastructure hosts.
- PE services cannot keep up with agent load.
- After you make infrastructure changes such as upgrading PE, adding new compilers or replicas, or make changes to the system resources of existing hosts.
You can configure the settings that
tune outputs in either Hiera (preferred) or the console, but don’t set it in both simultaneously. Values set in the console override values set in Hiera.
Version and installation information
PE version: All supported
puppet infrastructure tune command is compatible with most standard PE configurations. However, it works best for customers using a standard Puppet Enterprise installation, where all infrastructure is on the primary server. If you have a very large codebase or large deployment, it might not provide the best guidance for you.
Learn how to get current and optimized settings for PE services, including memory settings for JRuby and your OS, from our documentation.
Get information about all of the available parameters by running
puppet infrastructure tune --help