Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Berksfile.lock
Gemfile.lock
bin/*
.bundle/*
.idea

.kitchen/
.kitchen.local.yml
8 changes: 5 additions & 3 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@
action :checkout
end

# needed for python
%w(build-essential python-dev).each do |package|
apt_package package
build_essentials = node['platform'] == 'centos' ? %w(make automake gcc gcc-c++ kernel-devel python-devel) : %w(build-essential python-dev)

build_essentials.each do |package|
package package
end

python_runtime '2' # requriment of elastalert
Expand Down Expand Up @@ -90,6 +91,7 @@
user elast_user
group elast_group
mode '0755'
recursive true
end

managed_directory elast_rules_dir do
Expand Down