<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://wiki.rookie-inc.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.rookie-inc.com/feed.php">
        <title>メモとかメモのようなものとか（By ルーキーの中のひと） - serverapps:configmgmt:chef</title>
        <description></description>
        <link>http://wiki.rookie-inc.com/</link>
        <image rdf:resource="http://wiki.rookie-inc.com/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-05-10T01:12:31+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/berkdhelf"/>
                <rdf:li rdf:resource="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/chefserver"/>
                <rdf:li rdf:resource="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/chefworkstation"/>
                <rdf:li rdf:resource="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/knife"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.rookie-inc.com/_media/wiki/dokuwiki.svg">
        <title>メモとかメモのようなものとか（By ルーキーの中のひと）</title>
        <link>http://wiki.rookie-inc.com/</link>
        <url>http://wiki.rookie-inc.com/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/berkdhelf">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-14T05:21:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Berkshelf</title>
        <link>http://wiki.rookie-inc.com/serverapps/configmgmt/chef/berkdhelf</link>
        <description>Berkshelf

ChefのCookbookを管理するためのツール

Cookbookの依存関係を解決し自動的にダウンロードするツールとして使用
# /opt/chef/embedded/bin/gem install berkshelf

$ cd ~/chef-repo/
$ vi Berksfile
site :opscode
cookbook &#039;mysql&#039;
cookbook &quot;chef-mariadb&quot;, git: &#039;https://github.com/joerocklin/chef-mariadb&#039;

$ BERKSHELF_PATH=~/chef-repo /opt/chef/embedded/bin/berks install
$ ls -l ~/chef-repo/cookbooks
drwxrwxr-x 9 user group 4096 Apr 10 19:37 apt-2.3.8
drwxrwxr-x 4 user group 4096 Apr 10 19:37 build-essential-1.4.4
drwxrwxr-x 9 user group 4…</description>
    </item>
    <item rdf:about="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/chefserver">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-14T05:21:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Chef Server</title>
        <link>http://wiki.rookie-inc.com/serverapps/configmgmt/chef/chefserver</link>
        <description>Chef Server

Chefクライアントの構成情報を一元管理

準備

	*  OS：CentOs 6.5 64bit
	*  Chef 11
	*  443番port(ssl)を開けておく

Install

Chef配布サイトの「Chef Server」タブからChef ServerのインストールパッケージのダウンロードURLを取得してダウンロード</description>
    </item>
    <item rdf:about="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/chefworkstation">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-14T05:21:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Chef Workstation</title>
        <link>http://wiki.rookie-inc.com/serverapps/configmgmt/chef/chefworkstation</link>
        <description>Chef Workstation

Chef Clientインストール

gitをインストール
# yum install git
Gitの確認
$ git --version
git version 1.7.1
Chef Clientパッケージをインストール
# curl -L http://www.opscode.com/chef/install.sh | sudo bash
chef-clientコマンドで確認</description>
    </item>
    <item rdf:about="http://wiki.rookie-inc.com/serverapps/configmgmt/chef/knife">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-14T05:21:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>knife</title>
        <link>http://wiki.rookie-inc.com/serverapps/configmgmt/chef/knife</link>
        <description>knife

knife-xenserver

インストール

root ユーザでログインし、gem でインストール
# /opt/chef/embedded/bin/gem install knife-xenserver --no-ri --no-rdoc
こんな感じでエラーが出ました


Running &#039;configure&#039; for libxml2 2.8.0... ERROR, review &#039;tmp//ports/libxml2/2.8.0/configure.log&#039; to see what happened.

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration optio…</description>
    </item>
</rdf:RDF>
