Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite3 package name typo causing it unable to install properly #9

Open
lkthomas opened this issue Jul 1, 2015 · 0 comments
Open

Comments

@lkthomas
Copy link

lkthomas commented Jul 1, 2015

manifests/database.pp:
package { 'bareos-database':
ensure => $bareos::manage_package,
name => "bareos-database-${bareos::database_backend}",
noop => $bareos::noops,
require => Class['bareos::repository'],
}

2015-07-01T15:31:03.522442+08:00 backuptest puppet-agent[30098]: (/Stage[main]/Bareos::Database/Package[bareos-database]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install bareos-database-sqlite' returned 100: Reading package lists...

root@backuptest:/etc/apt/sources.list.d# apt-cache search bareos-database-sqlite*
bareos-database-sqlite3 - Backup Archiving Recovery Open Sourced - SQLite backend

so, it should do apt-get install bareos-database-sqlite3 instead of bareos-database-sqlite

root@backuptest:/etc/apt/sources.list.d# uname -a
Linux backuptest 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
root@backuptest:/etc/apt/sources.list.d# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant