• check the value of a variable/fact/parameter:
    puppet apply -e 'notice("fqdn is ${environment}")'
    puppet apply -e 'notice("fqdn is ${fqdn}")'
  • require appending:
    require +-> ["Some", "Resources"]
  • remove one resource (it it supports it):
    puppet resource database 'mydb' ensure=absent
  • built-in help:
    puppet man node
    puppet man agent