This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @summary | |
# Create and configure a MySQL database. | |
# | |
# @example Create a database | |
# mysql::db { 'mydb': | |
# user => 'myuser', | |
# password => 'mypass', | |
# plugin => 'caching_sha2_password', | |
# host => 'localhost', | |
# grant => ['SELECT', 'UPDATE'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/jammy64" | |
config.vm.network "forwarded_port", guest: 80, host: 9001, host_ip: "127.0.0.1", auto_correct: true | |
config.vm.provider "virtualbox" do |vb| | |
vb.name = "_vanillaatom2" | |
vb.memory = 4096 | |
vb.cpus = 2 | |
# Set a Null file handler for the serial console per https://bugs.launchpad.net/cloud-images/+bug/1890942 | |
vb.customize [ "modifyvm", :id, "--uartmode1", "file", File::NULL ] | |
end |