saltstack-formulas / zabbix-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
50 stars 121 forks source link

fix(fedora): get all `fedora` instances working (`2018.3`+) #136

Closed myii closed 4 years ago

myii commented 4 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

Yes:

BREAKING CHANGE: Minimum Salt version support is now `2018.3` in line
with official upstream support; also use of the `traverse` Jinja filter.

Related issues and/or pull requests

Describe the changes you're proposing

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

myii commented 4 years ago

CC: @hatifnatt @xenadmin @absmith82 @OrangeDog -- I'm pinging you all since you use/develop this formula.

This PR involves a BREAKING CHANGE as mentioned above. The minimum supported version of Salt will be 2018.3 once this is merged, which we're beginning to roll out across all repos (see https://www.saltstack.com/product-support-lifecycle/). I'll leave this for a couple of days, to allow time for any objections to this.

absmith82 commented 4 years ago

would you need to change the user information in zabbix/users.sls as well to match your new user scheme?

myii commented 4 years ago

@absmith82 Excellent catch, I forgot to mention that. The Fedora installation prepares a zabbixsrv account alongside the zabbix account. The former must be used when dealing with the directories or files relevant to the server. I did start to make a change to the users.sls but I wanted to get some opinions about this, since it's only relevant to Fedora, AFAIK. Since it's already created automatically, I thought I'd leave it out until there's some clarity about it.

myii commented 4 years ago

Merged, since no objections raised. Feel free to comment is there is a problem and we can look at ways to address it. I've left the zabbixsrv user for now since it's automatically created during the install process on Fedora. That can be worked on if it's needed in the future; this wasn't working for Fedora at all before this PR.

saltstack-formulas-travis commented 4 years ago

:tada: This PR is included in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: