Commit c36a05d

mo khan <mo@mokhan.ca>
2015-06-07 18:03:31
rename cookbook.
1 parent 1fc56cb
recipes/capistrano.rb
@@ -1,4 +1,4 @@
-include_recipe "mokhan-myface::user"
+include_recipe "stronglifters-rails::user"
 
 configuration = node['capistrano']
 root_path = configuration['root_path']
@@ -33,7 +33,6 @@ template "#{shared_path}/.env.#{node.chef_environment}" do
   group configuration['username']
   mode "0600"
   variables(configuration)
-  notifies :restart, 'service[puma]', :delayed
 end
 
 execute "chown-rails" do
recipes/default.rb
@@ -1,8 +1,8 @@
 include_recipe "apt"
 include_recipe "build-essential"
-include_recipe "mokhan-myface::user"
-include_recipe "mokhan-myface::aws"
-include_recipe "mokhan-myface::monit"
+include_recipe "stronglifters-rails::user"
+include_recipe "stronglifters-rails::aws"
+include_recipe "stronglifters-rails::monit"
 
 packages = [
   "curl",
recipes/delayed_job.rb
@@ -1,4 +1,4 @@
-include_recipe "mokhan-myface::user"
+include_recipe "stronglifters-rails::user"
 
 configuration = node['delayed_job']
 
recipes/postgres.rb
@@ -1,4 +1,4 @@
-include_recipe "mokhan-myface::rbenv"
+include_recipe "stronglifters-rails::rbenv"
 include_recipe "postgresql::server"
 include_recipe "postgresql::contrib"
 include_recipe "database::postgresql"
recipes/rails.rb
@@ -1,8 +1,8 @@
-include_recipe "mokhan-myface::rbenv"
-include_recipe "mokhan-myface::capistrano"
-include_recipe "mokhan-myface::nginx"
-include_recipe "mokhan-myface::puma"
-include_recipe "mokhan-myface::nodejs"
+include_recipe "stronglifters-rails::rbenv"
+include_recipe "stronglifters-rails::capistrano"
+include_recipe "stronglifters-rails::nginx"
+include_recipe "stronglifters-rails::puma"
+include_recipe "stronglifters-rails::nodejs"
 
 [
   'imagemagick',
spec/aws_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::aws" do
+describe "stronglifters-rails::aws" do
   subject do
     ChefSpec::SoloRunner.new do |node|
       node.set['aws']['username'] = username
spec/capistrano_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::capistrano" do
+describe "stronglifters-rails::capistrano" do
   subject do
     ChefSpec::SoloRunner.new do |node|
       node.set["capistrano"]["root_path"] = root_path
spec/default_spec.rb
@@ -1,4 +1,4 @@
-describe 'mokhan-myface::default' do
+describe 'stronglifters-rails::default' do
   subject do
     ChefSpec::SoloRunner.new do |node|
     end.converge(described_recipe)
spec/delayed_job_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::delayed_job" do
+describe "stronglifters-rails::delayed_job" do
   subject do
     ChefSpec::SoloRunner.new do |node|
       node.set['delayed_job'] = configuration#.merge(node['delayed_job'])
spec/monit_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::monit" do
+describe "stronglifters-rails::monit" do
   subject do
     ChefSpec::SoloRunner.new do |node|
     end.converge(described_recipe)
spec/nginx_spec.rb
@@ -1,4 +1,4 @@
-describe 'mokhan-myface::nginx' do
+describe 'stronglifters-rails::nginx' do
   let(:domain) { "www.example.com" }
   let(:chef_run) do
     ChefSpec::SoloRunner.new do |node|
spec/nodejs_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::nodejs" do
+describe "stronglifters-rails::nodejs" do
   let(:chef_run) do
     ChefSpec::SoloRunner.new do |node|
       node.set["lsb"]["codename"] = "trusty"
spec/postgres_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::postgres" do
+describe "stronglifters-rails::postgres" do
   subject do
     ChefSpec::SoloRunner.new do |node|
       node.set["postgres"]["database"] = database_name
spec/puma_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::puma" do
+describe "stronglifters-rails::puma" do
   subject do
     ChefSpec::SoloRunner.new do |node|
       node.set['puma'] = configuration
spec/rbenv_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::rbenv" do
+describe "stronglifters-rails::rbenv" do
   subject do
     ChefSpec::SoloRunner.new do |node|
     end.converge(described_recipe)
spec/unicorn_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::unicorn" do
+describe "stronglifters-rails::unicorn" do
   subject do
     ChefSpec::SoloRunner.new do |node|
       node.set['unicorn'] = configuration
spec/user_spec.rb
@@ -1,4 +1,4 @@
-describe "mokhan-myface::user" do
+describe "stronglifters-rails::user" do
   subject do
     ChefSpec::SoloRunner.new do |node|
       node.set['user']['username'] = username
.travis.yml
@@ -2,7 +2,7 @@ language: ruby
 cache: bundler
 sudo: false
 rvm:
-- 2.2.0
+- 2.2.2
 branches:
   only:
     - master
Berksfile.lock
@@ -1,10 +1,10 @@
 DEPENDENCIES
-  mokhan-myface
-    path: .
-    metadata: true
   rbenv
     git: git://github.com/fnichol/chef-rbenv.git
     revision: 0a3018634bafe58ad21c6ee271af015220e444b9
+  stronglifters-rails
+    path: .
+    metadata: true
 
 GRAPH
   apt (2.7.0)
@@ -13,16 +13,9 @@ GRAPH
   database (4.0.6)
     postgresql (>= 1.0.0)
   java (1.31.0)
-  mokhan-myface (0.1.0)
-    apt (>= 0.0.0)
-    build-essential (>= 0.0.0)
-    database (>= 0.0.0)
-    postgresql (>= 0.0.0)
-    rbenv (>= 0.0.0)
-    ruby_build (>= 0.0.0)
   openssl (4.0.0)
     chef-sugar (>= 0.0.0)
-  postgresql (3.4.18)
+  postgresql (3.4.20)
     apt (>= 1.9.0)
     build-essential (>= 0.0.0)
     openssl (~> 4.0.0)
@@ -30,3 +23,10 @@ GRAPH
     java (> 1.4.0)
     ruby_build (>= 0.0.0)
   ruby_build (0.8.0)
+  stronglifters-rails (0.1.0)
+    apt (>= 0.0.0)
+    build-essential (>= 0.0.0)
+    database (>= 0.0.0)
+    postgresql (>= 0.0.0)
+    rbenv (>= 0.0.0)
+    ruby_build (>= 0.0.0)
CHANGELOG.md
@@ -1,11 +1,11 @@
-mokhan-myface CHANGELOG
+stronglifters-rails CHANGELOG
 =======================
 
-This file is used to list changes made in each version of the mokhan-myface cookbook.
+This file is used to list changes made in each version of the stronglifters-rails cookbook.
 
 0.1.0
 -----
-- [your_name] - Initial release of mokhan-myface
+- [your_name] - Initial release of stronglifters-rails
 
 - - -
 Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
Gemfile.lock
@@ -316,3 +316,6 @@ DEPENDENCIES
   rake
   strainer
   test-kitchen
+
+BUNDLED WITH
+   1.10.3
metadata.rb
@@ -1,8 +1,8 @@
-name             'mokhan-myface'
+name             'stronglifters-rails'
 maintainer       'mo khan'
 maintainer_email 'mo@mokhan.ca'
 license          'All rights reserved'
-description      'Installs/Configures mokhan-myface'
+description      'Installs/Configures stronglifters-rails'
 long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
 version          '0.1.0'
 
README.md
@@ -1,6 +1,6 @@
-[![Build Status](https://travis-ci.org/mokhan/myface.svg?branch=master)](https://travis-ci.org/mokhan/myface)
+[![Build Status](https://travis-ci.org/stronglifters/rails-cookbook.svg?branch=master)](https://travis-ci.org/stronglifters/rails-cookbook)
 
-mokhan-myface Cookbook
+stronglifters-rails Cookbook
 ======================
 TODO: Enter the cookbook description here.
 
@@ -13,14 +13,14 @@ TODO: List your cookbook requirements. Be sure to include any requirements this
 
 e.g.
 #### packages
-- `toaster` - mokhan-myface needs toaster to brown your bagel.
+- `toaster` - stronglifters-rails needs toaster to brown your bagel.
 
 Attributes
 ----------
 TODO: List your cookbook attributes here.
 
 e.g.
-#### mokhan-myface::default
+#### stronglifters-rails::default
 <table>
   <tr>
     <th>Key</th>
@@ -29,7 +29,7 @@ e.g.
     <th>Default</th>
   </tr>
   <tr>
-    <td><tt>['mokhan-myface']['bacon']</tt></td>
+    <td><tt>['stronglifters-rails']['bacon']</tt></td>
     <td>Boolean</td>
     <td>whether to include bacon</td>
     <td><tt>true</tt></td>
@@ -38,17 +38,17 @@ e.g.
 
 Usage
 -----
-#### mokhan-myface::default
+#### stronglifters-rails::default
 TODO: Write usage instructions for each cookbook.
 
 e.g.
-Just include `mokhan-myface` in your node's `run_list`:
+Just include `stronglifters-rails` in your node's `run_list`:
 
 ```json
 {
   "name":"my_node",
   "run_list": [
-    "recipe[mokhan-myface]"
+    "recipe[stronglifters-rails]"
   ]
 }
 ```