Closed kjenney closed 4 years ago
It looks like package_action
was ripped out during the converting the LWRP to a Custom Resource. As such the cookbook doesn't support the ability to do so anymore. At the very least we need to correct the docs here and see if this is something we want to support.
I've PRed removing that option from the docs. The package action depends on the mysql_service
actions. If you're deleting a service, the package action is :remove
. If you're installing, the package action is :install
.
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Cookbook version
8.0.4
Chef-client version
12.17.44
Platform Details
Centos 7.1.1503
Scenario:
Setup MySQL service without installing the MySQL package.
Steps to Reproduce:
I'm installing the most current MySQL package using yum_package before initializing mysql_service. My code block is in the exception below.
Expected Result:
I'm expecting the MySQL service to be setup using the parameters I have specified without attempting to install the package (as it's already been installed).
Actual Result:
The client run fails to run and gives the following exception: