salt-formulas / salt-formula-galera

Other
8 stars 21 forks source link

Fix case of systemd [Service] unit #29

Closed tgerdes closed 7 years ago

tgerdes commented 7 years ago

The service unit should have configuration section '[Service]', not '[service]'

Before patch:

root@cfg01:~# salt dbs\* cmd.run 'grep files /proc/$(cat /var/run/mysqld/$(hostname).pid)/limits'
dbs01.lab.example.com:
    Max open files            1024              4096              files
dbs02.lab.example.com:
    Max open files            1024              4096              files
dbs03.lab.example.com:
    Max open files            1024              4096              files

After patch:

root@cfg01:~# salt dbs\* cmd.run 'grep files /proc/$(cat /var/run/mysqld/$(hostname).pid)/limits'
dbs01.lab.example.com:
    Max open files            1024000              1024000              files
dbs02.lab.example.com:
    Max open files            1024000              1024000              files
dbs03.lab.example.com:
    Max open files            1024000              1024000              files
cloudlab-autobuild commented 7 years ago

Can one of the admins verify this patch?