Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I get puppet to load other policy files in the manifest directory?

It loads site.pp fine, but I would like to load a couple others I have in the directory and it is not loading them with a default install. I realize modules may be a better approach, and I may end up doing that, but for now I just want to logically separate the configuration into separate files. This information is difficult to find in the documentation.

share|improve this question
up vote 2 down vote accepted

If you have your other files in the same directory, you can toss something like this into your site.pp:

import "someotherfile.pp"
import "classes/*"
import "definitions/*"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.