File Coverage

blib/lib/Metabrik/System/Debian/User.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 15 86.6


line stmt bran cond sub pod time code
1             #
2             # $Id$
3             #
4             # system::debian::user Brik
5             #
6             package Metabrik::System::Debian::User;
7 1     1   799 use strict;
  1         2  
  1         27  
8 1     1   37 use warnings;
  1         2  
  1         33  
9              
10 1     1   5 use base qw(Metabrik::System::Ubuntu::User);
  1         2  
  1         162  
11              
12             sub brik_properties {
13             return {
14 0     0 1   revision => '$Revision$',
15             tags => [ qw(unstable manage management creation group create) ],
16             author => 'GomoR ',
17             license => 'http://opensource.org/licenses/BSD-3-Clause',
18             commands => {
19             install => [ ], # Inherited
20             create_user => [ qw(user) ],
21             add_user_to_group => [ qw(user group) ],
22             },
23             require_binaries => {
24             adduser => [ ],
25             },
26             need_packages => {
27             debian => [ qw(adduser) ],
28             },
29             };
30             }
31              
32             1;
33              
34             __END__