Skip to content

Instantly share code, notes, and snippets.

View Jimadine's full-sized avatar

Jim Adamson Jimadine

  • University of York
  • UK
View GitHub Profile
@Jimadine
Jimadine / gist:5673997a0140ce9dbf54035bceffda45
Created January 22, 2024 17:22
Proposed puppetlabs-mysql db.pp to support changing the user's authentication plugin
# @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'],
@Jimadine
Jimadine / Vagrantfile
Last active March 22, 2024 16:27
AtoM 2.7 on Ubuntu 20.04 & 22.04 manual installation steps ... automated
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