Closed noelmcloughlin closed 5 years ago
I am using salter.sh script on project opensds/opensds-installer/salt/.
salter.sh
opensds/opensds-installer/salt/
The opensds-formula is cloned on every execution of highstate() function. See logs: https://github.com/opensds/opensds-installer/pull/256#issuecomment-518171062
opensds-formula
highstate()
This wastes resources and needs to be optimized.
+ '[' -f /srv/salt//community/opensds/opensds-installer/salt/file_roots/install/auth.sls ']' + cp /srv/salt//community/opensds/opensds-installer/salt/file_roots/install/auth.sls /srv/salt//top.sls + break + '[' -z '' ']' + set +xv cloning opensds-formula from saltstack-formulas ... <==== this is the problem!!
if (cycle == 1) clone else skip
I am using
salter.sh
script on projectopensds/opensds-installer/salt/
.The
opensds-formula
is cloned on every execution ofhighstate()
function. See logs: https://github.com/opensds/opensds-installer/pull/256#issuecomment-518171062This wastes resources and needs to be optimized.