Installation of Chef 11.0.4-1 on CentOS 6


#1

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan


#2

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


#3

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this
linkhttp://wiki.opscode.com/display/chef/Workstation+Setup+for+CentOS%2C+Red+Hat%2C+Fedora
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott jens.skott@schibsted.se wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan


#4

Gonna try and install a testing chef 11 env in a couple of days, ill
keep you posted.

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

link

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT


#5

Hi Ashutosh.

All you need is the RPM. Client and server don’t have to match exactly.

-s

On Wed, Feb 13, 2013 at 3:48 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this link
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott jens.skott@schibsted.se wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


#6

Hi Sean,

I installed the RPM but services were not running.
I found this bloghttp://jtimberman.housepub.org/blog/2013/02/10/install-chef-11-server-on-centos-6/post
helpful.
But again I have now downgraded to Chef 10.18.0
to configure systems. May be in a weeks time
I will try out with Chef 11.

Thank you,

On Wed, Feb 13, 2013 at 5:49 PM, Sean OMeara someara@gmail.com wrote:

Hi Ashutosh.

All you need is the RPM. Client and server don’t have to match exactly.

-s

On Wed, Feb 13, 2013 at 3:48 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this link
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott jens.skott@schibsted.se
wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan


#7

which services were not running?
The web ui had a vulnerability, so it is disabled by default.

On Wed, Feb 13, 2013 at 7:51 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:

Hi Sean,

I installed the RPM but services were not running.
I found this bloghttp://jtimberman.housepub.org/blog/2013/02/10/install-chef-11-server-on-centos-6/post helpful.
But again I have now downgraded to Chef 10.18.0
to configure systems. May be in a weeks time
I will try out with Chef 11.

Thank you,

On Wed, Feb 13, 2013 at 5:49 PM, Sean OMeara someara@gmail.com wrote:

Hi Ashutosh.

All you need is the RPM. Client and server don’t have to match exactly.

-s

On Wed, Feb 13, 2013 at 3:48 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this link
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott jens.skott@schibsted.se
wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


#8

A few points:

  • The server and client versions are not synchronized any more. With Chef 10, we released lots of identical versions of the server just to keep the version numbers the same, and now that client and server are completely different codebases there’s no reason to keep doing this.
  • The omnibus server packages don’t start any services by default. Starting services by default causes lots of people lots of grief, so we chose not to do it. Post install script leaves you a message to run chef-server-ctl reconfigure which configures the components and starts the services.


Daniel DeLeo

On Wednesday, February 13, 2013 at 6:03 AM, Jesse Campbell wrote:

which services were not running?
The web ui had a vulnerability, so it is disabled by default.

On Wed, Feb 13, 2013 at 7:51 AM, Ashutosh Narayan <aashutoshnarayan@gmail.com (mailto:aashutoshnarayan@gmail.com)> wrote:

Hi Sean,

