PyCharm 2017.3 Help

Puppet. Environments

File | Settings | Languages and Frameworks | Puppet - Environments for Windows and Linux
PyCharm | Preferences | Languages and Frameworks | Puppet - Environments for macOS


ItemDescription
Synchronize environment with VCS branch nameSelect this checkbox to avoid creating or choosing different Puppet environment on changing branches.

If a Git branch changes, the current environment changes accordingly, thus changing the set of the used libraries automatically.

List of environments and modulepathsThe list is created by new and delete buttons. Besides adding and deleting, it is possible to edit the selected environments.

Note the following:

  • A modulepath is a directory that contains modules.
  • The list of modules attached via the modulepath is shown under the node External Libraries in the Project Tool Window.
  • To apply a certain environment manually, it's necessary to select it in the list and click Apply.
addClick this button to add a new environment to the list. Clicking new opens the Create New Environment dialog:
ItemDescription
Environment nameThis text field shows the suggested environment name. Accept default, of type your preferred name.
Use default modulepathSelect this checkbox to choose the default modulepath for the created environment.

If this checkbox is selected, the Custom modulepath field is disabled.

Note that all the existing defaults are already described in the modulepath.

Custom modulepathThis text field is only enabled, when Use default modulepath checkbox is not selected.
Use this field to specify your preferred modulepath for a generated environment. Type the path manually, or click browseButton and choose the desired directory in the Select modulepath for this environment dialog.
deleteClick this button to delete the selected environment from the list.
edit1Click this button to change the selected environment. Clicking edit1 opens the Edit Environment dialog with the following controls:
ItemDescription
Environment nameThis text field shows the existing environment name. Type your preferred name.
Use default modulepathSelect this checkbox to choose the default modulepath for the selected environment.

If this checkbox is selected, the Custom modulepath field is disabled.

Custom modulepathThis text field is only enabled, when Use default modulepath checkbox is not selected.
Use this field to specify your preferred modulepath for the environment. Type the path manually, or click browseButton and choose the desired directory in the Select modulepath for this environment dialog.
Last modified: 29 November 2017

See Also

Procedures: