First off, nice work, saves a lot of work to start from something like this. Apologies if I've got this all wrong but I followed the basic setup under README.md I believe. The hubot package installed via npm is installed under /usr/local/node/node-v0.12.0/lib/node_modules rather than /opt. This may be due to an existing setup to install node, I'm not sure, but I will remove that existing setup to prove it. Irrespective, I set the root_dir param to /usr/local/node/node-v0.12.0/lib/node_modules so I believe that should still work.
OS: Centos 6
NodeJS: 0.12.0
NPM: 2.5.1
My Usage:
class geodev::edina_hubot {
class { 'hubot':
adapter => 'slack',
install_nodejs => false,
# root_dir => '/usr/local/node/node-v0.12.0/lib/node_modules',
build_deps => [ 'libxml2-devel'],
env_export => {
'HUBOT_LOG_LEVEL' => 'DEBUG',
'HUBOT_SLACK_TOKEN' => 'my token'
},
dependencies => {
"hubot" => "^2.17.0",
"hubot-diagnostics" => "0.0.1",
"hubot-google-images" => "^0.2.4",
"hubot-google-translate" => "^0.2.0",
"hubot-help" => "^0.1.2",
"hubot-heroku-keepalive" => "^1.0.0",
"hubot-maps" => "0.0.2",
"hubot-pugme" => "^0.1.0",
"hubot-redis-brain" => "0.0.3",
"hubot-rules" => "^0.1.1",
"hubot-scripts" => "^2.16.2",
"hubot-shipit" => "^0.2.0",
"hubot-slack" => "^3.4.2"
},
}
}
I have successfully installed this following the hubot docs, this is where I got the above dependencies. The problem I'm experiencing is the service cannot be started as it expects hubot to be installed under /opt, but it isn't, it's as if the package installation ignores the root_dir parameter.
Any help, thoughts would be appreciated.
First off, nice work, saves a lot of work to start from something like this. Apologies if I've got this all wrong but I followed the basic setup under README.md I believe. The hubot package installed via npm is installed under /usr/local/node/node-v0.12.0/lib/node_modules rather than /opt. This may be due to an existing setup to install node, I'm not sure, but I will remove that existing setup to prove it. Irrespective, I set the root_dir param to /usr/local/node/node-v0.12.0/lib/node_modules so I believe that should still work.
OS: Centos 6
NodeJS: 0.12.0
NPM: 2.5.1
My Usage:
I have successfully installed this following the hubot docs, this is where I got the above dependencies. The problem I'm experiencing is the service cannot be started as it expects hubot to be installed under /opt, but it isn't, it's as if the package installation ignores the root_dir parameter.
Any help, thoughts would be appreciated.