I installed the RPM but services were not running.
I found this blog (http://jtimberman.housepub.org/blog/2013/02/10/install-chef-11-server-on-centos-6/) post helpful.
But again I have now downgraded to Chef 10.18.0
to configure systems. May be in a weeks time
I will try out with Chef 11.

Thank you,

On Wed, Feb 13, 2013 at 5:49 PM, Sean OMeara <someara@gmail.com (mailto:someara@gmail.com)> wrote:

Hi Ashutosh.

All you need is the RPM. Client and server don’t have to match exactly.

-s

On Wed, Feb 13, 2013 at 3:48 AM, Ashutosh Narayan
<aashutoshnarayan@gmail.com (mailto:aashutoshnarayan@gmail.com)> wrote:

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this link
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott <jens.skott@schibsted.se (mailto:jens.skott@schibsted.se)> wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396 (tel:%2B46-8-5142%204396)
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan <aashutoshnarayan@gmail.com (mailto:aashutoshnarayan@gmail.com)>:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


#9

A few more points ->

  If the server has an assigned hostname but it doesn't resolve, the
  install will fail with mysterious error message.  


  If there is another web server already running on the server, the
  pedant testing will fail in a non-obvious way as well.  




  I had a server handed to me by my client who had been using it for
  something else (hand me down server). They changed the host name
  on the server, but it was just a place holder and didn't really
  exist.  I fixed it by adding the machine IP/hostname to the host
  file. This is documented here:
  <a class="moz-txt-link-freetext" href="http://tickets.opscode.com/browse/CHEF-3837">http://tickets.opscode.com/browse/CHEF-3837</a>




  The second thing I encountered on my hand-me-down server is that
  someone already had an httpd service running and I didn't notice
  until I checked the nginx logs and found the "address already in
  use." Pedant was failing with plain connection reset.  




  These were easy for me to resolve, but I just wanted to toss them
  out there for other things that people can check on.




  Sascha

Sascha Bates
| sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype |
sascha_bates@yahoo |
On 2/13/13 10:33 AM, Daniel DeLeo wrote:

A few points:
  • The server and client versions are not synchronized any
    more. With Chef 10, we released lots of identical versions of
    the server just to keep the version numbers the same, and now
    that client and server are completely different codebases
    there’s no reason to keep doing this.* The omnibus server packages don’t start any services by
    default. Starting services by default causes lots of people lots
    of grief, so we chose not to do it. Post install script leaves
    you a message to run chef-server-ctl reconfigure which
    configures the components and starts the services.

– Daniel DeLeo

On Wednesday, February 13, 2013 at 6:03 AM, Jesse Campbell wrote:

which services were not running?
            The web ui had a vulnerability, so it is disabled by
            default.

On Wed, Feb 13, 2013 at 7:51 AM, Ashutosh Narayan <aashutoshnarayan@gmail.com>
wrote:

Hi Sean,

I installed the RPM but services were not
running.I found this blog post helpful. But again I have now downgraded to Chef
10.18.0to configure systems. May be in a weeks timeI will try out with Chef 11.

Thank you,

                          On Wed, Feb 13, 2013 at 5:49 PM, Sean
                          OMeara &lt;<a moz-do-not-send="true" href="mailto:someara@gmail.com" target="_blank">someara@gmail.com</a>&gt;
                          wrote:
Hi Ashutosh.
                              All you need is the RPM. Client and
                              server don't have to match exactly.




                                  -s




                                  On Wed, Feb 13, 2013 at 3:48 AM,
                                  Ashutosh Narayan


                                  &lt;<a moz-do-not-send="true" href="mailto:aashutoshnarayan@gmail.com" target="_blank">aashutoshnarayan@gmail.com</a>&gt;
                                  wrote:


                                  &gt; Hi,


                                  &gt;


                                  &gt; I went through this link but
                                  the server rpm package and


                                  &gt; client rpm package version
                                  doesn't match.


                                  &gt; Server version shows 11.0.4
                                  for Enterprise Linux


                                  &gt; version 6 ; which has an rpm
                                  named


                                  &gt;
                                  chef-server-11.0.4-1.el6.x86_64.rpm
                                  and Client tab


                                  &gt; has
                                  chef-11.0.0-1.el6.x86_64.rpm
                                  version.


                                  &gt; This could lead to problems
                                  at later stage.


                                  &gt; Just installing the chef rpm
                                  is not helping me out.


                                  &gt; Have a doubt - On Server - I
                                  need to install chef via rpm or
                                  gem.


                                  &gt; I need to have ruby installed
                                  as well, right ?


                                  &gt;


                                  &gt; Am also stuck in setting up a
                                  workstation by following this link


                                  &gt; Any pointers are appreciated.


                                  &gt;


                                  &gt; Thank you,


                                  &gt;


                                  &gt; On Wed, Feb 13, 2013 at 1:29
                                  PM, Jens Skott &lt;<a moz-do-not-send="true" href="mailto:jens.skott@schibsted.se" target="_blank">jens.skott@schibsted.se</a>&gt;
                                  wrote:


                                  &gt;&gt;


                                  &gt;&gt; <a moz-do-not-send="true" href="http://www.opscode.com/chef/install/" target="_blank">http://www.opscode.com/chef/install/</a>


                                  &gt;&gt;


                                  &gt;&gt; Easy peasy =)


                                  &gt;&gt; My dilema is migrating
                                  encrypted databags + clients to
                                  chef 11 =)


                                  &gt;&gt;


                                  &gt;&gt; Jens Skott


                                  &gt;&gt; Tel: <a moz-do-not-send="true" href="tel:%2B46-8-5142%204396" value="+46851424396" target="_blank">+46-8-5142 4396</a>


                                  &gt;&gt; Schibsted Centralen IT


                                  &gt;&gt;


                                  &gt;&gt;


                                  &gt;&gt;


                                  &gt;&gt; 2013/2/13 Ashutosh
                                  Narayan &lt;<a moz-do-not-send="true" href="mailto:aashutoshnarayan@gmail.com" target="_blank">aashutoshnarayan@gmail.com</a>&gt;:


                                  &gt;&gt; &gt; Hi folks,


                                  &gt;&gt; &gt;


                                  &gt;&gt; &gt; I am a Chef newbie.
                                  Getting started to install a


                                  &gt;&gt; &gt; client-server setup
                                  using Chef version 11.0.4-1.


                                  &gt;&gt; &gt; I am lost in the
                                  documentations and somehow


                                  &gt;&gt; &gt; things are not
                                  working for me.


                                  &gt;&gt; &gt; Please guide me
                                  through sequence of steps


                                  &gt;&gt; &gt; to be followed to
                                  install Chef-Server and


                                  &gt;&gt; &gt; Chef-Client (
                                  workstation ) on CentOS 6 x86_64.


                                  &gt;&gt; &gt;


                                  &gt;&gt; &gt; Thank you,


                                  &gt;&gt; &gt; --


                                  &gt;&gt; &gt; Ashutosh Narayan


                                  &gt;&gt; &gt;


                                  &gt;&gt; &gt; <a moz-do-not-send="true" href="http://ashutoshn.wordpress.com/" target="_blank">http://ashutoshn.wordpress.com/</a>


                                  &gt;&gt; &gt;


                                  &gt;


                                  &gt;


                                  &gt;


                                  &gt;


                                  &gt; --


                                  &gt; Ashutosh Narayan


                                  &gt;


                                  &gt; <a moz-do-not-send="true" href="http://ashutoshn.wordpress.com/" target="_blank">http://ashutoshn.wordpress.com/</a>


                                  &gt;
                        -- 


                        Ashutosh Narayan

