# Roles / user with puppet

**URL:** <https://discuss.elastic.co/t/roles-user-with-puppet/186400>\
**Category:** Logstash\
**Created:** [June 19, 2019, 7:35am UTC](https://discuss.elastic.co/t/roles-user-with-puppet/186400 "2019-06-19T07:35:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jof300](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jof300](https://discuss.elastic.co/u/jof300)\
**Post date:** [June 19, 2019, 7:35am UTC](https://discuss.elastic.co/t/roles-user-with-puppet/186400/1 "2019-06-19T07:35:42Z")

</div>

Hello,

I am setting up TLS for my new cluster ELK (7.1.0). Everything is working well, except the roles / users management.

I am using Puppet to create roles and users.  
The strange things are :

- I create 2 users with the role superadmin. I can connect kibana with them. If I do /etc/elasticsearch/bin/elasticsearch-users list , I can see them. But I don't see them in kibana interface. Strange ?
- I need a logstash user / logstash writer (following the doc), so I created the role. Should that logstash\_writer role be present on every elastic node (or only master?). It seems roles.yml should be the same everywhere. That means a restart on the node when a new role is added..
- If I create a user with the kibana interface, I don't see it in users file on elastic master node. Is it normal ?

I would like to use puppet for every config. So I can recreate new env easily .

Regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 17, 2019, 7:48am UTC](https://discuss.elastic.co/t/roles-user-with-puppet/186400/2 "2019-07-17T07:48:55Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
