Update nagios3.yaml to reflect changes to the postfix element.
authorChris Krelle <nobodycam@gmail.com>
Thu, 4 Jul 2013 14:42:52 +0000 (07:42 -0700)
committerChris Krelle <nobodycam@gmail.com>
Sat, 6 Jul 2013 15:33:55 +0000 (08:33 -0700)
Recent changes to the postfix element added new parameters so
the nagios3 template needed to updated to ensure postfix works
as expected.

Change-Id: I0a9eb8e0988470888f35adcc426ccd314f93b301
Authored-by: Chris Krelle <nobodycam@gmail.com>
nagios3.yaml

index 6d86ebb..4f6a422 100644 (file)
@@ -47,6 +47,18 @@ Parameters:
     Type: String
     Default: |
       -----  BEGIN PlaceHolder...
+  PostfixMailHostname:
+    Description: Hostname for postfix..
+    Type: String
+    Default: nagios3-nagios3
+  PostfixMailDomain:
+    Description: Top level domain for postfix.
+    Type: String
+    Default: novalocal
+  PostfixDelayWarningTime:
+    Description: Amount of time to Delay warnnings.
+    Type: String
+    Default: 4h
 Resources:
   nagios3:
     Metadata:
@@ -69,6 +81,13 @@ Resources:
           Ref: NovaOsTenantName
         initial_network_split_key:
           Ref: InitialIpSplitKey
+      postfix:
+        mailhostname:
+          Ref: PostfixMailHostname
+        maildomain:
+          Ref: PostfixMailDomain
+        delay_warning_time:
+          Ref: PostfixDelayWarningTime
     Type: AWS::EC2::Instance
     Properties:
       KeyName:
@@ -78,4 +97,4 @@ Resources:
       InstanceType: {Ref: InstanceType}
 Outputs:
     Nagios3Host:
-        Fn::GetAtt: [ nagios3 , PrivateIp ]
\ No newline at end of file
+        Fn::GetAtt: [ nagios3 , PrivateIp ]