All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.sdk.vagrant.supplier.mysql.mysql-linux.puppet.vm Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
exec { 'wget mysql repo':
    command => '/usr/bin/wget -O /tmp/mysql-repo.rpm http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm',
    creates => '/tmp/mysql-repo.rpm'
} ->

exec { 'install mysql repo':
    command => '/bin/rpm -ihv /tmp/mysql-repo.rpm',
    creates => '/etc/yum.repos.d/mysql-community.repo'
} ->

package { 'mysql-community-server':
    ensure => installed,
} ->

service { 'mysqld':
    enable => true,
    ensure => "running",
} ->

exec { "mysql init sql":
    command => '/usr/bin/mysql -u ${supplier.adminUsername} mysql < /vagrant/modules/conf/mysql/mysql.init.sql',
    creates => '/var/lib/mysql/${supplier.primaryCatalog}'
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy