- From: Jeffrey Hulten <
>
- To:
- Subject: [chef] Re: Re: CHEF SERVER and client installation guide on linux
- Date: Sat, 17 Nov 2012 10:05:00 -0500
Also take a look at the repo from Seth Vargo's TDDing Tmux talk at the
community summit.
https://github.com/sethvargo/tdding-tmux/tree/final
--
Jeffrey Hulten
Principal Consultant at Automated Labs, LLC
206-853-5216
Skype: jeffhulten
On Nov 17, 2012, at 9:52 AM, Torben Knerr wrote:
>
Maybe this guide on test-driven cookbook development will help you:
>
https://github.com/tknerr/bills-kitchen/blob/master/COOKBOOK_DEVELOPMENT.md
>
>
Also check out test-kitchen:
>
https://github.com/opscode/test-kitchen
>
>
HTH, Torben
>
>
Am 16.11.2012 19:02 schrieb "goutam"
>
<
>:
>
>
Hi,
>
>
i am very new to Chef and eager to know more about it. i need to install
>
packged on some servers and edit bachrc file with some entries. i've written
>
recipe for it like this.
>
>
package "rpm_package" do
>
version "11.1.0.7.0"
>
action :install
>
source "/tmp/oracle-instantclient11.1-basic-11.1.0.7.0-1.x86_64.rpm"
>
provider Chef::Provider::Package::Rpm
>
end
>
>
package "rpm_package" do
>
version "11.1.0.7.0"
>
action :install
>
source "/tmp/oracle-instantclient11.1-sqlplus-11.1.0.7.0-1.x86_64.rpm"
>
provider Chef::Provider::Package::Rpm
>
end
>
>
cookbook_file "/opt/browsersoft/.bashrc " do
>
source ".bashrc" # This will check chksum and if not matched replace the
>
content
>
mode "0644"
>
end
>
>
however, i'm not sure how to test these recipe. what i am assuming is you
>
need
>
to cookbook created for and chef server and client installed on nodes.
>
>
so, please send me steps how to configure chef server and client and linux
>
nodes and how chef server will communicate with chef client as well with
>
detailed steps
>
>
please give me details which files i need to cofigure to have these recipe
>
run.
>
>
your help will be greatly appreciated.
>
>
Thanks,
>
Goutam
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.