fixes re-run issues

re-running puppet agents with logstash causes failures beacuse of package dependencies