diff --git a/recipes/default.rb b/recipes/default.rb index f05ab0c..779dbca 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -5,11 +5,17 @@ class Chef::Recipe ruby_block "send event" do block do Chef::Coscale.event( - baseurl='http://api.qa.coscale.com/', # Specify the required ``baseurl`` parameter. - accesstoken='ba6e6bca-189a-4d4f-a73f-e97f7363f7ca', # Specify the required ``accesstoken`` parameter. - appid='00005af2-23f3-4ae1-82a8-360c949c6d1c', # Specify the required ``appid`` parameter. - event_name='Software updates', # Specify the required ``event_name`` parameter. - event_message='Updating Nginx', # Specify the required ``event_message`` parameter. - event_timestamp=0) # Specify the required ``event_timestamp`` parameter. + # Authentication info + accesstoken='', + appid='', + + # Event information + event_name='Category of the event', + event_message='Custom message', + event_timestamp=0, # Now + + # URL to push event to + baseurl='https://api.coscale.com/' + ) end end