App::Scaffolder::Puppet::Command - Base class for App::Scaffolder::Puppet commands
version 0.003001
use parent qw(App::Scaffolder::Puppet::Command);
This class provides some specialized methods for the puppet* commands.
puppet*
In addition to the default template search path (see App::Scaffolder for details), this command base class will also look for templates in /etc/puppet/scaffolder_templates or /usr/local/etc/puppet/scaffolder_templates if they exist.
/etc/puppet/scaffolder_templates
/usr/local/etc/puppet/scaffolder_templates
Specialized get_target version which uses the name (if it does not contain ::, otherwise, it will be the current working directory) if no target was given.
get_target
::
Specialized get_variables version which returns the name of the module and other useful variables.
get_variables
Return the name of the dist this command is in.
Return additional options for this command.
Extend the template search path with /etc/puppet/scaffolder_templates/<command name> or /usr/local/etc/puppet/scaffolder_templates/<command name> if they exist.
/etc/puppet/scaffolder_templates/<command name>
/usr/local/etc/puppet/scaffolder_templates/<command name>
The extended list with template directories.
App::Scaffolder::Command
Manfred Stock <mstock@cpan.org>
This software is copyright (c) 2017 by Manfred Stock.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Scaffolder::Puppet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Scaffolder::Puppet
CPAN shell
perl -MCPAN -e shell install App::Scaffolder::Puppet
For more information on module installation, please visit the detailed CPAN module installation guide.