Skip to content

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

Open

Description

@lkthomas

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions