Skip to content

Commit

Permalink
update readme with new configuration options
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Nov 2, 2011
1 parent 0b1bca9 commit 3eabe51
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README
Expand Up @@ -10,10 +10,20 @@ the specified port you should get a JSON response containing the current node in


Configuration options: Configuration options:
--no-daemonize Don't daemonize the web server process --no-daemonize Don't daemonize the web server process
-p, --port PORT The port to run web-puppet on -p, --port PORT The port to run web-facter on

-c, --config FILE The file to load with configuration options
Common options: -h, --help Display this screenp
-h, --help Display this screen


Note that in most setups the yaml directory containing the node information isn't readable Note that in most setups the yaml directory containing the node information isn't readable
by all users, so you may need to run this as puppet or root. by all users, so you may need to run this as puppet or root.

You can configure web-puppet using a configuration file, using the following format, and
specifying the filename with the --config option above.

username=gilbert
password=george
port=3009
daemonize=true

Note that the port and daemonize options will override those on the command line.
The username and password options enable HTTP basic authentication using those details.

0 comments on commit 3eabe51

Please sign in to comment.