http://ashutoshn.wordpress.com/


#10

Just tried an upgrade of my current chef10 nodes (one for starter) all
i did was removing the old chef10 rpms (used rbel repo to install) and
then installed chef 11 rpm. Had to add my own init.d scrip and then
started the service, tada… it just worked.

The documentation is kinda sparse still around centos/rhel6 and chef11

  • no real repo so i cant sync it to my satellite/spacewalk =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Sascha Bates sascha.bates@gmail.com:

A few more points ->
If the server has an assigned hostname but it doesn’t resolve, the install
will fail with mysterious error message.
If there is another web server already running on the server, the pedant
testing will fail in a non-obvious way as well.

I had a server handed to me by my client who had been using it for something
else (hand me down server). They changed the host name on the server, but it
was just a place holder and didn’t really exist. I fixed it by adding the
machine IP/hostname to the host file. This is documented here:
http://tickets.opscode.com/browse/CHEF-3837

The second thing I encountered on my hand-me-down server is that someone
already had an httpd service running and I didn’t notice until I checked the
nginx logs and found the “address already in use.” Pedant was failing with
plain connection reset.

These were easy for me to resolve, but I just wanted to toss them out there
for other things that people can check on.

Sascha

Sascha Bates | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype |
sascha_bates@yahoo |
On 2/13/13 10:33 AM, Daniel DeLeo wrote:

A few points:

  • The server and client versions are not synchronized any more. With Chef
    10, we released lots of identical versions of the server just to keep the
    version numbers the same, and now that client and server are completely
    different codebases there’s no reason to keep doing this.
  • The omnibus server packages don’t start any services by default. Starting
    services by default causes lots of people lots of grief, so we chose not to
    do it. Post install script leaves you a message to run chef-server-ctl reconfigure which configures the components and starts the services.


Daniel DeLeo

On Wednesday, February 13, 2013 at 6:03 AM, Jesse Campbell wrote:

