NAME

App::Provision::Tiny - Provision computers

VERSION

version 0.01

SYNOPSIS

# With the module:
use App::Provision::Foo;
$app = App::Provision::Foo->new;
$app->foo;

# On the command line:
> provis foo

DESCRIPTION

An App::Provision::Tiny together with a sub-classed recipe module (like Foo), contain the methods to provision a workstation or server.

* Currently, the included recipes are for OS X machines.

NAME

App::Provision::Tiny - Provision computers

METHODS

new()

$app = App::Provision::Tiny->new(%arguments);

Create a new App::Provision::Tiny object.

Argument: default

program: undef
system:  osx

condition()

This is the condition to check for the presence of a program, and is to redefined in your subclass, if anything beyond effectively `which program` is needed.

recipe()

This is the actual set of steps to take to check for and install a program, and is to be redefined in your subclass. If not obvious, they can be "simple" system commands, complex perl or a combination thereof.

system_install()

Use the system() function to install, inside your subclass method.

AUTHOR

Gene Boggs <gene@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Gene Boggs.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.