Skip to content

Commit

Permalink
Merge pull request #1 from covermymeds/shield_exec_user
Browse files Browse the repository at this point in the history
run esusers as elasticsearch to ensure files have correct permissions
  • Loading branch information
adamcstephens committed Oct 28, 2015
2 parents 0a8b0b6 + 9d6f98c commit f03c3aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifests/shield/esuser.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
path => [ '/usr/bin', '/usr/share/elasticsearch/bin/shield' ],
command => "esusers useradd ${username} -p \"${password}\" -r ${roles} &> /dev/null",
unless => "esusers list ${username} &> /dev/null",
user => $elasticsearch::elasticsearch_user,
}
}

0 comments on commit f03c3aa

Please sign in to comment.