johnlawerance / xtrabackup

Puppet module to install, configure, and run backups using Percona Xtrabackup for mysql, percona-server, mariadb
https://forge.puppet.com/johnlawerance/xtrabackup
3 stars 7 forks source link

Add debian support for 7/8. #3

Open johnlawerance opened 8 years ago

seidler2547 commented 6 years ago

Seems to work fine (except for the outdated fingerprint) on Debian 9. Will run it on a couple of machines and see if there are any issues.

johnlawerance commented 6 years ago

Thanks @seidler2547 -- Please report back with how your testing goes and I'll merge upon success!

swells-ac commented 6 years ago

I am having problems trying to use this module. I am using ubuntu xenial. I had to set "allow_unsigned => true," in the repo code in order to install. But it is installing an older version 2.3.10. The latest is 2.4.12. I think this may be a result of the repo itself being not kept up.

johnlawerance commented 6 years ago

Could very well be. The default behavior of the module is to fetch package_version => 'latest'

seidler2547 commented 6 years ago

@swells-ac did you apply the new repo key fingerprint from my pull request?

swells-ac commented 6 years ago

No I hadn't added the new key. I added that and it the fixed the unsigned issue I was having. I am still getting an older version of the software though. I think the repo is just out of date and nothing to do with the module. I am just going to set it up to pull from a local source.

swells-ac commented 6 years ago

I think I see the issue now. It looks like they renamed the package: https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/apt_repo.html So I am getting the latest version of 2.3. But I guess they changed the package name for 2.4.

seidler2547 commented 6 years ago

@swells-ac you get the older version because it seems that's what the package percona-xtrabackup is. To get 2.4, the package name is percona-xtrabackup-24. Probably a parameter could be added to the Puppet class to customize the package name.

johnlawerance commented 6 years ago

Thanks @seidler2547 and @swells-ac -- Going to create a separate issue to add a param to toggle package version. https://github.com/johnlawerance/xtrabackup/issues/8