which services were not running?
The web ui had a vulnerability, so it is disabled by default.

On Wed, Feb 13, 2013 at 7:51 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi Sean,

I installed the RPM but services were not running.
I found this blog post helpful.
But again I have now downgraded to Chef 10.18.0
to configure systems. May be in a weeks time
I will try out with Chef 11.

Thank you,

On Wed, Feb 13, 2013 at 5:49 PM, Sean OMeara someara@gmail.com wrote:

Hi Ashutosh.

All you need is the RPM. Client and server don’t have to match exactly.

-s

On Wed, Feb 13, 2013 at 3:48 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this link
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott jens.skott@schibsted.se
wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


#11

On Wed, Feb 13, 2013 at 7:33 PM, Jesse Campbell hikeit@gmail.com wrote:

which services were not running?

It was chef-server-webui which was not running.
chef-server service was also not seen under
/etc/init.d/ directory. So, I assumed that something
has gone wrong during installation.

The web ui had a vulnerability, so it is disabled by default.

On Wed, Feb 13, 2013 at 7:51 AM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> wrote:

Hi Sean,

I installed the RPM but services were not running.
I found this bloghttp://jtimberman.housepub.org/blog/2013/02/10/install-chef-11-server-on-centos-6/post helpful.
But again I have now downgraded to Chef 10.18.0
to configure systems. May be in a weeks time
I will try out with Chef 11.

Thank you,

On Wed, Feb 13, 2013 at 5:49 PM, Sean OMeara someara@gmail.com wrote:

Hi Ashutosh.

All you need is the RPM. Client and server don’t have to match exactly.

-s

On Wed, Feb 13, 2013 at 3:48 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this link
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott jens.skott@schibsted.se
wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan


#12

Seems init.d scripts aint included in the rpm, feature request on jira
perhaps? =)
Or build your own.

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/14 Ashutosh Narayan aashutoshnarayan@gmail.com:

On Wed, Feb 13, 2013 at 7:33 PM, Jesse Campbell hikeit@gmail.com wrote:

which services were not running?

It was chef-server-webui which was not running.
chef-server service was also not seen under
/etc/init.d/ directory. So, I assumed that something
has gone wrong during installation.

The web ui had a vulnerability, so it is disabled by default.

On Wed, Feb 13, 2013 at 7:51 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi Sean,

I installed the RPM but services were not running.
I found this blog post helpful.
But again I have now downgraded to Chef 10.18.0
to configure systems. May be in a weeks time
I will try out with Chef 11.

Thank you,

On Wed, Feb 13, 2013 at 5:49 PM, Sean OMeara someara@gmail.com wrote:

Hi Ashutosh.

All you need is the RPM. Client and server don’t have to match exactly.

-s

On Wed, Feb 13, 2013 at 3:48 AM, Ashutosh Narayan
aashutoshnarayan@gmail.com wrote:

Hi,

I went through this link but the server rpm package and
client rpm package version doesn’t match.
Server version shows 11.0.4 for Enterprise Linux
version 6 ; which has an rpm named
chef-server-11.0.4-1.el6.x86_64.rpm and Client tab
has chef-11.0.0-1.el6.x86_64.rpm version.
This could lead to problems at later stage.
Just installing the chef rpm is not helping me out.
Have a doubt - On Server - I need to install chef via rpm or gem.
I need to have ruby installed as well, right ?

Am also stuck in setting up a workstation by following this link
Any pointers are appreciated.

Thank you,

On Wed, Feb 13, 2013 at 1:29 PM, Jens Skott jens.skott@schibsted.se
wrote:

http://www.opscode.com/chef/install/

Easy peasy =)
My dilema is migrating encrypted databags + clients to chef 11 =)

Jens Skott
Tel: +46-8-5142 4396
Schibsted Centralen IT

2013/2/13 Ashutosh Narayan aashutoshnarayan@gmail.com:

Hi folks,

I am a Chef newbie. Getting started to install a
client-server setup using Chef version 11.0.4-1.
I am lost in the documentations and somehow
things are not working for me.
Please guide me through sequence of steps
to be followed to install Chef-Server and
Chef-Client ( workstation ) on CentOS 6 x86_64.

Thank you,

Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/