ELK node leaves and rejoin the cluster every hour

it was a problem with puppet.

before the update i didn't have the subdir scripts in the /etc/elasticsearch/ directory.

i configured puppet to not delete the scripts dir, but it was still triggering a refresh on service elasticsearch.

adding the new directory to the puppet class on the puppetmaster solved the problem.