Jump to content

User:OrenBochman/Labs 2/Test

From Meta, a Wikimedia project coordination wiki

Test

[edit]

This a quizz to test your understanding of the puppet module for mediawiki development.

  1. What is puppet used for?
    Answer:
  2. What is a class?
    Answer:
  3. How is import used and what for.
    Answer:
  4. How do you make sure the latest version of a package is installed ?
    Answer:
  5. When is this ok and why might this create a problem?
    Answer:
  6. How do you ensure that version 1.2.3 of the package is installed?
    Answer:
  7. What is a service?

Part 2 Best Practices & Style

[edit]

Part 3 Style

[edit]

In the following puppet definitions there are some style problems. You must locate and correct them.

Part 4 Assignment

[edit]
  1. create a puppet definition called "Solr-Jetty" with the following requirements:
    • ensure it installs the latest version of java.
    • it gets the latest version of Solr from ...
    • define a file called "schema.xml"
    Answer: