-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Versioning, reflected in pillar.example #3
base: master
Are you sure you want to change the base?
Conversation
@@ -5,5 +5,6 @@ include: | |||
filebeat_install: | |||
pkg.installed: | |||
- name: filebeat | |||
- version: {{ salt['pillar.get']('beats:filebeat:version', '6.1.2') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not something like that?
[...]
{% if beats.filebeat.version is defined %}
- version: {{ salt['pillar.get']('beats:filebeat:version') }}
{% endif %}
[...]
If specified within the pillar, the version will be enforced. If not, the latest version of the package will be installed
@@ -5,5 +5,6 @@ include: | |||
metricbeat_install: | |||
pkg.installed: | |||
- name: metricbeat | |||
- version: {{ salt['pillar.get']('beats:metricbeat:version', '6.1.2') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not something like that?
[...]
{% if beats.metricbeat.version is defined %}
- version: {{ salt['pillar.get']('beats:metricbeat:version') }}
{% endif %}
[...]
If specified within the pillar, the version will be enforced. If not, the latest version of the package will be installed
@@ -1,5 +1,6 @@ | |||
beats: | |||
filebeat: | |||
version: latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think using latest
as version could break pkg.installed
state.
@@ -14,6 +15,7 @@ beats: | |||
rotateeverybytes: 10485760 | |||
keepfiles: 7 | |||
metricbeat: | |||
version: latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think using latest
as version could break pkg.installed
state.
…ketbeat Forgot to edit version and changelog file
No description provided.