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

helmo created an issue.

ergonlogic’s picture

This would assume that we're installing mysql-server ourselves. As opposed to just securing an existing deployment.

helmo’s picture

That'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.