Skip to content

Instantly share code, notes, and snippets.

@tarky
Created November 14, 2014 02:40
Show Gist options
  • Save tarky/d0e159bc640a30947cc5 to your computer and use it in GitHub Desktop.
Save tarky/d0e159bc640a30947cc5 to your computer and use it in GitHub Desktop.
Important points of adapt OpsWorks json file to local development environment
$ diff before.json json.erb
1d0
<
65c64
< "activity": "configure",
---
> "activity": "setup",
140c139
< "migrate": false,
---
> "migrate": true,
142c141
< "rails_env": "production",
---
> "rails_env": "development",
151,152c150,151
< "repository": "https://github.com/tarky/todo-sample-app",
< "revision": "postgres",
---
> "repository": "/vagrant",
> "revision": null,
201,208c200,207
< "opsworks_ganglia::configure-client",
< "ssh_users",
< "mysql::client",
< "agent_version",
< "opsworks_stack_state_sync",
< "rails::configure",
< "test_suite",
< "opsworks_cleanup"
---
> "opsworks_initial_setup",
> "dependencies",
> "opsworks_ganglia::client",
> "unicorn::rails",
> "postgresql::client",
> "postgresql::server",
> "deploy::default",
> "deploy::rails"
218a218,221
> "opsworks_berkshelf": {
> "version": "3.1.3",
> "prebuilt_versions": [ "3.1.3"]
> },
231c234
< }
\ No newline at end of file
---
> }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment