Pantry::Role::Runlist - A role to manage entries in a run_list
version 0.003
This is a Moose::Role that provides a run_list attribute and associated handlers to the class that consumes it.
run_list
for my $item ( $node->run_list ) { ... }
Returns a list of items in the run_list
in_run_list
if ( $node->in_run_list("recipe[nginx]") ) { ... }
Tests whether an item is contained in the run_list.
append_to_run_list
$node->append_to_run_list( @items );
Appends a list of items to the run_list.
remove_from_run_list
$node->remove_from_run_list( @items );
Removes a list of items from the run_list.
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2011 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Pantry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pantry
CPAN shell
perl -MCPAN -e shell install Pantry
For more information on module installation, please visit the detailed CPAN module installation guide.