Okay, I''ve researched this a bit more, and it turns out, that the
application is not being spun up.
Could this have to do with my config paths? I''ll attach my puppet.conf
at the bottom, but basically, I''ve installed a puppet-admin user on
this
system and that''s where I edit all of my manifests. I''ve set
up paths in
puppet.conf to reflect this.
The out takes from the nginx logs point at a missing file (404)
$ tail /home/puppet-admin-puppet_config/app/log/access.log
2010/09/02 14:57:04 [error] 29557#0: *5 open()
"/home/puppet-admin/puppet_config/app/public/production/catalog/servercharlie.bestgroup"
failed (2: No such file or directory), client: 192.168.1.200, server:
servercharlie.bestgroup, request: "GET
/production/catalog/servercharlie.bestgroup?facts=eNp9VVuTsjoWfZ9fwfgwdc50KeEiKlXz4BXb%252Bx3al64AUSOXYAIi%252FPoJ0O1n%250An%252B%252FMUKUFO8m%252BrLX2Tr1eF%252F5JEzsTiX1FTqyvkihCsa4viIt0fQSdmP1DENAj%250AwhTGmIS6IAMJ1EGnDmRBaupySwdqQ1K0tiQLb0DWAeD7QxggXWCI3hF1LpD6%250AGDVsxOIzJUnE1%252B%252FQTxDTBf4qfMVnWSB8xjjgu2AQ6cLukghbFAlFGFVvFmEK%250A%252FwCUCZQHI0ocxBihDknCWBdqUq2yXzKGHej%252Ftg6qdZbC6EQRzxA0uD%252BvV1o9%250AREPk68IMh8mjtIQoDiDzeMnNZuP7V4VOQnxLEHZ1AbYd4LSBVJpPNzf8f3UL%250Ags%252FsAF5dzGKKfAQZT6LWrNIiESowDs8sYzEKnus8ZqNZ7nC4vzDmvlnJxL%252Bw%250AC4DEi5CbXxsw%252B7xjGieQ11E7QZ%252BhyjWOoOtSjoUuSB25IWnthtSQQVXL88Q3%250AbqU1QAGh%252FDvnGciNTkswKpgKshiOkYupLogJo6JP%252BBnRx7ZY2D9LNqVG%252BwXU%250AZylyQ2vIWl2ua22tbuMzD1Ju41C5KaQ8pFtQgPlyxSRPOGJCHZ1eCflE8QX8%250AHSsuCSDmwPyEPIDOV%252FVfBwHQHaB3Troi6W1V11CFESeTEhJX%252FEaFFD9dmPEM%250AarJawVjYchLyQvrD7e5144UktNjZbHVqP7XJ472HMfL%252F2PwprDh7OAmKV1Xo%250Ar%252FYcDxUY47xSJfIL5f0kjsvlh1Z%252BaaHip5Ixh1X95ieAYXLibZtQxAkaIN8X%250A%252BiSIkhhR%252FkIjUvXxD9gxgzqXtBeStFrAPGPKvRQ9WmBWVZ9FPNYch1jYkRTR%250Aqk4YX7gOSBSLBfF1hESbU%252FDDwErLL6lU39X%252Fc%252BnXJv7yWruLmENxVA2fAbIx%250ADAVjsRfLPq0AEf7wURhmf75I7tkkleReHTpcZNWAKk%252BVSyjkXUDCABVzgnPn%250AJs4TpagciU%252BH%252Fy677oV8HkMVCqVUmBIW%252F834q8YD56U0Vp6kRrPRek6kqtVe%250AJxJ3gKEfJoFdUNlZbKwPMPnZz1%252BK%252Fr2pKxT4qHlGq3Ekan9piP%252FVC38ZRd%252B4%250AV1mxC2XQQ5kudPnTUxY57EuZIw%252FLz%252FeU%252F78Pu9Q8ptO0x8HQuMTez0p03o1w%250AtFvPFuAyXR6OmWdHxDKMJH1bHNn2pnyo3nXmKAdvaXgzsX2l6f7DRL1kcwNm%250AQp3pZnCdtw7dOD1f4%252Fc8wu5wbewvBjHdfO71WbK%252F7M0FsNT%252BeN2SVgxYa1Va%250A99bWsnsL8OGqDMKeMU32kZKq6mY2aMp7z2hrg4fzn%252Bdge6Gm%252FU0Nu7i%252Fl%252Bs5%250Aypx%252F9XvdudfCbROOxi063y%252B8O852B3ze4YDM86GxtA0lWZ1MLxSncmaabrfn%250AO1OZTPOR9Da0OjvHctTjMV%252Be7upyuZyAk6SNrPUpx6oTrG%252FWcXyfoURcd
$ cat /etc/puppet/puppet.conf
# The configuration file for puppet. Note that this file
# is likely to have unused configuration parameters in it; any parameter
that''s
# valid anywhere in Puppet can be in any config file, even if it''s not
used.
#
# Every section can specify three special parameters: owner, group, and
mode.
# These parameters affect the required permissions of any files
specified after
# their specification. Puppet will sometimes use these parameters to
check its
# own configured state, so they can be used to make Puppet a bit more
self-managing.
#
# Generated on Fri Jun 11 10:36:05 +0200 2010.
#
[puppetmasterd]
manifest = /home/puppet-admin/puppet_config/manifests/site.pp
manifestdir = /home/puppet-admin/puppet_config/manifests
modulepath =
/home/puppet-admin/puppet_config/modules:/usr/share/puppet/modules
templatedir = /home/puppet-admin/puppet_config/templates
[puppetd]
# The server to which server puppetd should connect
# The default value is ''puppet''.
# server = puppet
server = servercharlie.bestgroup
# The shell search path. Defaults to whatever is inherited
# from the parent process.
# The default value is ''none''.
path =
/opt/ruby-ee/bin:/opt/ruby-ee/sbin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
[puppet]
# Whether to use lexical scoping (vs. dynamic).
# lexical = false
# Whether to validate types during parsing.
# The default value is ''true''.
# typecheck = true
# Where Puppet looks for template files. Can be a list of
colon-seperated
# directories.
# The default value is ''$vardir/templates''.
templatedir = /var/lib/puppet/templates
# Whether to validate parameters during parsing.
# The default value is ''true''.
# paramcheck = true
# Whether to only search for the complete
# hostname as it is in the certificate when searching for node
information
# in the catalogs.
# strict_hostname_checking = false
# Wether the master should function as a certificate authority.
# The default value is ''true''.
# ca = true
# Where puppetmasterd logs. This is generally not used,
# since syslog is the default log destination.
# The default value is ''$logdir/puppetmaster.log''.
masterlog = /var/lib/puppet/log/puppetmaster.log
# How the puppetmaster determines the client''s identity
# and sets the ''hostname'', ''fqdn'' and
''domain'' facts for use in the
manifest,
# in particular for determining which ''node'' statement
applies to
the client.
# Possible values are ''cert'' (use the subject''s
CN in the client''s
# certificate) and ''facter'' (use the hostname that the
client
# reported in its facts)
# The default value is ''cert''.
# node_name = cert
# Just check the syntax of the manifests.
# parseonly = false
# The header containing an authenticated
# client''s SSL DN. Only used with Mongrel. This header must be
set by the proxy
# to the authenticated client''s SSL DN (e.g.,
``/CN=puppet.puppetlabs.com``).
# See http://puppetlabs.com/puppet/trac/wiki/UsingMongrel for more
information.
# The default value is ''HTTP_X_CLIENT_DN''.
# ssl_client_header = HTTP_X_CLIENT_DN
# The list of reports to generate. All reports are looked for
# in puppet/reports/<name>.rb, and multiple report names should be
# comma-separated (whitespace is okay).
# The default value is ''store''.
# reports = store
# Code to parse directly. This is essentially only used
# by ``puppet``, and should only be set if you''re writing your own
Puppet
# executable
# The default value is ''''.
# code
# The directory where RRD database files are stored.
# Directories for each reporting host will be created under
# this directory.
# The default value is ''$vardir/rrd''.
rrddir = /var/lib/puppet/rrd
# The group puppetmasterd should run as.
# The default value is ''puppet''.
# group = puppet
# The user puppetmasterd should run as.
# The default value is ''puppet''.
# user = puppet
# Whether to store each client''s configuration. This
# requires ActiveRecord from Ruby on Rails.
# storeconfigs = false
# Where the puppetmasterd web server logs.
# The default value is ''$logdir/masterhttp.log''.
masterhttplog = /var/lib/puppet/log/masterhttp.log
# Where FileBucket files are stored.
# The default value is ''$vardir/bucket''.
bucketdir = /var/lib/puppet/bucket
# The search path for modules as a colon-separated list of
# directories.
# The default value is
''$confdir/modules:/usr/share/puppet/modules''.
modulepath = /etc/puppet/modules:/usr/share/puppet/modules
# The header containing the status
# message of the client verification. Only used with Mongrel. This
header must be set by the proxy
# to ''SUCCESS'' if the client successfully authenticated,
and
anything else otherwise.
# See http://puppetlabs.com/puppet/trac/wiki/UsingMongrel for more
information.
# The default value is ''HTTP_X_CLIENT_VERIFY''.
# ssl_client_verify_header = HTTP_X_CLIENT_VERIFY
# The directory in which to store reports
# received from the client. Each client gets a separate
# subdirectory.
# The default value is ''$vardir/reports''.
reportdir = /var/lib/puppet/reports
# How often RRD should expect data.
# This should match how often the hosts report back to the server.
# The default value is ''$runinterval''.
rrdinterval = 1800
# The entry-point manifest for puppetmasterd.
# The default value is ''$manifestdir/site.pp''.
manifest = /etc/puppet/manifests/site.pp
# Where puppetmasterd looks for its manifests.
# The default value is ''$confdir/manifests''.
manifestdir = /etc/puppet/manifests
# Which port puppetmasterd listens on.
# The default value is ''8140''.
# masterport = 8140
# The configuration file that defines the rights to the different
# rest indirections. This can be used as a fine-grained
# authorization system for ``puppetmasterd``.
# The default value is ''$confdir/auth.conf''.
rest_authconfig = /etc/puppet/auth.conf
# The directory in which YAML data is stored, usually in a
subdirectory.
# The default value is ''$vardir/yaml''.
yamldir = /var/lib/puppet/yaml
# Where the fileserver configuration is stored.
# The default value is ''$confdir/fileserver.conf''.
fileserverconfig = /etc/puppet/fileserver.conf
# The maximum allowed UID. Some platforms use negative UIDs
# but then ship with tools that do not know how to handle signed
ints, so the UIDs show up as
# huge numbers that can then not be fed back into the system. This
is a hackish way to fail in a
# slightly more useful way when that happens.
# The default value is ''4294967290''.
# maximum_uid = 4294967290
# Whether matching in case statements and selectors
# should be case-sensitive. Case insensitivity is
# handled by downcasing all values before comparison.
# casesensitive = false
# Which arguments to pass to the diff command when printing
differences between files.
# The default value is ''-u''.
# diff_args = -u
# The certificate directory.
# The default value is ''$ssldir/certs''.
certdir = /etc/puppet/ssl/certs
# Where to get node catalogs. This is useful to change if, for
instance,
# you''d like to pre-compile catalogs and store them in memcached
or
some other easily-accessed store.
# The default value is ''compiler''.
# catalog_terminus = compiler
# Where host certificate requests are stored.
# The default value is ''$ssldir/certificate_requests''.
requestdir = /etc/puppet/ssl/certificate_requests
# The HTTP proxy port to use for outgoing connections
# The default value is ''3128''.
# http_proxy_port = 3128
# From where to retrieve plugins. The standard Puppet ``file`` type
# is used for retrieval, so anything that is a valid file source can
# be used here.
# The default value is ''puppet://$server/plugins''.
pluginsource = puppet://puppet/plugins
# The shell search path. Defaults to whatever is inherited
# from the parent process.
# The default value is ''none''.
# path = none
# Where puppetd stores the password for its private key.
# Generally unused.
# The default value is ''$privatedir/password''.
passfile = /etc/puppet/ssl/private/password
# Whether to print stack traces on some errors
# trace = false
# Whether to use a queueing system to provide asynchronous database
integration.
# Requires that ``puppetqd`` be running and that ''PSON''
support for
ruby be installed.
# async_storeconfigs = false
# What syslog facility to use when logging to
# syslog. Syslog has a fixed list of valid facilities, and you must
# choose one of those; you cannot just make one up.
# The default value is ''daemon''.
# syslogfacility = daemon
# Where Puppet should look for facts. Multiple directories should
# be colon-separated, like normal PATH variables.
# The default value is
''$vardir/lib/facter/:$vardir/facts''.
factpath = /var/lib/puppet/lib/facter/:/var/lib/puppet/facts
# Whether to just print a configuration to stdout and exit. Only makes
# sense when used interactively. Takes into account arguments
specified
# on the CLI.
genconfig = true
# Where individual hosts store and look for their private key.
# The default value is ''$privatekeydir/$certname.pem''.
hostprivkey = /etc/puppet/ssl/private_keys/servercharlie.bestgroup.pem
# Where Puppet stores dynamic and growing data. The default for
this parameter is calculated specially, like `confdir`_.
# The default value is ''/var/lib/puppet''.
# vardir = /var/lib/puppet
# Whether Puppet should manage the owner, group, and mode of files
# it uses internally
# The default value is ''true''.
# manage_internal_file_permissions = true
# Whether to create the necessary user and group that puppetd will
# run as.
# mkusers = false
# Boolean; wether storeconfigs store in the database only the facts
and exported resources.
# If true, then storeconfigs performance will be higher and still
allow exported/collected
# resources, but other usage external to Puppet might not work
# thin_storeconfigs = false
# Whether facts should be synced with the central server.
# factsync = false
# Where Puppet PID files are kept.
# The default value is ''$vardir/run''.
rundir = /var/lib/puppet/run
# Where the host''s certificate revocation list can be found.
# This is distinct from the certificate authority''s CRL.
# The default value is ''$ssldir/crl.pem''.
hostcrl = /etc/puppet/ssl/crl.pem
# A command to run before every agent run. If this command returns
a non-zero
# return code, the entire Puppet run will fail.
# The default value is ''''.
# prerun_command
# Which diff command to use when printing differences between files.
# The default value is ''diff''.
# diff = diff
# A parameter that can be used in commit
# hooks, since it enables you to parse-check a single file rather
# than requiring that all files exist.
# ignoreimport = false
# An external command that can produce node information. The output
# must be a YAML dump of a hash, and that hash must have one or both of
# ``classes`` and ``parameters``, where ``classes`` is an array and
# ``parameters`` is a hash. For unknown nodes, the commands should
# exit with a non-zero exit code.
# This command makes it straightforward to store your node mapping
# information in other data sources like databases.
# The default value is ''none''.
# external_nodes = none
# The name of the service, if we are running as one. The
# default is essentially $0 without the path or ``.rb``.
# The default value is ''puppet''.
# name = puppet
# Send the process into the background. This is the default.
# The default value is ''true''.
# daemonize = true
# The environment Puppet is running in. For clients
# (e.g., ``puppetd``) this determines the environment itself, which
# is used to find modules and much more. For servers (i.e.,
# ``puppetmasterd``) this provides the default environment for nodes
# we know nothing about.
# The default value is ''production''.
# environment = production
# Where SSL certificates are kept.
# The default value is ''$confdir/ssl''.
ssldir = /etc/puppet/ssl
# Where the puppetd web server logs.
# The default value is ''$logdir/http.log''.
httplog = /var/lib/puppet/log/http.log
# The private key directory.
# The default value is ''$ssldir/private_keys''.
privatekeydir = /etc/puppet/ssl/private_keys
# An extra search path for Puppet. This is only useful
# for those files that Puppet will load on demand, and is only
# guaranteed to work for those cases. In fact, the autoload
# mechanism is responsible for making sure this directory
# is in Ruby''s search path
# The default value is ''$vardir/lib''.
libdir = /var/lib/puppet/lib
# Which type of queue to use for asynchronous processing.
# The default value is ''stomp''.
# queue_type = stomp
# Whether plugins should be synced with the central server.
# pluginsync = false
# Where individual hosts store and look for their certificate requests.
# The default value is ''$ssldir/csr_$certname.pem''.
hostcsr = /etc/puppet/ssl/csr_servercharlie.bestgroup.pem
# Where Puppet should store facts that it pulls down from the central
# server.
# The default value is ''$vardir/facts/''.
factdest = /var/lib/puppet/facts/
# Where individual hosts store and look for their public key.
# The default value is ''$publickeydir/$certname.pem''.
hostpubkey = /etc/puppet/ssl/public_keys/servercharlie.bestgroup.pem
# Whether to use colors when logging to the console.
# Valid values are ``ansi`` (equivalent to ``true``), ``html`` (mostly
# used during testing with TextMate), and ``false``, which produces
# no color.
# The default value is ''ansi''.
# color = ansi
# How to determine the configuration version. By default, it will
be the
# time that the configuration is parsed, but you can provide a
shell script to override how the
# version is determined. The output of this script will be added
to every log message in the
# reports, allowing you to correlate changes on your hosts to the
source version on the server.
# The default value is ''''.
# config_version
# Whether log files should always flush to disk.
# autoflush = false
# What files to ignore when pulling down facts.
# The default value is ''.svn CVS''.
# factsignore = .svn CVS
# Whether certificate revocation should be supported by downloading
a Certificate Revocation List (CRL)
# to all clients. If enabled, CA chaining will almost definitely
not work.
# The default value is ''true''.
# certificate_revocation = true
# The directory where Puppet state is stored. Generally,
# this directory can be removed without causing harm (although it
# might result in spurious service restarts).
# The default value is ''$vardir/state''.
statedir = /var/lib/puppet/state
# Whether to print a contextual diff when files are being
replaced. The diff
# is printed on stdout, so this option is meaningless unless you
are running Puppet interactively.
# This feature currently requires the ``diff/lcs`` Ruby library.
# show_diff = false
# A command to run after every agent run. If this command returns
a non-zero
# return code, the entire Puppet run will be considered to have
failed, even though it might have
# performed work during the normal run.
# The default value is ''''.
# postrun_command
# The configuration file that defines the rights to the different
# namespaces and methods. This can be used as a coarse-grained
# authorization system for both ``puppetd`` and ``puppetmasterd``.
# The default value is ''$confdir/namespaceauth.conf''.
authconfig = /etc/puppet/namespaceauth.conf
# The DNS names on the Server certificate as a colon-separated list.
# If it''s anything other than an empty string, it will be used as
an alias in the created
# certificate. By default, only the server gets an alias set up,
and only for ''puppet''.
# The default value is ''''.
# certdnsnames
# Where to find information about nodes.
# The default value is ''plain''.
# node_terminus = plain
# The public key directory.
# The default value is ''$ssldir/public_keys''.
publickeydir = /etc/puppet/ssl/public_keys
# The HTTP proxy host to use for outgoing connections. Note: You
# may need to use a FQDN for the server hostname when using a proxy.
# The default value is ''none''.
# http_proxy_host = none
# The name to use when handling certificates. Defaults
# to the fully qualified domain name.
# The default value is ''servercharlie.bestgroup''.
certname = servercharlie.bestgroup
# Where Puppet should store plugins that it pulls down from the central
# server.
# The default value is ''$libdir''.
plugindest = /var/lib/puppet/lib
# The minimum time to wait (in seconds) between checking for updates in
# configuration files. This timeout determines how quickly Puppet
checks whether
# a file (such as manifests or templates) has changed on disk.
# The default value is ''15''.
# filetimeout = 15
# Print the value of a specific configuration parameter. If a
# parameter is provided for this, then the value is printed and puppet
# exits. Comma-separate multiple values. For a list of all values,
# specify ''all''. This feature is only available in
Puppet versions
# higher than 0.18.4.
# The default value is ''''.
# configprint
# Where the client stores private certificate information.
# The default value is ''$ssldir/private''.
privatedir = /etc/puppet/ssl/private
# Which type of queue to use for asynchronous processing. If your
stomp server requires
# authentication, you can include it in the URI as long as your
stomp client library is at least 1.1.1
# The default value is ''stomp://localhost:61613/''.
# queue_source = stomp://localhost:61613/
# What files to ignore when pulling down plugins.
# The default value is ''.svn CVS .git''.
# pluginsignore = .svn CVS .git
# Where individual hosts store and look for their certificates.
# The default value is ''$certdir/$certname.pem''.
hostcert = /etc/puppet/ssl/certs/servercharlie.bestgroup.pem
# The main Puppet configuration directory. The default for this
parameter is calculated based on the user. If the process
# is runnig as root or the user that ``puppetmasterd`` is supposed
to run as, it defaults to a system directory, but if it''s running as
any
other user,
# it defaults to being in ``~``.
# The default value is ''/etc/puppet''.
# confdir = /etc/puppet
# From where to retrieve facts. The standard Puppet ``file`` type
# is used for retrieval, so anything that is a valid file source can
# be used here.
# The default value is ''puppet://$server/facts/''.
factsource = puppet://puppet/facts/
# Where each client stores the CA certificate.
# The default value is ''$certdir/ca.pem''.
localcacert = /etc/puppet/ssl/certs/ca.pem
# The Puppet log directory.
# The default value is ''$vardir/log''.
logdir = /var/lib/puppet/log
# Boolean; whether to use the zlib library
# The default value is ''true''.
# zlib = true
# Whether to just print a manifest to stdout and exit. Only makes
# sense when used interactively. Takes into account arguments
specified
# on the CLI.
# genmanifest = false
# The maximum time to delay before runs. Defaults to being the
same as the
# run interval.
# The default value is ''$runinterval''.
splaylimit = 1800
# Where puppetd and puppetmasterd store state associated
# with the running configuration. In the case of puppetmasterd,
# this file reflects the state discovered through interacting
# with clients.
# The default value is ''$statedir/state.yaml''.
statefile = /var/lib/puppet/state/state.yaml
# How long the client should wait for the configuration to be retrieved
# before considering it a failure. This can help reduce flapping
if too
# many clients contact the server at one time.
# The default value is ''120''.
# configtimeout = 120
# Whether puppetd should be run in noop mode.
# noop = false
# Boolean; whether puppetd should ignore schedules. This is useful
# for initial puppetd runs.
# ignoreschedules = false
# The port to communicate with the report_server.
# The default value is ''$masterport''.
report_port = 8140
# Whether puppetd should listen for
# connections. If this is true, then by default only the
# ``runner`` server is started, which allows remote authorized
# and authenticated nodes to connect and trigger ``puppetd``
# runs.
# listen = false
# (Deprecated for ''preferred_serialization_format'') What
format to
# use to dump the catalog. Only supports ''marshal'' and
''yaml''. Only
# matters on the client, since it asks the server for a specific
format.
# The default value is ''''.
# catalog_format
# Whether to use the cached configuration when the remote
# configuration will not compile. This option is useful for testing
# new configurations, where you want to fix the broken configuration
# rather than reverting to a known-good one.
# The default value is ''true''.
# usecacheonfailure = true
# Whether facts should be made all lowercase when sent to the server.
# downcasefacts = false
# Whether to sleep for a pseudo-random (but consistent) amount of
time before
# a run.
# splay = false
# The directory in which client-side YAML data is stored.
# The default value is ''$vardir/client_yaml''.
clientyamldir = /var/lib/puppet/client_yaml
# (Deprecated for ''report_server'') The server to which to
send
transaction reports.
# The default value is ''$server''.
reportserver = puppet
# Which port puppetd listens on.
# The default value is ''8139''.
# puppetport = 8139
# Where to store dot-outputted graphs.
# The default value is ''$statedir/graphs''.
graphdir = /var/lib/puppet/state/graphs
# The server to use for certificate
# authority requests. It''s a separate server because it cannot
# and does not need to horizontally scale.
# The default value is ''$server''.
ca_server = puppet
# The preferred means of serializing
# ruby instances for passing over the wire. This won''t guarantee
that all
# instances will be serialized using this method, since not all classes
# can be guaranteed to support this format, but it will be used for all
# classes that support it.
# The default value is ''pson''.
# preferred_serialization_format = pson
# Whether to only use the cached catalog rather than compiling a
new catalog
# on every run. Puppet can be run with this enabled by default and
then selectively
# disabled when a recompile is desired.
# use_cached_catalog = false
# Whether to create dot graph files for the different
# configuration graphs. These dot files can be interpreted by tools
# like OmniGraffle or dot (which is part of ImageMagick).
# graph = false
# Facts that are dynamic; these facts will be ignored when deciding
whether
# changed facts should result in a recompile. Multiple facts should be
# comma-separated.
# The default value is
''memorysize,memoryfree,swapsize,swapfree''.
# dynamicfacts = memorysize,memoryfree,swapsize,swapfree
# The server to which server puppetd should connect
# The default value is ''puppet''.
# server = puppet
# Where puppetd caches the local configuration. An
# extension indicating the cache format is added automatically.
# The default value is ''$statedir/localconfig''.
localconfig = /var/lib/puppet/state/localconfig
# Where FileBucket files are stored locally.
# The default value is ''$vardir/clientbucket''.
clientbucketdir = /var/lib/puppet/clientbucket
# The log file for puppetd. This is generally not used.
# The default value is ''$logdir/puppetd.log''.
puppetdlog = /var/lib/puppet/log/puppetd.log
# The server to which to send transaction reports.
# The default value is ''$server''.
report_server = puppet
# How often puppetd applies the client configuration; in seconds.
# The default value is ''1800''.
# runinterval = 1800
# The port to use for the certificate authority.
# The default value is ''$masterport''.
ca_port = 8140
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuration. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is ''$statedir/classes.txt''.
classfile = /var/lib/puppet/state/classes.txt
# A lock file to temporarily stop puppetd from doing anything.
# The default value is ''$statedir/puppetdlock''.
puppetdlockfile = /var/lib/puppet/state/puppetdlock
# Ignore cache and always recompile the configuration. This is
# useful for testing new configurations, where the local cache may in
# fact be stale even if the timestamps are up to date - if the facts
# change or if the server changes.
# ignorecache = false
# Whether to send reports after every transaction.
# report = false
# The type of server to use. Currently supported
# options are webrick and mongrel. If you use mongrel, you will need
# a proxy in front of the process or processes, since Mongrel cannot
# speak SSL.
# The default value is ''webrick''.
# servertype = webrick
# The configuration file for puppet.
# The default value is ''$confdir/puppet.conf''.
config = /etc/puppet/puppet.conf
# The pid file
# The default value is ''$rundir/$name.pid''.
pidfile = /var/lib/puppet/run/puppet.pid
# The address a listening server should bind to. Mongrel servers
# default to 127.0.0.1 and WEBrick defaults to 0.0.0.0.
# The default value is ''''.
bindaddress = 0.0.0.0
# The ''from'' email address for the reports.
# The default value is ''report@ServerCharlie.bestgroup''.
# reportfrom = report@ServerCharlie.bestgroup
# The mapping between reporting tags and email addresses.
# The default value is ''$confdir/tagmail.conf''.
tagmap = /etc/puppet/tagmail.conf
# The server through which to send email reports.
# The default value is ''none''.
# smtpserver = none
# Where to find the sendmail binary with which to send email.
# The default value is ''/usr/sbin/sendmail''.
# sendmail = /usr/sbin/sendmail
# The CA private key.
# The default value is ''$cadir/ca_key.pem''.
cakey = /etc/puppet/ssl/ca/ca_key.pem
# Where the CA stores private certificate information.
# The default value is ''$cadir/private''.
caprivatedir = /etc/puppet/ssl/ca/private
# Where the CA stores the password for the private key
# The default value is ''$caprivatedir/ca.pass''.
capass = /etc/puppet/ssl/ca/private/ca.pass
# How long a certificate should be valid.
# This parameter is deprecated, use ca_ttl instead
# The default value is ''''.
# ca_days
# The bit length of the certificates.
# The default value is ''2048''.
# req_bits = 2048
# The root directory for the certificate authority.
# The default value is ''$ssldir/ca''.
cadir = /etc/puppet/ssl/ca
# The CA public key.
# The default value is ''$cadir/ca_pub.pem''.
capub = /etc/puppet/ssl/ca/ca_pub.pem
# Where the CA stores certificate requests
# The default value is ''$cadir/requests''.
csrdir = /etc/puppet/ssl/ca/requests
# Where the serial number for certificates is stored.
# The default value is ''$cadir/serial''.
serial = /etc/puppet/ssl/ca/serial
# The default TTL for new certificates; valid values
# must be an integer, optionally followed by one of the units
# ''y'' (years of 365 days), ''d'' (days),
''h'' (hours), or
# ''s'' (seconds). The unit defaults to seconds. If this
parameter
# is set, ca_days is ignored. Examples are ''3600'' (one
hour)
# and ''1825d'', which is the same as
''5y'' (5 years)
# The default value is ''5y''.
# ca_ttl = 5y
# The bit length of keys.
# The default value is ''1024''.
# keylength = 1024
# The CA certificate.
# The default value is ''$cadir/ca_crt.pem''.
cacert = /etc/puppet/ssl/ca/ca_crt.pem
# The certificate revocation list (CRL) for the CA. Will be used if
present but otherwise ignored.
# The default value is ''$cadir/ca_crl.pem''.
cacrl = /etc/puppet/ssl/ca/ca_crl.pem
# Where the CA stores signed certificates.
# The default value is ''$cadir/signed''.
signeddir = /etc/puppet/ssl/ca/signed
# Whether to enable autosign. Valid values are true (which
# autosigns any key request, and is a very bad idea), false (which
# never autosigns any key request), and the path to a file, which
# uses that configuration file to determine which keys to sign.
# The default value is ''$confdir/autosign.conf''.
autosign = /etc/puppet/autosign.conf
# The type of hash used in certificates.
# The default value is ''md5''.
# ca_md = md5
# A Complete listing of all certificates
# The default value is ''$cadir/inventory.txt''.
cert_inventory = /etc/puppet/ssl/ca/inventory.txt
# Whether SSL should be used when searching for nodes.
# Defaults to false because SSL usually requires certificates
# to be set up on the client side.
# ldapssl = false
# The LDAP port. Only used if ``ldapnodes`` is enabled.
# The default value is ''389''.
# ldapport = 389
# The LDAP attributes that should be stacked to arrays by adding
# the values in all hierarchy elements of the tree. Values
# should be comma-separated.
# The default value is ''puppetvar''.
# ldapstackedattrs = puppetvar
# The user to use to connect to LDAP. Must be specified as a
# full DN.
# The default value is ''''.
# ldapuser
# Whether TLS should be used when searching for nodes.
# Defaults to false because TLS usually requires certificates
# to be set up on the client side.
# ldaptls = false
# The search string used to find an LDAP node.
# The default value is
''(&(objectclass=puppetClient)(cn=%s))''.
# ldapstring = (&(objectclass=puppetClient)(cn=%s))
# The LDAP attributes to include when querying LDAP for nodes. All
# returned attributes are set as variables in the top-level scope.
# Multiple values should be comma-separated. The value
''all'' returns
# all attributes.
# The default value is ''all''.
# ldapattrs = all
# The password to use to connect to LDAP.
# The default value is ''''.
# ldappassword
# Whether to search for node configurations in LDAP. See
# http://puppetlabs.com/trac/puppet/wiki/LDAPNodes for more
information.
# ldapnodes = false
# The LDAP server. Only used if ``ldapnodes`` is enabled.
# The default value is ''ldap''.
# ldapserver = ldap
# The LDAP attributes to use to define Puppet classes. Values
# should be comma-separated.
# The default value is ''puppetclass''.
# ldapclassattrs = puppetclass
# The attribute to use to define the parent node.
# The default value is ''parentnode''.
# ldapparentattr = parentnode
# The search base for LDAP searches. It''s impossible to provide
# a meaningful default here, although the LDAP libraries might
# have one already set. Generally, it should be the
''ou=Hosts''
# branch under your main directory.
# The default value is ''''.
# ldapbase
# The database cache for client configurations. Used for
# querying within the language.
# The default value is ''$statedir/clientconfigs.sqlite3''.
dblocation = /var/lib/puppet/state/clientconfigs.sqlite3
# The name of the database to use.
# The default value is ''puppet''.
# dbname = puppet
# The database password for caching. Only
# used when networked databases are used.
# The default value is ''puppet''.
# dbpassword = puppet
# The log level for Rails connections. The value must be
# a valid log level within Rails. Production environments normally
use ``info``
# and other environments normally use ``debug``.
# The default value is ''info''.
# rails_loglevel = info
# The type of database to use.
# The default value is ''sqlite3''.
# dbadapter = sqlite3
# The database server for caching. Only
# used when networked databases are used.
# The default value is ''localhost''.
# dbserver = localhost
# The database socket location. Only used when networked
# databases are used. Will be ignored if the value is an empty string.
# The default value is ''''.
# dbsocket
# Whether to automatically migrate the database.
# dbmigrate = false
# The database user for caching. Only
# used when networked databases are used.
# The default value is ''puppet''.
# dbuser = puppet
# Where Rails-specific logs are sent
# The default value is ''$logdir/rails.log''.
railslog = /var/lib/puppet/log/rails.log
# Tags to use to find resources. If this is set, then
# only resources tagged with the specified tags will be applied.
# Values must be comma-separated.
# The default value is ''''.
# tags
# Whether each resource should log when it is
# being evaluated. This allows you to interactively see exactly
# what is being done.
# evaltrace = false
# Whether to print a transaction summary.
# summarize = false
Anyway, hopefully someone can help me shed some light on this.
Thanks,
Chris
On 08/30/2010 05:00 PM, christopher floess wrote:> Hi all,
>
> I''ve used
>
> http://projects.puppetlabs.com/projects/1/wiki/Using_Mongrel_Nginx
> and
> http://projects/puppetlabs.com/projects/1/wiki/Using_Passenger
>
> to try to get puppet set up with nginx, but have had not luck up to
> this point. nginx successfully sends the request to the application.
> You can see the session here:
>
> http://gist.github.com/553464
>
> Since puppet worked while I was simply running it with puppetmasterd,
> I''m pretty sure that my nginx/passenger setup is somehow not quite
> right, and since passenger gets the request from nginx and tries to
> handle it, I suspect that this has to do with my file/directory
> structure (also because I get a 404).
>
> My problem is that I don''t know how to properly troubleshoot this
any
> further.
>
> I''ve got the following file, directory set up:
>
> | --${puppet_root}
> |-- manifests
> | |-- modules.pp
> | |-- nodes.pp
> | `-- site.pp
> |
> |-- app
> | |-- config.ru
> | |-- public -> ${puppet_root}/manifests/
> | |-- tmp
> `-- log
>
> and passenger_root is set to ${puppet_root}/app where, like I said, it
> does indeed seem to find config.ru.
>
> So yeah, any help here would be appreciated. I''ve also asked about
> this in the channel and couple of people had similar issues. No one
> was able to help us though, so maybe this will clear some things up
> for some people. Let me know if you need anything else.
>
> I think maybe my manifests, modules and classes might need to be in
> the app/public folder or something.
>
> Regards,
> Chris
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.