Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
cb3df9b7
Commit
cb3df9b7
authored
Mar 21, 2014
by
Carson Gee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct another lingering /opt ref
parent
049f04b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
playbooks/roles/logstash/tasks/main.yml
+2
-3
playbooks/roles/logstash/templates/logstash.upstart.conf.j2
+1
-1
No files found.
playbooks/roles/logstash/tasks/main.yml
View file @
cb3df9b7
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
-
name
:
ensure we have the specified logstash release
-
name
:
ensure we have the specified logstash release
get_url
:
url={{ logstash_url }} dest={{ logstash_app_dir }}/share/{{ logstash_file }}
get_url
:
url={{ logstash_url }} dest={{ logstash_app_dir }}/share/{{ logstash_file }}
-
name
:
ensure symlink with no version exists at
/opt/logstash
/share/logstash.jar
-
name
:
ensure symlink with no version exists at
{{ logstash_app_dir }}
/share/logstash.jar
file
:
src={{ logstash_app_dir }}/share/${logstash_file} dest={{ logstash_app_dir }}/share/logstash.jar state=link
file
:
src={{ logstash_app_dir }}/share/${logstash_file} dest={{ logstash_app_dir }}/share/logstash.jar state=link
-
name
:
start logstash
-
name
:
start logstash
...
@@ -46,4 +46,4 @@
...
@@ -46,4 +46,4 @@
-
name
:
Enable logstash es index template
-
name
:
Enable logstash es index template
shell
:
chdir=/etc/elasticsearch executable=/bin/bash curl -XPUT 'http://localhost:9200/_template/template_logstash' -d @template_logstash.json
shell
:
chdir=/etc/elasticsearch executable=/bin/bash curl -XPUT 'http://localhost:9200/_template/template_logstash' -d @template_logstash.json
# TODO: Add index rotations for kibana
# TODO: Add index rotations for kibana
\ No newline at end of file
playbooks/roles/logstash/templates/logstash.upstart.conf.j2
View file @
cb3df9b7
...
@@ -10,7 +10,7 @@ respawn
...
@@ -10,7 +10,7 @@ respawn
respawn limit 5 30
respawn limit 5 30
limit nofile 65550 65550
limit nofile 65550 65550
env HOME=
/opt/logstash
env HOME=
{{ logstash_app_dir }}
env JAVA_OPTS='-Xms512m -Xmx512m'
env JAVA_OPTS='-Xms512m -Xmx512m'
env PATH=$PATH:/usr/lib/jvm/{{ oraclejdk_base }}/bin
env PATH=$PATH:/usr/lib/jvm/{{ oraclejdk_base }}/bin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment