Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

mysql absent failed #13

@lxyu

Description

@lxyu

ENV: Ubuntu 12.10 + puppet 2.7.18-1ubuntu1

Apply this .pp file, and mysql installed successfully.

class { "mysql": }

Then apply this .pp file. After it applied, mysql is still running.

class { "mysql":
  absent => true,
}

Then try enable mysql again, apply this file:

class { "mysql": }

It will be failed with this err:

err: /Stage[main]/Mysql/Service[mysql]: Failed to call refresh: Could not start Service[mysql]: Execution of '/sbin/start mysql' returned 1: at xxx/modules/example42/mysql/manifests/init.pp:352

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