Skip to content

Commit

Permalink
Removed config values and added some information
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Vandamme committed Sep 17, 2015
1 parent ce705bb commit fbe0b7b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fbe0b7b

Please sign in to comment.