Skip to content

Duplicate declaration prevents installation #2

@kn0ll

Description

@kn0ll

when trying to apply the configuration to a client:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: File[/var/lib/elasticsearch] is already declared in file /etc/puppet/modules/elasticsearch/manifests/init.pp at line 111; cannot redeclare at /etc/puppet/modules/elasticsearch/manifests/init.pp:118 on node search0

i'm assuming this is because $esDataPath and /var/lib/${esBasename} evaluate to the same path, hence a redeclaration.

am i doing something wrong? thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions