Rundeck java .io.FileNotFoundException: /var/lib/rundeck/bootstrap/server/config/artifact-repositories.yaml (нет такого файла или каталога) - PullRequest
0 голосов
/ 30 января 2020

Я только что установил Rundeck v3.2.1.20200113 и столкнулся с проблемами интеграции с LDAP. После обновления соответствующих файлов и перезапуска Rundeck теперь ищет файлы не в том месте, например, artifact-repositories.yaml в / var / lib / rundeck / ..., а не в /etc/rundeck.

Редактирует / etc / rundeck / profile

JAAS_CONF="${JAAS_CONF:-$RDECK_CONFIG/jaas-ldap.conf}"
LOGIN_MODULE="${LOGIN_MODULE:-multiauth}"

/ etc / rundeck / jaas-ldap

# cat jaas-ldap.conf
multiauth {
com.dtolabs.rundeck.jetty.jaas.JettyCombinedLdapLoginModule optional
      debug="true"
      storePass="true"
      contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
      providerUrl="ldap://***:389"
      bindDn="uid=***,ou=***,ou=***,cn=***,o=***,c=***,o=***"
      bindPassword="***"
      authenticationMethod="simple"
      forceBindingLogin="true"
      userBaseDn="ou=***,cn=***,o=***,c=gb,o=***"
      userRdnAttribute="uid"
      userIdAttribute="BSalias"
      userPasswordAttribute=""
      userObjectClass="inetOrgPerson"
      forceBindingLoginUseRootContextForRoles="true"
      roleBaseDn="ou=***,ou=teams,ou=groups,ou=***,ou=***,o=***,c=***,o=***"
      roleNameAttribute="cn"
      roleMemberAttribute="member"
      roleObjectClass="groupOfNames"
      cacheDurationMillis="300000"
      reportStatistics="true"
      supplementalRoles="user";
    org.rundeck.jaas.jetty.JettyRolePropertyFileLoginModule required
      debug="false"
      useFirstPass="true"
      file="/etc/rundeck/realm.properties"
      refreshInterval="60"
      caseInsensitive="true";
};
...