{"action":"created","issue":{"url":"https://api.github.com/repos/example42/puppet-mysql/issues/69","labels_url":"https://api.github.com/repos/example42/puppet-mysql/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/example42/puppet-mysql/issues/69/comments","events_url":"https://api.github.com/repos/example42/puppet-mysql/issues/69/events","html_url":"https://github.com/example42/puppet-mysql/issues/69","id":117183397,"number":69,"title":"Mysql config file must be written before mysql server package is installed","user":{"login":"tobixen","id":1536710,"avatar_url":"https://avatars.githubusercontent.com/u/1536710?v=3","gravatar_id":"","url":"https://api.github.com/users/tobixen","html_url":"https://github.com/tobixen","followers_url":"https://api.github.com/users/tobixen/followers","following_url":"https://api.github.com/users/tobixen/following{/other_user}","gists_url":"https://api.github.com/users/tobixen/gists{/gist_id}","starred_url":"https://api.github.com/users/tobixen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobixen/subscriptions","organizations_url":"https://api.github.com/users/tobixen/orgs","repos_url":"https://api.github.com/users/tobixen/repos","events_url":"https://api.github.com/users/tobixen/events{/privacy}","received_events_url":"https://api.github.com/users/tobixen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T18:00:22Z","updated_at":"2015-11-17T11:35:15Z","closed_at":null,"body":"Found yet another obscure \"bug\".  This time I'm on Ubuntu 14.04 (this may be a problem at RHEL7 as well - will check that up eventually).\r\n\r\nWe're populating the mysql config file through the mysql::template and mysql::options class parameters.  innodb_log_file_size is among the parameters we set there.\r\n\r\nMysql won't start if the innodb_log_file_size config differs from the real size of the innodb_log_file - and mysql will create the innodb_log_file using the default file size if the config file doesn't exist when the package is installed.  (we're explicitly setting it in the config now as we crashed with another weird bug in production the other day - in percona xtradb cluster the default innodb_log_file_size is 48M, while in the xtradbbackup tool the default size is 5M).\r\n\r\nToday, the mysql config file requires the mysql package.  I'll try to switch it around, unless there is a good reason for this dependency?"},"comment":{"url":"https://api.github.com/repos/example42/puppet-mysql/issues/comments/157344277","html_url":"https://github.com/example42/puppet-mysql/issues/69#issuecomment-157344277","issue_url":"https://api.github.com/repos/example42/puppet-mysql/issues/69","id":157344277,"user":{"login":"tobixen","id":1536710,"avatar_url":"https://avatars.githubusercontent.com/u/1536710?v=3","gravatar_id":"","url":"https://api.github.com/users/tobixen","html_url":"https://github.com/tobixen","followers_url":"https://api.github.com/users/tobixen/followers","following_url":"https://api.github.com/users/tobixen/following{/other_user}","gists_url":"https://api.github.com/users/tobixen/gists{/gist_id}","starred_url":"https://api.github.com/users/tobixen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobixen/subscriptions","organizations_url":"https://api.github.com/users/tobixen/orgs","repos_url":"https://api.github.com/users/tobixen/repos","events_url":"https://api.github.com/users/tobixen/events{/privacy}","received_events_url":"https://api.github.com/users/tobixen/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T11:35:15Z","updated_at":"2015-11-17T11:35:15Z","body":"Got everything up and running ... on Ubuntu 14.04.  I'll do some more testing before sending a pull request though.\r\n\r\nOf course, the $mysql::config_file_owner and $mysql::config_file_group may depend on the package to be defined at some setups, though it's defined to be either root or wheel in params.pp."}}