Code Monkey home page Code Monkey logo

puppet-redmine's Introduction

UNMAINTAINED

Since we stopped using puppet for our infrastructure, we are not going to maintain this solution anymore.

Puppet-redmine

Puppet redmine installs redmine with puma::app (this one you have to install yourself).

Basic Usage

  class { 'redmine':
    app_root             = '/srv/redmine',
    redmine_source       = 'https://github.com/redmine/redmine.git',
    redmine_revision     = 'origin/2.3-stable',
    redmine_user         = 'deployment',
    db_adapter           = 'pgsql',
    db_name              = 'redminedb',
    db_user              = 'redminedbu',
    db_password          = 'changeme',
    db_host              = 'localhost',
    db_port              = '3306',
    rvm_ruby             = '1.9.3@redmine',
  }

Redmine Plugin

  redmine::plugin { 'redmine_backlogs':
    source   => 'git://github.com/backlogs/redmine_backlogs.git',
    revision => 'v1.0.6',
    migrate  => true,
    rake     => ['redmine:backlogs:install story_trackers=Bug,Feature,Support task_tracker=Task corruptiontest=true labels=true'],
  }

Parameters

  • app_root: Target directory for puma::app resource. (default: '/srv/redmine')
  • redmine_source: Source repository. (default: 'https://github.com/redmine/redmine.git')
  • redmine_revision: Branch or tag to be deployed. (default: 'origin/2.3-stable')
  • redmine_user: Owner of all redmine data and the user to run it under. (default: 'deployment')
  • db_adapter: Database adapter. (default: 'mysql')
  • db_name: Database name. (default: 'redminedb')
  • db_user: Database username. (default: 'redminedbu')
  • db_password: Database password. (default: 'changeme')
  • db_host: Database host. (default: 'localhost')
  • db_port: Database port. (default: '3306')
  • mail_delivery_method: Redmine mail delivery method. (default: 'sendmail')
  • mail_starttls: Redmine use starttls. (default: undefined)
  • mail_address: Mail server address. (default: undefined)
  • mail_port: Mail server port. (default: undefined)
  • mail_domain: Mail server domain. (default: undefined)
  • mail_authentication: Mail server authentication. (default: undefined)
  • mail_username: Mail server username. (default: undefined)
  • mail_password: Mail server password. (default: undefined)
  • rvm_ruby: Which ruby to use, per default RVM is not used. (default: '')

Dependencys

puppetlabs/vcsrepo >= 0.2.0

Contribute

Want to help - send a pull request.

License

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

puppet-redmine's People

Contributors

leoc avatar

Watchers

 avatar  avatar

puppet-redmine's Issues

error in installation

Notice: /Stage[main]/Redmine/Exec[redmine-migrate]/returns: /usr/local/rvm/gems/ruby-1.9.3-p551/gems/mysql2-0.3.17/lib/mysql2/mysql2.so: [BUG] Segmentation fault
Notice: /Stage[main]/Redmine/Exec[redmine-migrate]/returns: ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
Notice: /Stage[main]/Redmine/Exec[redmine-migrate]/returns:
Notice: /Stage[main]/Redmine/Exec[redmine-migrate]/returns: bash: line 1: 10857 Aborted (core dumped) RAILS_ENV=production bundle exec rake db:migrate
Error: bash -c 'cd /srv/redmine/current; RAILS_ENV=production bundle exec rake db:migrate' returned 134 instead of one of [0]
Error: /Stage[main]/Redmine/Exec[redmine-migrate]/returns: change from notrun to 0 failed: bash -c 'cd /srv/redmine/current; RAILS_ENV=production bundle exec rake db:migrate' returned 134 instead of one of [0]
Notice: /Stage[main]/Redmine/Exec[redmine-configure]: Dependency Exec[redmine-migrate] has failures: true
Warning: /Stage[main]/Redmine/Exec[redmine-configure]: Skipping because of failed dependencies
Notice: /Stage[main]/Redmine/Puma::App[redmine]/Service[redmine]: Dependency Exec[redmine-migrate] has failures: true
Warning: /Stage[main]/Redmine/Puma::App[redmine]/Service[redmine]: Skipping because of failed dependencies

could any one help me ?
thanks

Failed postgresql instalation

When I ran

puppet apply redmine.pp

I get

Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type postgresql::database at /etc/puppet/modules/puma/manifests/app.pp:112 on node

These are the parameters:

 class {
   'redmine':
   app_root             => '/var/www/redmine',
   #redmine_source       => 'https://github.com/redmine/redmine.git',
   #redmine_revision     => 'origin/2.3-stable',
   redmine_user         => 'deployment',
   db_adapter           => 'pgsql',
   db_name              => 'redmine',
   db_user              => 'redmine',
   db_password          => 'password,
   db_host              => 'host',
   db_port              => '5432',
   rvm_ruby             => '1.9.3@redmine',
 }

Status

Hello,

Can you tell me if there are plans to maintain/update this project and the related puppet-puma ?

Kind regards,

Stefan Goethals.

Declare dependency on puma::app

The module requires puma::app to run. May be it's a good idea to declare this dependency in the Modulefile.

Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type puma::app at [..]/modules/redmine/manifests/init.pp:147 on node laptop.dev
Wrapped exception:
Invalid resource type puma::app
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type puma::app at [..]/modules/redmine/manifests/init.pp:147 on node laptop.dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.