Skip to content

Conflicts because of sysctl #745

@soylent

Description

@soylent
  • Module version: 0.15
  • Puppet version: 4.2.2
  • OS and version: CentOS 7

Bug description

I think that this module should not change kernel parameters. It seems out of scope of the module and too error-prone.

If I want to use sysctl using a third-party module (other than thias-sysctl), I get a duplicate declaration error for File['/etc/sysctl.d/'].

If I use thias-sysctl module and try to change vm.max_map_count, I get the following error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Sysctl[vm.max_map_count] is already declared; cannot redeclare at /etc/puppetlabs/code/vendor/modules/elasticsearch/manifests/config.pp:131 at /etc/puppetlabs/code/vendor/modules/elasticsearch/manifests/config.pp:131:7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions