puppetlabs/Razor — pull request #406 by tjmcs (2013-02-15 18:54:39+00:00)
Title: Fixes #405 (Razor daemon ignoring the node_expire_timeout value)

Modified the Razor daemon so that it uses the new syntax added recently to separate out slices that provide a **JSON** interface from those that provide a **Web** interface.

It turns out that invoking a `razor -w config` command now returns an **InvalidSlice** error rather than returning the current configuration for the Razor server. The new syntax that must be used to obtain the configuration is `razor -j config` (and this change in syntax had not been propagated out to everywhere that the older `razor -w config` syntax was being used, specifically to the razor_daemon.rb script where that command was being used to obtain the value of the **node_expire_timeout** parameter. The result was that the node_expire_timeout value contained in the Razor configuration was being ignored and a default (15 minute) value for this node_expire_timeout parameter was being used instead.