Eolisation de l'applicatif MSE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pve-db.yml 806B

1234567891011121314151617181920212223242526272829303132
  1. dbtype: mysql
  2. dbname: pve
  3. dbuser: pve
  4. dbroot: mse
  5. dbpass: '123456'
  6. dbport: 3306
  7. %if %%getVar('is_mse_master','non') == 'oui'
  8. client_hosts: ["127.0.0.1", "localhost" %slurp
  9. %if %%getVar('pve_infravtech','non') == 'oui'
  10. , "%%adresse_ip_eth1" %slurp
  11. %end if
  12. , "%%adresse_ip_eth0" %slurp
  13. %for hst in %%getVar('mseSlaves',[])
  14. , "%%hst" %slurp
  15. %end for
  16. ]
  17. %else
  18. client_hosts: ["127.0.0.1", "localhost" %slurp
  19. %if %%getVar('pve_infravtech','non') == 'oui'
  20. , "%%adresse_ip_eth1" %slurp
  21. %end if
  22. , "%%adresse_ip_eth0" ]
  23. %end if
  24. dbhost: %%pvebundle_ipbdd
  25. createscript: /usr/share/eole/mysql/eole-mse/gen/pve-create-1.sql
  26. dbrootpwd: %%edb_rootpw
  27. pwd_files:
  28. - file: '/var/www/html/mse/app/config/parameters.yml'
  29. pattern: ' database_password: "'
  30. end_pattern: ''
  31. owner: 'www-data:www-data'
  32. mod: '600'