O'Reilly logo
  • Qingbo Zhou thinks this is interesting:

  • Just by including it (we can include the same class many times, but it is evaluated only once):
    include mysql
  • Using the parameterized style (available since Puppet 2.6), where we can optionally pass parameters to the class if available (we can declare a class with this syntax only once for each node in our catalog):
    class { 'mysql': }
  • From

    Cover of Extending Puppet


    Two ways to include a class