NAME

Ixchel::Actions::apt_proxy - Generates the proxy config file for apt.

VERSION

Version 0.1.0

CLI SYNOPSIS

ixchel -a apt_proxy [-w] [-o <file>]

CODE SYNOPSIS

my $results=$ixchel->action(action=>'apt_proxy', opts=>{w=>1});

if ($results->{ok}) {
    print $results->{filled_in};
}else{
    die('Action errored... '.joined("\n", @{$results->{errors}}));
}

DESCRIPTION

The template used is 'apt_proxy'.

The returned value is the filed in template.

The template used is apt_proxy.

FLAGS

-w

Write out the file.

-o <file>

File to write the out to if -w is specified.

Default :: /etc/apt/apt.conf.d/00aptproxy

--np

Don't print the the filled in template.

RESULT HASH REF

.errors :: A array of errors encountered.
.status_text :: A string description of what was done and the results.
.ok :: Set to zero if any of the above errored.
.filled_in :: The filled in template.