ReleaseEngineering/PuppetAgain/Data: Difference between revisions

 
Line 25: Line 25:
== .. add a data file ==
== .. add a data file ==


First, consider the implications. If something (e.g., pip without an explicit version) will magically "discover" the files you're about to add, then you're making a production change and you should tread carefully.  In general, we want to avoid such magical discovery, but it happens sometimes anyway.
First, consider the implications. If something will magically "discover" the files you're about to add, then you're making a production change and you should tread carefully. (This is not a problem for Python packages these days - we always pin versions for them.) In general, we want to avoid such magical discovery, but it happens sometimes anyway.


As <tt>root</tt>, login to the designated puppet master (currently <tt>releng-puppet2.srv.releng.scl3.mozilla.com</tt>) and add the file in the appropriate place under <tt>/data</tt>.  In general, we try not to remove or overwrite files, but if you need to, do so.  Run <tt>puppetmaster-fixperms</tt> to fix the permissions on those files (although this runs every half-hour anyway).
As <tt>root</tt>, login to the designated puppet master (currently <tt>releng-puppet2.srv.releng.scl3.mozilla.com</tt>) and add the file in the appropriate place under <tt>/data</tt>.  In general, we try not to remove or overwrite files, but if you need to, do so.  Run <tt>puppetmaster-fixperms</tt> to fix the permissions on those files (although this runs every half-hour anyway).
canmove, Confirmed users
6,439

edits