Moved to the monasca-notification cookbook
Change-Id: Iff727dde0895c5737c49a184180e6f6e154afd33
This commit is contained in:
parent
5520c2e38c
commit
295606fcff
@ -10,7 +10,7 @@ cookbook 'ds-build', path: './cookbooks/ds-build'
|
||||
cookbook 'mon_api', git: 'https://github.com/hpcloud-mon/cookbooks-mon_api'
|
||||
cookbook 'kafka', git: 'https://github.com/hpcloud-mon/cookbooks-kafka'
|
||||
cookbook 'mon_agent', git: 'https://github.com/hpcloud-mon/cookbooks-mon_agent'
|
||||
cookbook 'mon_notification', git: 'https://github.com/hpcloud-mon/cookbooks-mon_notification'
|
||||
cookbook 'monasca_notification', git: 'https://github.com/stackforge/cookbook-monasca-notification'
|
||||
cookbook 'mon_persister', git: 'https://github.com/hpcloud-mon/cookbooks-mon_persister.git'
|
||||
cookbook 'mon_thresh', git: 'https://github.com/hpcloud-mon/cookbooks-mon_thresh'
|
||||
cookbook 'storm', git: 'https://github.com/tkuhlman/storm'
|
||||
|
@ -71,7 +71,7 @@
|
||||
"recipe[kafka]",
|
||||
"recipe[kafka::create_topics]",
|
||||
"recipe[mini-mon::postfix]",
|
||||
"recipe[mon_notification]",
|
||||
"recipe[monasca_notification]",
|
||||
"recipe[influxdb]",
|
||||
"recipe[mini-mon::influxdb]",
|
||||
"recipe[sysctl]",
|
||||
|
@ -22,7 +22,7 @@
|
||||
"recipe[kafka]",
|
||||
"recipe[kafka::create_topics]",
|
||||
"recipe[mini-mon::postfix]",
|
||||
"recipe[mon_notification]"
|
||||
"recipe[monasca_notification]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ def wait_for_alarm_state_change(alarm_id, old_state):
|
||||
|
||||
|
||||
def check_notifications(alarm_id, state_changes):
|
||||
if not os.path.isfile('/etc/mon/notification.yaml'):
|
||||
if not os.path.isfile('/etc/monasca/notification.yaml'):
|
||||
print('Notification Engine not installed on this VM,' +
|
||||
' skipping Notifications test',
|
||||
file=sys.stderr)
|
||||
|
@ -95,7 +95,7 @@ def create_mon_client():
|
||||
|
||||
|
||||
def ensure_has_notification_engine():
|
||||
if not os.path.isfile('/etc/mon/notification.yaml'):
|
||||
if not os.path.isfile('/etc/monasca/notification.yaml'):
|
||||
print('Must be run on a VM with Notification Engine installed',
|
||||
file=sys.stderr)
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user