# How do you deploy configuration file

**URL:** <https://discuss.elastic.co/t/how-do-you-deploy-configuration-file/147967>\
**Category:** Beats\
**Created:** [September 10, 2018, 1:17pm UTC](https://discuss.elastic.co/t/how-do-you-deploy-configuration-file/147967 "2018-09-10T13:17:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcandre](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@marcandre](https://discuss.elastic.co/u/marcandre)\
**Post date:** [September 10, 2018, 1:17pm UTC](https://discuss.elastic.co/t/how-do-you-deploy-configuration-file/147967/1 "2018-09-10T13:17:22Z")

</div>

Hello,

I wonder how people deploy the beats configuration files to all their servers? Right now, I have a configuration file with all module enabled. It use puppet to send the files to all my nodes. It cause a lot of error for metricbeat because some of the module don't exist.

Thank you,

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [September 11, 2018, 7:41am UTC](https://discuss.elastic.co/t/how-do-you-deploy-configuration-file/147967/2 "2018-09-11T07:41:54Z")

</div>

Hi @marcandre,

It depends on how you are using puppet, but in general you can deploy different files to different roles. For example you can deploy the general settings (`metricbeat.yml`) to all nodes, but only the mysql module configuration (`conf.d/mysql.yml`) on mysql nodes.

---

<div class="post-metadata">

**Author:** ![marcandre](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@marcandre](https://discuss.elastic.co/u/marcandre)\
**Post date:** [September 11, 2018, 2:22pm UTC](https://discuss.elastic.co/t/how-do-you-deploy-configuration-file/147967/3 "2018-09-11T14:22:55Z")

</div>

Hello @jsoriano

I didn't though about that.

Thank you,

---

<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:** [October 9, 2018, 4:25pm UTC](https://discuss.elastic.co/t/how-do-you-deploy-configuration-file/147967/4 "2018-10-09T16:25:02Z")

</div>

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