This file is indexed.

/usr/share/perl5/Poet/Manual/Configuring.pod is in libpoet-perl 0.16-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
__END__

=pod

=head1 NAME

Poet::Manual::Configuring - Built-in Poet configuration options

=head1 DESCRIPTION

This is a list of configuration keys used by Poet itself. These may be placed
in any L<Poet conf file|Poet::Conf/CONFIGURATION FILES>, e.g. C<local.cfg> or
C<conf/global/*.cfg>.

Entries like C<foo.bar> can be listed either in dot notation

    foo.bar: 5

or as part of a hash:

    foo:
       bar: 5

See L<Dot notation|Poet::Conf/Dot notation for hash access> for details.

=over

=item cache

The entire hash under this entry will be passed to
L<Poet::Cache-E<gt>config()|CHI/SUBCLASSING AND CONFIGURING CHI>. See
L<Poet::Cache|Poet::Cache/CONFIGURATION> for examples. e.g.

   cache:
      defaults:
         expires_variance: 0.2
      storage:
         file:
            driver: File
            root_dir: ${root}/data/cache
         memcached:
            driver: Memcached
            servers: ["10.0.0.15:11211", "10.0.0.15:11212"]
            compress_threshold: 4096
      namespace:
         /some/component:       { storage: file, expires_in: 5min }
         /some/other/component: { storage: memcached, expires_in: 1h }
         Some::Library:         { storage: memcached, expires_in: 10min } 

=item env.bin_dir, env.comps_dir, etc.

These entries affect what is returned from C<$poet-E<gt>bin_dir>,
C<$poet-E<gt>bin_path>, C<$poet-E<gt>comps_dir>, etc., and thus where various
Poet resources are kept. See L<Poet::Environment|Poet::Environment/CONFIGURING
ENVIRONMENT SUBDIRECTORIES>. For example, to move data and logs into external
directories outside the environment:

    env:
      data_dir: /some/external/data/dir
      logs_dir: /some/external/logs/dir

=item log.defaults, log.category

Specify the log level, output location, and layout string for logging, in the
default case and for particular categories respectively. See
L<Poet::Log|Poet::Log/CONFIGURATION> for examples. e.g.

    log:
      defaults:
        level: info
        output: poet.log
        layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} [%p] %c - %m - %F:%L - %P%n"
      class:
        CHI:
          level: debug
          output: chi.log
          layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} %m - %P%n"
        MyApp::Foo:
          output: stdout

=item log.log4perl_conf

Bypass Poet's simplified logging configuration and specify a log4perl conf file
directly. e.g.

    log:
      log4perl_conf: /path/to/log4perl.conf

=item mason

The hash under this entry will be treated as options that are passed to
C<Mason-E<gt>new> for the main Mason instance, overriding any default options.
See L<Poet::Mason|Poet::Mason/CONFIGURATION>. e.g.

    mason:
      static_source: 1
      static_source_touch_file: ${root}/data/purge.dat

=item server.default_content_type

Content type for requests that don't explicitly set one. Defaults to
C<text/html>.

=item server.host

The IP address to listen on.

=item server.load_modules

A list of modules to load on server startup, e.g.

    server.load_modules:
       - DBI
       - List::Util
       - MyApp::Foo
       - MyApp::Bar

=item server.port

The port to listen on.

=back

=head1 SEE ALSO

L<Poet|Poet>

=head1 AUTHOR

Jonathan Swartz <swartz@pobox.com>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Jonathan Swartz.

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

=cut