Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.With the new debug code U added for #2553221-13: Build Debian packages in docker container we can now see why the P_Aegir_Puppet_Module_functional_test_Aegir3-unstable jenkins job has been failing.
The code from files/scripts/setmysqlpass.sh can probably be replaced by something like this:
echo mysql-server-5.5 mysql-server/root_password password $rootpw | debconf-set-selections
echo mysql-server-5.5 mysql-server/root_password_again password $rootpw | debconf-set-selections
That's what I've started using in the non-puppet test, http://cgit.drupalcode.org/puppet-aegir/tree/tests/functional_tests/aegi...










Comments
Comment #2
ergonlogicThis would assume that we're installing mysql-server ourselves. As opposed to just securing an existing deployment.
Comment #3
helmo CreditAttribution: helmo at Initfour websolutions commentedThat's atleast what the tests do ... manifests/mysql/preseed.pp gets it from the /root/.my.cnf file which puppet generates with a random password.