Script started on Mon 15 Jun 2015 11:23:16 PM UTC root@kerio-backend1:~# puppet agent -t info: Retrieving plugin info: Loading facts in /var/lib/puppet/lib/facter/windows_common_appdata.rb info: Loading facts in /var/lib/puppet/lib/facter/staging_http_get.rb info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb info: Loading facts in /var/lib/puppet/lib/facter/puppi_projects.rb info: Loading facts in /var/lib/puppet/lib/facter/last_run.rb info: Loading facts in /var/lib/puppet/lib/facter/staging_windir.rb info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb info: Loading facts in /var/lib/puppet/lib/facter/kerio_fqdn.rb info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb info: Loading facts in /var/lib/puppet/lib/facter/gemhome.rb info: Loading facts in /var/lib/puppet/lib/facter/system_role.rb info: Caching catalog for kerio-backend1.ad.cityofprescott.org info: Applying configuration version '1433872405' notice: /Stage[main]/Kerio_cloud::Backend/Exec[apt-update]/returns: executed successfully notice: /Stage[main]/Galera/File[/etc/mysql/debian.cnf]/owner: owner changed 'root' to 'mysql' notice: /Stage[main]/Galera/File[/etc/mysql/debian.cnf]/group: group changed 'root' to 'mysql' notice: Using master hostname 'kerio-puppet.ad.cityofprescott.org' ... notice: /Stage[main]/Kerio_cloud::Galera_cluster_member/Notify[galeraClusterMember]/message: defined 'message' as 'Using master hostname 'kerio-puppet.ad.cityofprescott.org' ...' notice: /Stage[main]/Kerio_cloud::Local_repo/Apt::Source[localpkgs]/Apt::Key[Add key: A1BBFEAE from Apt::Source localpkgs]/Apt_key[Add key: A1BBFEAE from Apt::Source localpkgs]/ensure: created notice: System role is: 'backend/192.168.46.14' repository address is:192.168.46.10 notice: /Stage[main]/Kerio_cloud/Notify[system-role]/message: defined 'message' as 'System role is: 'backend/192.168.46.14' repository address is:192.168.46.10' err: /Stage[main]/Mysql::Server::Install/Package[mysql-server]/ensure: change from absent to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mariadb-galera-server' returned 100: Reading package lists... Building dependency tree... Reading state information... mariadb-galera-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up mariadb-galera-server-10.0 (10.0.19+maria-1~wheezy) ... Stopping MariaDB database server: mysqld. dpkg: error processing mariadb-galera-server-10.0 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mariadb-galera-server: mariadb-galera-server depends on mariadb-galera-server-10.0 (= 10.0.19+maria-1~wheezy); however: Package mariadb-galera-server-10.0 is not configured yet. dpkg: error processing mariadb-galera-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mariadb-galera-server-10.0 mariadb-galera-server E: Sub-process /usr/bin/dpkg returned an error code (1)  notice: /Stage[main]/Galera/File[/var/run/mysqld]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Galera/File[/var/run/mysqld]: Skipping because of failed dependencies notice: /Stage[main]/Mysql::Server::Config/File[mysql-config-file]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Mysql::Server::Config/File[mysql-config-file]: Skipping because of failed dependencies notice: /Stage[main]/Mysql::Server::Config/File[/etc/mysql/conf.d]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Mysql::Server::Config/File[/etc/mysql/conf.d]: Skipping because of failed dependencies notice: /Stage[main]/Mysql::Server::Service/Service[mysqld]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Mysql::Server::Service/Service[mysqld]: Skipping because of failed dependencies notice: /Stage[main]/Mysql::Server::Service/File[/var/log/mysql/error.log]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Mysql::Server::Service/File[/var/log/mysql/error.log]: Skipping because of failed dependencies err: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")  notice: /Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]: Skipping because of failed dependencies notice: /Stage[main]/Mysql::Server::Root_password/File[/root/.my.cnf]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Mysql::Server::Root_password/File[/root/.my.cnf]: Skipping because of failed dependencies notice: /Stage[main]/Galera/Exec[restart_mysql_debian_slave]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Galera/Exec[restart_mysql_debian_slave]: Skipping because of failed dependencies notice: /Stage[main]/Galera::Status/Mysql_user[clustercheck@%]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Galera::Status/Mysql_user[clustercheck@%]: Skipping because of failed dependencies err: Could not prefetch mysql_grant provider 'mysql': Execution of '/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")  notice: /Stage[main]/Galera::Status/Mysql_grant[clustercheck@%/*.*]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Galera::Status/Mysql_grant[clustercheck@%/*.*]: Skipping because of failed dependencies notice: /Stage[main]/Galera::Validate/Exec[validate_connection]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Galera::Validate/Exec[validate_connection]: Skipping because of failed dependencies notice: /Stage[main]/Mysql::Server/Anchor[mysql::server::end]: Dependency Package[mysql-server] has failures: true warning: /Stage[main]/Mysql::Server/Anchor[mysql::server::end]: Skipping because of failed dependencies notice: Finished catalog run in 14.60 seconds root@kerio-backend1:~# exit exit Script done on Mon 15 Jun 2015 11:23:56 PM UTC