summaryrefslogtreecommitdiff
path: root/manifests/mysql.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-02 00:25:41 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-02 00:38:46 +0100
commit71a59ec001707eecb880c34e96e58ba0a0845426 (patch)
tree2d50bbf1c73dda3f8a237e9b9ca0fdafb804f703 /manifests/mysql.pp
parentChange order in /etc/hosts. (diff)
downloadprofiles-71a59ec001707eecb880c34e96e58ba0a0845426.tar.gz
profiles-71a59ec001707eecb880c34e96e58ba0a0845426.tar.xz
Add profiles::mysql.
Diffstat (limited to 'manifests/mysql.pp')
-rw-r--r--manifests/mysql.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/mysql.pp b/manifests/mysql.pp
new file mode 100644
index 0000000..01372d0
--- /dev/null
+++ b/manifests/mysql.pp
@@ -0,0 +1,8 @@
+class profiles::mysql {
+ require ::mysql::server
+
+ mysql_user { 'root@localhost':
+ ensure => present,
+ plugin => 'unix_socket',
+ }
+}