pimgen: Move events to events.d
Draw attention to the intent is that other packages install
files here.
Change-Id: I0a6fbe86a16f39f4bb71a0bea367ec3508b14369
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/example/events/match1.yaml b/example/events.d/match1.yaml
similarity index 100%
rename from example/events/match1.yaml
rename to example/events.d/match1.yaml
diff --git a/example/events/match2.yaml b/example/events.d/match2.yaml
similarity index 100%
rename from example/events/match2.yaml
rename to example/events.d/match2.yaml
diff --git a/pimgen.py b/pimgen.py
index 73e089a..f16b182 100755
--- a/pimgen.py
+++ b/pimgen.py
@@ -36,9 +36,9 @@
args = parser.parse_args()
- # Aggregate all the event YAML in the events directory
+ # Aggregate all the event YAML in the events.d directory
# into a single list of events.
- events_dir = os.path.join(args.inputdir, 'events')
+ events_dir = os.path.join(args.inputdir, 'events.d')
yaml_files = filter(
lambda x: x.endswith('.yaml'),
os.listdir(events_dir))