-
-
Save armenr/ecf96a6e2727f733cd8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Cookbook Name:: myapp-bot | |
# Attribute:: default | |
# | |
# | |
# | |
# | |
# | |
# NodeJS Attributes | |
node.set['myapp']['nodejs']['default'] = '0.10.36' | |
node.set['myapp']['nodejs']['reference'] = 'v2.9.0' | |
node.set['myapp']['nodejs']['npm_modules'] = %w[ coffee-script ] | |
# SSH Key Attributes | |
node.set['myapp']['keys']['gravbot'] = { | |
dir: '/home/gravbot', | |
user: 'gravbot', | |
group: 'gravbot', | |
cookbook: 'myapp-bot', | |
priv: 'id_bot', | |
pub: 'id_bot.pub' | |
} | |
# GravBot Attributes | |
node.set['myapp']['gravbot']['deploypath'] = '/opt/gravbot' | |
node.set['myapp']['gravbot']['app_name'] = 'gravbot' | |
node.set['myapp']['gravbot']['node_env'] = 'production' | |
node.set['myapp']['gravbot']['user'] = 'gravbot' | |
node.set['myapp']['gravbot']['group'] = 'gravbot' | |
node.set['myapp']['gravbot']['logfile'] = '/opt/gravbot/logs/gravbot.log' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment