ANTFARM/Traceroute/Commands/Environment name

The environment name in Antfarm refers to the environment (database session) you are currently using with Antfarm. The default environment for Antfarm is named "antfarm". However, if you want to have various environments (database sessions) that contain different information in them, you must edit the defaults.yml file.

The default defaults.yml file contains the following information initially:

    environment: antfarm
    log level: warn

To add more environments to the defaults.yml file using postgresql, add the following to the file (leaving the 1st two lines there):

    environment1 name:
      adapter: postgresql
    environment2 name:
      adapter: postgresql

and so on.

Last modified on 23 April 2009, at 17:18