Coder Social home page Coder Social logo

chef-dev's Introduction

Chef for DevOps Workstation Environment

chef-dev is collecting cookbooks for DevOps workstation environments.

QuickStart

  • Clone the repo: git clone https://github.com/uzyexe/chef-dev.git
  • Install with Chef DK: curl -sL https://www.chef.io/chef/install.sh | sudo bash -s -- -P chefdk
  • Install with gem and cookbook: rake init
  • Install with Packages: sudo chef-solo -c config/solo.rb -j nodes/osx.json

Authors

License

This project is licensed under the terms of the MIT license.

chef-dev's People

Contributors

dependabot-preview[bot] avatar uzyexe avatar

Watchers

 avatar  avatar

Forkers

f-katkit peco8

chef-dev's Issues

rake -> adobe-readerのインストール失敗

% sudo rake
---- End output of /usr/local/bin/brew cask install adobe-reader ----
Ran /usr/local/bin/brew cask install adobe-reader returned 1
[2015-10-01T12:05:44+09:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
rake aborted!
Command failed with status (1): [chef-solo -c config/solo.rb -j nodes/osx.j...]
/Users/f-katsuki/chef-dev/Rakefile:19:in `block (2 levels) in <top (required)>'
Tasks: TOP => default => run:osx

個別にインストールしてみることに

% brew cask install adobe-reader

途中パスワードを求められ、それを入力するとインストール可能

rake init -> berksが通らない

% rake init

Post-install message from knife-solo:
Thanks for installing knife-solo!

If you run into any issues please let us know at:
https://github.com/matschaffer/knife-solo/issues

If you are upgrading knife-solo please uninstall any old versions by
running gem clean knife-solo to avoid any errors.

See http://bit.ly/CHEF-3255 for more information on the knife bug
that causes this.
berks vendor cookbooks
rake aborted!
Command failed with status (127): [berks vendor cookbooks...]
/Users/f-katsuki/chef-dev/Rakefile:13:in `block in <top (required)>'
Tasks: TOP => init => berks
(See full trace by running task with —trace)

berksが通らない模様

% sudo rbenv exec gem install berkshelf

無事解決

rake init ->bundlerが入っていないためエラー

% rake init

実施したところ以下エラー

bundle --path vendor/bundle --binstubs .bundle/bin
rake aborted!
Command failed with status (127): [bundle --path vendor/bundle --binstubs .bu...]
/Users/f-katsuki/chef-dev/Rakefile:8:in `block in <top (required)>'
Tasks: TOP => init => bundle

rbenvとrubyとbundler入れたらとりあえず完走
bundlerだけでもいいかもしれない

参考ページ:http://qiita.com/egopro/items/aba12261c053eecd6d19

rbenvとbundleを入れておこう。

% git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
% echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
% echo 'eval "$(rbenv init -)"' >> ~/.bashrc

% source ~/.bashrc
% rbenv --version
rbenv 0.4.0

ruby-buildリストを取得

% git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build

ついでにrubyをインストール

% rbenv install 2.1.4

bundlerをインストール

%sudo rbenv exec gem install bundler

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.