Forge Home

win_mysql

Install, configure and manage MySQL on Windows

7,322 downloads

6,924 latest version

4.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Sep 8th 2017
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'tspy-win_mysql', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add tspy-win_mysql
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install tspy-win_mysql --version 0.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

tspy/win_mysql — version 0.1.2 Sep 8th 2017

win_mysql

Table of Contents

Travis Status

Description

This module installs both MySQL Server and MySQL Client (Workbench). We use Chocolatey for the installation of both packages, Puppet Labs inifile module to manage the my.ini settings, the Reboot module which is used for installing the required vcredist2013 package required for the server to operate properly reference.

Beginning with win_mysql

include win_mysql

Usage

You can use the individual classes separately

include win_mysql::server
include win_mysql::client

The server currently installs the package to 'c:\tools\mysql' but then uses the "Current" running version, which is located at 'c:\tools\mysql\current'.

The win_mysql::server::config is where you can set additional configuration parameters, but I've included some base examples, which came from a couple of sources, which are referenced in the class. Make changes to config values in both the config.pp file and params.pp. Soon enough the values will be put into hiera.

The win_mysql::client installs the MySQL Workbench software to its default path.

Limitations

This module has been tested on Windows 2012 adn Windows 2016. Currently, in 2016 the Chocolatey installation does not set the path to MySQL. This will be added shortly.

Development

Fork it, develop it, push it. Or just give feedback, you won't hurt my feelings.

Release Notes

0.1.0 is the first release and there will definitely be cleanup. Looking to move the params to hiera.

0.1.1 fixes some linting errors adds OS support information and fixed unbounded ranges on dependencies.

0.1.2 added tags to metadata.