NAME

Clustericious::Command::configure - Generate a default configuration.

VERSION

version 1.29

SYNOPSIS

Your app:

package YourApp;

use Mojo::Base qw( Clustericious::App );

sub generate_config
{
  my ($self, @args) = @_;

  return {
       dirs => [
           ['etc'],
           ['var', 'run' ]
       ],
       files => { 'YourApp.conf' => <<<CUT }
---
required_key   : default_value
something_else : <%= home %>
CUT
  };
}

1;

DESCRIPTION

Create a default configuration for an app.

SEE ALSO

Clustericious

AUTHOR

Original author: Brian Duggan

Current maintainer: Graham Ollis <plicease@cpan.org>

Contributors:

Curt Tilmes

Yanick Champoux

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by NASA GSFC.

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