Skip to content

Commit

Permalink
Add dashboard role
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Apr 19, 2013
1 parent a09b74c commit ea2303a
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions roles/dashboard.rb
@@ -0,0 +1,43 @@
name 'dashboard'

default_attributes 'user' => 'dashboard',
'group' => 'dashboard',
'ruby' => '1.9.3-p374',
'project_fqdn' => 'dashboard.theodi.org',

This comment has been minimized.

Copy link
@pezholio

pezholio Apr 19, 2013

Contributor

Should it not be dashboards.theodi.org? As we're planning on having many of them?

This comment has been minimized.

Copy link
@Floppy

Floppy Apr 19, 2013

Author Contributor

quite possibly, yes.

'git_project' => 'dashboards',
'migration_command' => '',
'chef_client' => {
'cron' => {
'use_cron_d' => true,
'hour' => "*",
'minute' => "*/5",
'log_file' => "/var/log/chef/cron.log"
}
}

override_attributes 'envbuilder' => {
'base_dir' => '/var/www/dashboard.theodi.org/shared/config',
'owner' => 'dashboard',
'group' => 'dashboard'
},
'chef_client' => {
'interval' => 300,
'splay' => 30
}


run_list "role[base]",
"recipe[chef-client::cron]",
"recipe[build-essential]",
"recipe[nginx]",
"recipe[odi-users]",
"recipe[odi-rvm]",
"recipe[odi-xml]",
"recipe[odi-nginx]",
"recipe[xslt]",
"recipe[libcurl]",
"recipe[nodejs::install_from_package]",
"recipe[sqlite::dev]",
"recipe[envbuilder]",
"recipe[odi-deployment]",
"recipe[odi-shim]"

0 comments on commit ea2303a

Please sign in to comment.