diff options
author | Nick Lewis <nick@puppetlabs.com> | 2011-06-02 16:24:16 -0700 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2011-06-06 15:49:38 -0700 |
commit | 1c70f0ce54022b55119b9e2d6d60cd1ae9bc019e (patch) | |
tree | 35a7c2372773859c688cc4778a7c5507221553fa /lib/puppet/rails/rails_resource.rb | |
parent | c629958fb45f9ae3581f01835bf89654dd7967b7 (diff) | |
download | puppet-1c70f0ce54022b55119b9e2d6d60cd1ae9bc019e.tar.gz puppet-1c70f0ce54022b55119b9e2d6d60cd1ae9bc019e.tar.xz puppet-1c70f0ce54022b55119b9e2d6d60cd1ae9bc019e.zip |
(#2128) Add support for setting node name based on a fact
This adds the node_name_fact setting, which specifies a fact to use to
determine the node name. This allows dynamically determining the node name
without having to modify puppet.conf or command line options.
Using this setting requires modifying auth.conf to allow nodes to request
catalogs not matching their certnames.
For example, this would allow any authenticated node to retrieve any catalog:
# $confdir/auth.conf
path ~ /catalog/.+
allow *
The node_name_fact and node_name_value options are mutually exclusive, because
it is ambiguous which setting should take precedence.
Paired-With: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions