bsw@1219: function lf4rcs.get_config(unit) bsw@1219: if not unit.external_reference then bsw@1219: error("Unit is not configured for lf4rcs") bsw@1219: end bsw@1219: local repository, path, url = string.match(unit.external_reference, "([^ ]+) ([^ ]+) (.*)") bsw@1219: return repository, path, url bsw@1219: end bsw@1219: