NAME

App::LXC::Container::Data::common - define common configuration data

SYNOPSIS

# This module should only be used by OS-specific classes deriving from
# it!

ABSTRACT

This module provides common configuration data.

DESCRIPTION

see App::LXC::Container::Data

METHODS

EXPORT

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

METHODS

(alphabetically and case-insensitive except for constructor)

new - constructor

simplest standard constructor for a singleton

content_audio_packages - return package configuration for audio

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

content_device_default - return default device configuration

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

content_default_filter - return default filter

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

content_default_mounts - return default mount configuration

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

content_default_packages - return default packages

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

content_network_default - return default network configuration

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

content_network_mounts - return mount configuration for NETWORK

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

content_network_packages - return mount configuration for NETWORK

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

content_x11_mounts - return mount configuration for X11

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

content_x11_packages - return package configuration for X11

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

depends_on - find package of file

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

libraries_used - find package of executable

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

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>

regular_users - return list of regular users

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

INTRNAL METHODS

The following methods may only be used internally:

_check_singleton - check 1st parameter to be reference to singleton

my $his = _check_singleton(shift);

parameters:

$self               should be reference to singleton

description:

Check that the passed parameter is the reference to the singleton and abort the whole script otherwise.

returns:

reference to singleton

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>