Mercurial > repos > other > Puppet
view modules/mysql/examples/mysql_user.pp @ 454:d0e7979c7e8c
Update PHP configs for Ubuntu
Mostly fixing some INI naming so that it is consistent
between packages and what we write (so we don't end up with
mixed/duplicate content)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 13 Aug 2023 15:26:37 +0100 |
parents | 668df4711671 |
children |
line wrap: on
line source
$mysql_root_pw = 'password' class { 'mysql::server': root_password => 'password', } mysql_user { 'redmine@localhost': ensure => present, password_hash => mysql::password('redmine'), require => Class['mysql::server'], } mysql_user { 'dan@localhost': ensure => present, password_hash => mysql::password('blah'), } mysql_user { 'dan@%': ensure => present, password_hash => mysql::password('blah'), } mysql_user { 'socketplugin@%': ensure => present, plugin => 'unix_socket', } mysql_user { 'socketplugin@%': ensure => present, password_hash => mysql::password('blah'), plugin => 'mysql_native_password', }