Size: a a a

2020 April 11

R

Roman in Saltstack
@imraniqbal welcome :)
источник

m

myii in Saltstack
Roman
@imraniqbal welcome :)
So, you recognised me!
источник

R

Roman in Saltstack
it's not hard
источник

m

myii in Saltstack
I'm just kidding.  It's not difficult to recognise you, either!
источник

m

myii in Saltstack
Actually, I saw this group a while back but I didn't think it was for English comms.
источник

R

Roman in Saltstack
Usually the discussion is in Russian, but English is also used if necessary
источник

m

myii in Saltstack
We should get your PR merged, with or without the CODEOWNERS idea.
источник

R

Roman in Saltstack
I have nothing against to be in CODEOWNERS at least in this current situation :)
источник

m

myii in Saltstack
OK, I'll figure something out soon.  In terms of the zabbix-formula, should we just bump the default version anyway, rather than wait for 5.0?
источник

R

Roman in Saltstack
myii
OK, I'll figure something out soon.  In terms of the zabbix-formula, should we just bump the default version anyway, rather than wait for 5.0?
I'm not sure, 5.0 is really close, may be it's better to wait a bit than change this value 2 times.
источник

R

Roman in Saltstack
IIRC 2.2 is current default. I can't imagine anybody who really use this version in present days.
источник

m

myii in Saltstack
Exactly, that's why I thought it would be best to move it to a currently supported release.
источник

m

myii in Saltstack
According to https://www.zabbix.com/roadmap, it says ETA: March, 2020.
источник

R

Roman in Saltstack
About that apt pinning, there is really no problem if it will be rejected if  you (and others) think that it's not beast approach. From a global perspective may be it's better to use another way, like use separate formula as suggested. I just implemented solution which is suitable for me.
источник

m

myii in Saltstack
Roman
About that apt pinning, there is really no problem if it will be rejected if  you (and others) think that it's not beast approach. From a global perspective may be it's better to use another way, like use separate formula as suggested. I just implemented solution which is suitable for me.
No, I think we're good — we're still trying to formalise the rules across repositories.  For example, one clear rule is avoiding formula inter-dependencies as much as possible.  This idea is different, because it's only a bit of duplication between formulas.  I think Javier's feedback was useful: we can take this idea and apply it to more platforms, then provide that in the template-formula so it can be used in other formulas as well.
источник

R

Roman in Saltstack
Currently I'm working on pki formula and I have no idea how to do without mutual dependencies.
1. I.e. I can create state in pki formula like pli.issue which will issue certificates based on pillar data, but then I need to restart and probably update config of relevant service so I need to call relevant formula which will do this job. Cross dependencies here.
2. On the other hand I can add issuing state to every formula which require certificate, no dependencies here but a lot of duplicated code.

Already implemented the first way. But still thinking which way is better.
источник

m

myii in Saltstack
Roman
Currently I'm working on pki formula and I have no idea how to do without mutual dependencies.
1. I.e. I can create state in pki formula like pli.issue which will issue certificates based on pillar data, but then I need to restart and probably update config of relevant service so I need to call relevant formula which will do this job. Cross dependencies here.
2. On the other hand I can add issuing state to every formula which require certificate, no dependencies here but a lot of duplicated code.

Already implemented the first way. But still thinking which way is better.
> For example, one clear rule is avoiding formula inter-dependencies as much as possible.

Maybe this is one of those situations where it isn't possible.  In that case, clear instructions in the README should be sufficient.
источник

m

myii in Saltstack
The good thing about Kitchen is that we can test formulas with inter-dependencies, so we can still confirm that the formula is working as expected.
источник

m

myii in Saltstack
источник

R

Roman in Saltstack
When one formula need result of another formula that's not a big deal. Main problem is the execution order, usually states are simply applying from top to bottom, orch can be used in special cases.
What I don't like the most when you need to provide same data twice in pillar. I think that's really error prone.
источник