From 5b70be886062c3916a6635b391806a2077578fef Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 26 Jan 2010 16:49:50 -0500 Subject: add 'starts_with' mapping for upstart-job --- ec2init/UserDataHandler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ec2init/UserDataHandler.py b/ec2init/UserDataHandler.py index 0ab1bbec..1066ce15 100644 --- a/ec2init/UserDataHandler.py +++ b/ec2init/UserDataHandler.py @@ -7,7 +7,8 @@ from email.mime.text import MIMEText starts_with_mappings={ '#include' : 'text/x-include-url', '#!' : 'text/x-shellscript', - '#cloud-config' : 'text/cloud-config' + '#cloud-config' : 'text/cloud-config', + '#upstart-job' : 'text/upstart-job' } # if 'str' is compressed return decompressed otherwise return it -- cgit v1.2.3