NAME

App::LXC::Container::Data::Debian - define Debian-specific configuration data

SYNOPSIS

# This module should only be used by OS-specific classes deriving from
# it or by App::LXC::Container::Data.

ABSTRACT

This module provides configuration data specific for Debian.

DESCRIPTION

see App::LXC::Container::Data

EXPORT

Nothing is exported as access should only be done using the singleton object.

METHODS

content_default_mounts - return default mount configuration

Internal Object-oriented implementation of the function
L<App::LXC::Container::Data::content_default_mounts>

depends_on - find package of file

internal object-oriented implementation of the function
L<App::LXC::Container::Data::depends_on>

package_of - find package of file

internal object-oriented implementation of the function
L<App::LXC::Container::Data::package_of>

paths_of - get list of paths of package

internal object-oriented implementation of the function
L<App::LXC::Container::Data::paths_of>

INTRNAL METHODS

The following methods may only be used internally:

_dpkg_status - read and cache dpkg status information

my $boolean = $self->_dpkg_status($package);
    or
my @values = $self->_dpkg_status($package, $key);

example:

if ($self->_dpkg_status($package))
{
    my @depends = $self->_dpkg_status($package, 'depends');
    my @recommends = $self->_dpkg_status($package, 'recommends');
    my @suggests = $self->_dpkg_status($package, 'suggests');
}

parameters:

$self               should be reference to singleton
$package            name of package
$key                information to be returned

description:

Read and cache dependency information from the dpkg status file. A call without key can be used to check if a package is installed, otherwise the allowed keys are depends, recommends and suggests.

returns:

requested information

SEE ALSO

App::LXC::Container::Data

LICENSE

Copyright (C) Thomas Dorner.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.

AUTHOR

Thomas Dorner <dorner (at) cpan (dot) org>