Skip to content

manage_service not working set to false #66

Closed
@mativillagra

Description

@mativillagra

Hello Team,

I'm installing this module to a docker container OS Centro 7, so I used repo => 'cloudera', cdhver => '5',

But I want to set manage_service => false, so zookeeper the service is not started when installing the module.

My code look like this .

class { 'zookeeper':
        repo => 'cloudera',
        cdhver => '5',
        packages => ['zookeeper', 'zookeeper-server'],
        manage_service => false,
 }

Getting this when doing so .

Warning: Could not find resource 'Class[Zookeeper::Service]' in parameter 'notify'
   (at /tmp/puppet/modules/zookeeper/manifests/config.pp:115)
Notice: Compiled catalog for f77e60ad5dfc.personal.corp in environment production in 1.39 seconds
Debug: Creating default schedules
Error: Could not find dependent Class[Zookeeper::Service] for File[/etc/zookeeper/conf/myid] at /tmp/puppet/modules/zookeeper/manifests/config.pp:108

Not sure if it is a bug. But I also read that the default is set to true (so puppet will ensure that the service is running).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions