Boxer3pm
System deployment ninja tricks
Usage
use Boxer;my $domain = Boxer->get_world('Reclass')->new( suite => 'stretch', data => 'examples' );say $domain->list_parts();my $goal = $domain->get_part('lxp5');my $plan = $domain->map( $goal, 1 );$plan->as_file( Boxer::File::WithSkeleton->new( basename => 'preseed.cfg' ) );my $serializer = Boxer::File::WithSkeleton->new( skeleton => 'script.sh.in' );$plan->as_file( $serializer->file( 'script.sh', 1 ) );my $anothergoal = $domain->get_part('parl-greens');my $anotherplan = $domain->map($anothergoal);$anotherplan->as_file( $serializer->file( 'parl-greens.sh', 1 ) );my $newdomain = Boxer->get_world()->new( suite => 'buster', data => 'examples' );my $plan_a = $newdomain->map($goal);$plan_a->as_file( Boxer::File::WithSkeleton->new( basename => 'preseed_pure.cfg' ) );
Version
Version v1.4.3
Overview
Framework for system deployment ninja tricks.
See boxer for further information.
Copyright and licence
Copyright © 2013-2016 Jonas Smedegaard
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Disclaimer of warranties
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Releases
6 releases since Debian 8 (Jessie); the text changed 4 times.