Skip to content

Puppet 4 :: Language Essentials

Sandesh Kota edited this page Apr 19, 2018 · 20 revisions

Intro:

  • Puppet script should be Idempotent : Same result every time the script is ran
  • Ex: Create User 'kota' with id 101
    • No matter how many times the above script is ran it should result in User 'kota' with Id '101' existence. not necessarily create it.

Display Data:

  • puppet agent --version
  • puppet config print
  • puppet config print confdir
  • puppet config print certname
  • puppet config print { confdir rundir ssldir runinterval }

Clone this wiki locally