# No parameter named configdir when using secrets on puppet module

**URL:** <https://discuss.elastic.co/t/no-parameter-named-configdir-when-using-secrets-on-puppet-module/215847>\
**Category:** Elasticsearch\
**Created:** [January 21, 2020, 9:18am UTC](https://discuss.elastic.co/t/no-parameter-named-configdir-when-using-secrets-on-puppet-module/215847 "2020-01-21T09:18:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lofic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lofic/32/61113_2.png) [@lofic](https://discuss.elastic.co/u/lofic)\
**Post date:** [January 21, 2020, 9:18am UTC](https://discuss.elastic.co/t/no-parameter-named-configdir-when-using-secrets-on-puppet-module/215847/1 "2020-01-21T09:18:03Z")

</div>

Hello, this is working :

```
elasticsearch::instance { 'es-01':
    config => {
        'network.host' => '0.0.0.0'
    },
}

```

But as soon as I add some secrets

```
secrets => ...

```

I get :

no parameter named 'configdir' on Elasticsearch\_keystore[es-01] (...) elasticsearch/manifests/instance.pp, line: 502

Any idea ?

Note : may be you could add a tag 'puppet' for topics.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lofic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lofic/32/61113_2.png) [@lofic](https://discuss.elastic.co/u/lofic)\
**Post date:** [January 21, 2020, 10:42am UTC](https://discuss.elastic.co/t/no-parameter-named-configdir-when-using-secrets-on-puppet-module/215847/2 "2020-01-21T10:42:25Z")

</div>

I solved my problem.

I upgraded the puppet module on my platform and needed a :

```
puppet generate types

```

to refresh the types and providers on my puppet masters

---

<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:** [February 18, 2020, 10:42am UTC](https://discuss.elastic.co/t/no-parameter-named-configdir-when-using-secrets-on-puppet-module/215847/3 "2020-02-18T10:42:34Z")

</div>

Closed on February 18, 2020, 10:42am UTC

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