Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Latest commit

 

History

History
40 lines (23 loc) · 1.11 KB

UPDATING.md

File metadata and controls

40 lines (23 loc) · 1.11 KB

Updating IDB

General Steps

  1. Install the new version

    $ sudo dpkg -i idb-$(VERSION).deb
    

    make sure, that /opt/idb/config is still a symlink to the configuration in /etc/idb/, and not to the config-example directory

  2. Perform database migrations etc.

    $ export PATH=/opt/idb/vendor/ruby/bin/:$PATH
    $ cd /opt/idb && RAILS_ENV=production bundle exec rake db:migrate
    $ cd /opt/idb && RAILS_ENV=production bundle exec rake assets:precompile
    $ cp config.sample/initializers/version.rb config/initializers/
    
    • restart webserver / application server
    • restart sidekiq

Update Config File

1.7.0

  • The following settings have been added within the api settings in 'application.yml' to enable the APIv3.

    v3_enabled: true 
    

1.6.3

  • The following settings have been added to configure admin users.

    admin_group: 'cn=admins,dc=example,dc=com'
    group_membership_attribute: 'uniqueMember'
    

    Add this to the ldap-setting for the used environment.

1.6.2

  • If present one can remove the puppetDB options "apt_distributions" and "yum_distributions" from application.yml, they are obsolete.