Quick installation¶
- You will need
puppetlib to be in your RUBYLIB, or just install puppet from your package manager (gem, apt, yum ...)
- Get latest Redmine
git clone git://github.com/edavis10/redmine.git
- Install initr plugin
cd redmine/vendor/plugins ; git clone git://github.com/descala/initr.git
- Apply redmine patches on initr/redmine_patches/
cd ../../ ; git apply vendor/plugins/initr/redmine_patches/*.patch
- Configure config/database.yml
- additionally to redmine tables you can configure the database where puppetmaster stores configs to tell initr where to look for hosts and facts
or you can simply run "rake puppet:import:hosts_and_facts" to load them from YAML# you can define a puppet_[RAILSENV] database to
# tell initr where to look for hosts and facts
puppet_development:
adapter: mysql
database: puppet
username: root
password:
- Migrate databases
rake db:migrate ; rake db:migrate:plugins
- (Re)Start Redmine and check that it lists initr plugin on 'Admin -> Information' screen.
- Configure Initr on 'Admin -> Plugins -> Initr' screen
- Add Initr to a project ('Project -> Settings -> Modules') and Initr tab will appear on that project.
- You can start a local puppetmaster by running puppet/start_puppetmaster.sh from initr plugin directory