Skip to content

Instantly share code, notes, and snippets.

@armenr
Last active January 25, 2016 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save armenr/ecf96a6e2727f733cd8b to your computer and use it in GitHub Desktop.
Save armenr/ecf96a6e2727f733cd8b to your computer and use it in GitHub Desktop.
#
# 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