title: Elasticsearch - how to store scripts in config/scripts directory
body: <p>I'm trying to experiment with using scripts in the <strong>config/scripts</strong> directory.  The Elasticsearch docs <a href="http://www.elastic.co/guide/en/elasticsearch/reference/1.x/modules-scripting.html" rel="nofollow">here</a> say this:</p>
  
  <blockquote>
    <p>Save the contents of the script as a file called config/scripts/my_script.groovy on every data node in the cluster:</p>
  </blockquote>
  
  <p>This seems like it's probably really easy, but I'm afraid I don't understand how exactly to put a groovy file "on every data node in the cluster".  Would this normally be done through the command line somehow, or can it be done by manually moving the groovy file (in Finder on OSX for example)?  I have a test index, but when I look at the file structure on the nodes I'm confused where to put the groovy file.  Help, pretty please.</p>