Skip to content
drwahl edited this page Dec 12, 2012 · 3 revisions

setup.py

  • setup.py -h
usage: setup.py [-h] -a {append,new} -c PUPPET_CLASSES

Add Default Node To Mongodb ENC

optional arguments:
  -h, --help            show this help message and exit
  -a {append,new}, --action {append,new}
                        Append Or Recreate Default Node
  -c PUPPET_CLASSES, --class PUPPET_CLASSES
                        Can specify multiple classes each with -c
  • -a --action {append, new} : "new" - creates a new "default" node in mongodb. "append" will add classes to the "default" node.

  • -c --class : This is going to the class which should be added to the "default" node. -c --class needs to be called before each class (Example: -c base -c sudoers -c nagios)

Clone this wiki locally