#puppet # Issues with the new puppet

Source: Internet
Author: User
Tags deprecated

Tips: Check the puppet version:


The version I installed is 3.7.4

Recently, because of the installation of Saltstack, do not know why the salt command is very slow (high CPU utilization), and temporarily found no solution (suspicion is a bug), so roll back to the world of puppet

Reference to this information, the installation of puppet:https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html

Puppetmaster and Puppet (agent) are installed on master and agent respectively, but the default agent is not enabled.

So, edit:/etc/default/puppet file, change the Start=no to Yes:

# Defaults for puppet-sourced by/etc/init.d/puppet# Enable puppet agent service?# Setting this to "yes" allows the Pupp The ET agent service to run.# Setting the "No" keeps the puppet agent service from running. start=yes# Startup optionsdaemon_opts= ""

Re-execution: service puppet start

The following warning pops up later when the command is executed on the agent or master:

[email protected]:~# puppet agent  --server workgroup0.hzg.com --testWarning: Setting templatedir is  deprecated. see http://links.puppetlabs.com/env-settings-deprecations    (at /usr /lib/ruby/vendor_ruby/puppet/settings.rb:1139:in  ' issue_deprecation_warning ') Info: Caching  Certificate for cainfo: csr_attributes file loading from /etc/puppet/csr_ attributes.yamlinfo: creating a new ssl certificate request for  workgroup1.hzg.cominfo: certificate request fingerprint  (SHA256):  58:F4:2B:86:1B:26:D 8:cf:24:34:c3:5f:c5:c9:46:37:11:65:26:f1:72:c0:ac:e4:a9:c3:6a:bf:f4:70:26:e8info: caching  Certificate for caexiting; no certificate found and waitforcert is  disabled 

The warning reads as follows:

Warning:setting Templatedir is deprecated. See Http://links.puppetlabs.com/env-settings-deprecations (at/usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139: In ' issue_deprecation_warning ')

Reference here: https://tickets.puppetlabs.com/browse/PUP-2566

Put the/etc/puppet/puppet.conf file in the:

# templatedir= $confdir/templates

Comment out.

#puppet # Issues with the new puppet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.