puppet-config(8)


NAME

   puppet-config - Interact with Puppets settings.

SYNOPSIS

   puppet config action [--section SECTION_NAME]

DESCRIPTION

   This   subcommand   can  inspect  and  modify  settings  from  Puppets
   puppet.conf configuration file. For  documentation  about  individual
   settings,                                                           see
   https://docs.puppetlabs.com/references/latest/configuration.html.

OPTIONS

   Note that any setting thats valid in the configuration file is also  a
   valid  long  argument,  although  it  may or may not be relevant to the
   present action. For example, server and run_mode are valid settings, so
   you  can  specify  --server <servername>, or --run_mode <runmode> as an
   argument.

   See      the      configuration       file       documentation       at
   https://docs.puppetlabs.com/references/stable/configuration.html    for
   the full list  of  acceptable  parameters.  A  commented  list  of  all
   configuration  options  can  also  be  generated by running puppet with
   --genconfig.

   --render-as FORMAT
          The format in which to render output. The  most  common  formats
          are  json, s (string), yaml, and console, but other options such
          as dot are sometimes available.

   --verbose
          Whether to log verbosely.

   --debug
          Whether to log debug information.

   --section SECTION_NAME
          The section of the puppet.conf configuration  file  to  interact
          with.

          The  three most commonly used sections are main, master, and
          agent. Main is the  default,  and  is  used  by  all  Puppet
          applications.  Other  sections  can  override  main values for
          specific applications --- the master  section  affects  puppet
          master  and  puppet cert, and the agent section affects puppet
          agent.

          Less commonly used is the user section, which  affects  puppet
          apply. Any other section will be treated as the name of a legacy
          environment (a deprecated feature), and  can  only  include  the
          manifest and modulepath settings.

ACTIONS

   print - Examine Puppets current settings.
          SYNOPSIS

          puppet  config  print  [--section  SECTION_NAME]  (all | setting
          [setting ...]

          DESCRIPTION

          Prints the value of a single setting or a list of settings.

          This  action  is  an  alternate  interface  to  the  information
          available with puppet <subcommand> --configprint.

          NOTES

          By  default,  this action reads the general configuration in the
          main section. Use the --section and --environment flags to
          examine other configuration domains.

   set - Set Puppets settings.
          SYNOPSIS

          puppet   config   set  [--section  SECTION_NAME]  [setting_name]
          [setting_value]

          DESCRIPTION

          Updates values in the puppet.conf configuration file.

          NOTES

          By default, this action manipulates  the  configuration  in  the
          main  section.  Use  the  --section flag to manipulate other
          configuration domains.

EXAMPLES

   print

   Get puppets runfile directory:

   $ puppet config print rundir

   Get a list of important directories from the masters config:

   $ puppet config print all --section master | grep -E "(path|dir)"

   set

   Set puppets runfile directory:

   $ puppet config set rundir /var/run/puppetlabs

   Set the vardir for only the agent:

   $ puppet config set vardir /opt/puppetlabs/puppet/cache --section agent

COPYRIGHT AND LICENSE

   Copyright 2011 by Puppet Labs Apache 2 license; see COPYING





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.