Skip to content

Instantly share code, notes, and snippets.

@gswallow
Last active August 29, 2015 14:00
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 gswallow/11238007 to your computer and use it in GitHub Desktop.
Save gswallow/11238007 to your computer and use it in GitHub Desktop.
{
"name": "qa1",
"description": "QA environment #1",
"cookbook_versions": {
"Rstats": "= 3.0.5",
"ant": "= 1.0.2",
"apache2": "= 1.8.14",
"application": "= 4.1.4",
"application_ruby": "= 3.0.2",
"apt": "= 1.9.2",
"ark": "= 0.4.0",
"ascent-adr": "= 0.0.1",
"ascent-backups": "= 0.1.1",
"ascent-common": "= 0.0.7",
"ascent-compute": "= 1.1.1",
"ascent-housekeeper": "= 0.1.0",
"ascent-logs": "= 0.0.1",
"ascent-reportcatcher": "= 0.0.4",
"ascent-reporter": "= 0.0.5",
"ascent-storage": "= 0.1.0",
"ascent-web": "= 1.1.6",
"ascent-wrappers": "= 0.0.1",
"aws": "= 1.0.0",
"backup": "= 0.0.9",
"bginfo": "= 0.0.1",
"bluepill": "= 2.3.1",
"build-essential": "= 1.4.2",
"chef-client": "= 1.2.0",
"chef-cookbook_bind9": "= 0.1.9",
"chef-ruby1.9": "= 1.0",
"chef_handler": "= 1.1.0",
"co-keepalived": "= 0.8.2",
"cron": "= 1.2.8",
"database": "= 1.6.0",
"dhcp": "= 2.2.1",
"dotnetframework": "> 0.0.0",
"erlang": "= 1.0.0",
"git": "= 2.6.1",
"gunicorn": "= 1.1.0",
"hostsfile": "= 2.4.0",
"java": "= 1.13.0",
"keepalived": "= 1.1.0",
"kibana": "= 1.2.1",
"line": "= 0.5.1",
"logrotate": "= 1.4.0",
"logstash": "= 0.7.6",
"mongodb": "= 0.13.7",
"ms_dotnet35": "= 1.0.0",
"ms_dotnet4": "= 1.0.1",
"ms_dotnet45": "= 1.0.0",
"mysql": "= 4.0.14",
"mzconvert": "= 0.1.4",
"nexus": "= 0.0.1",
"nfs": "= 0.5.0",
"nginx": "= 1.7.0",
"nginx_loadbalance": "= 0.1.4",
"nodejs": "= 1.3.0",
"ntp": "= 1.5.0",
"ohai": "= 1.1.10",
"openssl": "= 1.1.0",
"passenger_apache2": "= 2.1.2",
"php": "= 1.1.0",
"postgresql": "= 3.3.4",
"powershell": "= 1.1.0",
"python": "= 1.0.8",
"quartermaster": "= 0.0.9",
"rabbitmq": "= 2.3.2",
"rbenv": "= 0.6.11",
"redisio": "= 1.7.0",
"resolvconf": "= 0.1.1",
"rsyslog": "= 1.10.2",
"runit": "= 1.5.8",
"s3_file": "= 2.3.0",
"samba": "= 0.11.4",
"scout": "= 0.3.0",
"solo-search": "= 0.4.0",
"sudo": "= 2.2.2",
"tomcat": "= 0.11.0",
"ulimit": "= 0.3.1",
"unicorn": "= 1.3.0",
"users": "= 1.4.0",
"windows": "= 1.10.0",
"xfs": "= 1.1.0",
"xml": "= 1.0.4",
"yum": "= 3.0.6",
"yum-epel": "= 0.2.0",
"yumrepo": "= 2.0.0"
},
"json_class": "Chef::Environment",
"chef_type": "environment",
"default_attributes": {
"elasticsearch": {
"version": "0.90.11",
"allocated_memory": "1024m"
},
"kibana": {
"git": {
"branch": "v3.0.0",
"type": "checkout"
},
"logstash": {
"agent": {
"version": "1.3.3",
"source_url": "https://download.elasticsearch.org/logstash/logstash/logstash-1.3.3-flatjar.jar",
"checksum": "a83503bd2aa32e1554b98f812d0b411fbc5f7b6b21cebb48b7d344474f2dfc6d"
},
"server": {
"version": "1.3.3",
"source_url": "https://download.elasticsearch.org/logstash/logstash/logstash-1.3.3-flatjar.jar",
"checksum": "a83503bd2aa32e1554b98f812d0b411fbc5f7b6b21cebb48b7d344474f2dfc6d"
},
"nodejs": {
"install_method": "binary",
"version": "0.10.18"
}
},
"java": {
"install_flavor": "oab-java7"
},
"mongodb": {
"package_version": "2.4.3",
"cluster_name": "ascent",
"replicaset_name": "ascent"
},
"dhcp": {
"networks": [
"10-120-18-0_24"
],
"options": {
"domain-name-servers": "216.37.2.61, 216.37.2.62"
},
"parameters": {
"default-lease-time": "172800",
"max-lease-time": "604800"
}
}
},
"override_attributes": {
"chef_handler": {
"hipchat": {
"api_token": "x",
"room_name": "QA Chef",
"notify_users": true,
"users": [ "GregSwallow" ]
}
},
"resolvconf": {
"nameserver": [ "216.37.2.61", "216.37.2.62", "209.166.144.109" ],
"search": "qa1.indigobio.com",
"options": [ "ndots:2" ],
"clear-dns-from-interfaces": true
}
}
}
#
# Cookbook Name:: nodejs
# Attributes:: nodejs
#
# Copyright 2010-2012, Promet Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
case node['platform_family']
when 'smartos', 'rhel', 'debian', 'fedora'
default['nodejs']['install_method'] = 'package'
else
default['nodejs']['install_method'] = 'source'
end
default['nodejs']['version'] = '0.10.26'
default['nodejs']['prefix_url'] = ::URI.join('http://nodejs.org/dist/', "v#{node['nodejs']['version']}").to_s
default['nodejs']['install_repo'] = true
default['nodejs']['source']['url'] = nil # Auto generated
default['nodejs']['source']['checksum'] = 'ef5e4ea6f2689ed7f781355012b942a2347e0299da0804a58de8e6281c4b1daa'
default['nodejs']['binary']['url'] = nil # Auto generated
default['nodejs']['binary']['checksum']['linux_x64'] = '305bf2983c65edea6dd2c9f3669b956251af03523d31cf0a0471504fd5920aac'
default['nodejs']['binary']['checksum']['linux_x86'] = '8fa2d952556c8b5aa37c077e2735c972c522510facaa4df76d4244be88f4dc0f'
default['nodejs']['binary']['checksum']['linux_arm-pi'] = '561ec2ebfe963be8d6129f82a7d1bc112fb8fbfc0a1323ebe38ef55850f25517'
chef-client -E qa1 -o 'recipe[nodejs]'
Starting Chef Client, version 11.6.0
[2014-04-23T21:08:24-04:00] WARN: Run List override has been provided.
[2014-04-23T21:08:24-04:00] WARN: Original Run List: [role[base], role[webserver]]
[2014-04-23T21:08:24-04:00] WARN: Overridden Run List: [recipe[nodejs]]
resolving cookbooks for run list: ["nodejs"]
Synchronizing Cookbooks:
- nodejs
- yum-epel
- yum
- build-essential
- ark
- apt
Compiling Cookbooks...
Converging 10 resources
Recipe: apt::default
* execute[apt-get-update] action run (skipped due to not_if)
* execute[apt-get update] action nothing (skipped due to action :nothing)
* execute[apt-get autoremove] action nothing (skipped due to action :nothing)
* execute[apt-get autoclean] action nothing (skipped due to action :nothing)
* package[update-notifier-common] action install (up to date)
* execute[apt-get-update-periodic] action run (skipped due to only_if)
* directory[/var/cache/local] action create (up to date)
* directory[/var/cache/local/preseeding] action create (up to date)
Recipe: nodejs::repo
* apt_repository[node.js] action addRecipe: <Dynamically Defined Resource>
* execute[install-key C7917B12] action run (skipped due to not_if)
* file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
* execute[apt-get update] action nothing (skipped due to action :nothing)
* file[/etc/apt/sources.list.d/node.js.list] action create (up to date)
- evaluate block and run any associated actions
Recipe: nodejs::nodejs_from_package
* package[nodejs] action install (up to date)
Chef Client finished, 1 resources updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment