User Tools

Site Tools


info:puppet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
info:puppet [2011-02-10 21:43]
sam message on client
info:puppet [2011-05-06 21:07]
sam [Notes]
Line 20: Line 20:
 [[http://​stackoverflow.com/​questions/​4135426/​how-to-print-something-when-running-puppet-client]] [[http://​stackoverflow.com/​questions/​4135426/​how-to-print-something-when-running-puppet-client]]
  
-The functions like '​err',​ '​warning',​ '​notice'​ log messages on the server.+The //functions// like '​err',​ '​warning',​ '​notice'​ log messages on the server.
  
-The notify //type// sends a message to the client log (and will be shown when running ''​puppetd --test''​):​+The notify //type// sends a message to the client log, at the notice level (and will be shown when running ''​puppetd --test''​):​
  
 <​code>​ <​code>​
Line 28: Line 28:
 </​code>​ </​code>​
  
 +===== Reverse Engineering =====
 +Try [[https://​github.com/​devstructure/​blueprint|blueprint]] for reverse engineering a server'​s configuration. It outputs shell scripts or chef or puppet configuration files.
 ====== Troubleshooting ====== ====== Troubleshooting ======
 ===== err: Could not request certificate:​ No route to host ===== ===== err: Could not request certificate:​ No route to host =====
 Remember to let connections through the firewall (TCP port 8140). D'oh! Remember to let connections through the firewall (TCP port 8140). D'oh!
 +
 +===== Undefined method '​closed?'​ for nil:​NilClass =====
 +Fixed in 0.25.5.
 +
 +Workaround: include a class with a "​lib"​ directory (can be empty).
 +
 +See message: [[https://​groups.google.com/​d/​topic/​puppet-users/​YaZtYAwWtqY/​discussion]]
info/puppet.txt · Last modified: 2011-05-06 21:07 by sam