Standalone installer based on chef


#1

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a chef
server, and we end up writing a little bash script to do the install. that
sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in a
tarball and base a standalone installer on that? would be a very nice way
to re-use chef scripts


#2

Are these Chef scripts available to the public? I would love to get my hands on them so I’m not reinventing the wheel :slight_smile:

Thanks,

Scott Burks
Technical Consultant
Dev Services | MasterCard Technologies

MasterCard
2200 MasterCard Blvd. | 922 North First
O’Fallon, MO 63368

tel 636.722.3479 | fax 636.722.0037
mobile 636.346.7268
scott_burks@mastercard.commailto:scott_burks@mastercard.com
[cid:image001.gif@01CE9FE9.99252DB0]<www.mastercard.com>

Please think of the environment before printing this email.

From: Koert Kuipers [mailto:koert@tresata.com]
Sent: Friday, August 23, 2013 10:11 AM
To: chef@lists.opscode.com
Subject: [chef] standalone installer based on chef

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a chef server, and we end up writing a little bash script to do the install. that sucks.
would there be a way to embed the chef cookbooks and perhaps chef-solo in a tarball and base a standalone installer on that? would be a very nice way to re-use chef scripts
CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the use of the intended recipient and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, any disclosure, distribution or other use of this e-mail message or attachments is prohibited. If you have received this e-mail message in error, please delete and notify the sender immediately. Thank you.


#3

I would check out https://github.com/opscode/omnibus-chef-server. The OSS Chef Server installer uses Chef Solo internally to configure itself and its embedded services (nginx, postgresql, etc.). Once you take a deeper dive into that repo you’ll see it’s actually pretty straightforward to set up your own omnibus installer and pattern it after the way chef server does it.


Tony Burns
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Friday, August 23, 2013 at 11:11 AM, Koert Kuipers wrote:

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a chef server, and we end up writing a little bash script to do the install. that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in a tarball and base a standalone installer on that? would be a very nice way to re-use chef scripts


#4

The omnibus framework for creating these installers is open sourced.

Mark Mzyk
Opscode Developer

Tony Burns mailto:tabolario@gmail.com
August 23, 2013 11:15 AM
I would check out https://github.com/opscode/omnibus-chef-server. The
OSS Chef Server installer uses Chef Solo internally to configure
itself and its embedded services (nginx, postgresql, etc.). Once you
take a deeper dive into that repo you’ll see it’s actually pretty
straightforward to set up your own omnibus installer and pattern it
after the way chef server does it.


Tony Burns
Sent with Sparrow http://www.sparrowmailapp.com/?sig

On Friday, August 23, 2013 at 11:11 AM, Koert Kuipers wrote:

Koert Kuipers mailto:koert@tresata.com
August 23, 2013 11:11 AM
we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the
install. that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo
in a tarball and base a standalone installer on that? would be a very
nice way to re-use chef scripts


#5

great i will take a look at that. thanks!

On Fri, Aug 23, 2013 at 12:00 PM, Mark Mzyk mmzyk@programmersparadox.comwrote:

The omnibus framework for creating these installers is open sourced.

https://github.com/opscode/omnibus-software

Mark Mzyk
Opscode Developer

Tony Burns tabolario@gmail.com
August 23, 2013 11:15 AM
I would check out https://github.com/opscode/omnibus-chef-server. The
OSS Chef Server installer uses Chef Solo internally to configure itself and
its embedded services (nginx, postgresql, etc.). Once you take a deeper
dive into that repo you’ll see it’s actually pretty straightforward to set
up your own omnibus installer and pattern it after the way chef server does
it.


Tony Burns
Sent with Sparrow http://www.sparrowmailapp.com/?sig

On Friday, August 23, 2013 at 11:11 AM, Koert Kuipers wrote:

Koert Kuipers koert@tresata.com
August 23, 2013 11:11 AM
we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the install.
that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in
a tarball and base a standalone installer on that? would be a very nice way
to re-use chef scripts


#6

scott, any particular deployment scripts you are interested in?

On Fri, Aug 23, 2013 at 11:14 AM, Burks, Scott
Scott_Burks@mastercard.comwrote:

Are these Chef scripts available to the public? I would love to get my
hands on them so I’m not reinventing the wheel J

Thanks,

Scott Burks

Technical Consultant

Dev Services | MasterCard Technologies

MasterCard

2200 MasterCard Blvd. | 922 North First

O’Fallon, MO 63368

tel 636.722.3479 | fax 636.722.0037

mobile 636.346.7268

scott_burks@mastercard.com

http://www.mastercard.com

Please think of the environment before printing this email.

From: Koert Kuipers [mailto:koert@tresata.com]
Sent: Friday, August 23, 2013 10:11 AM
To: chef@lists.opscode.com
Subject: [chef] standalone installer based on chef

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the install.
that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in
a tarball and base a standalone installer on that? would be a very nice way
to re-use chef scripts
CONFIDENTIALITY NOTICE This e-mail message and any attachments are only
for the use of the intended recipient and may contain information that is
privileged, confidential or exempt from disclosure under applicable law. If
you are not the intended recipient, any disclosure, distribution or other
use of this e-mail message or attachments is prohibited. If you have
received this e-mail message in error, please delete and notify the sender
immediately. Thank you.


#7

Are you aware of http://www.opscode.com/chef/install/ ?

That will allow you to download an omnibus installer for the client or
server for each of the platforms that Opscode supports. It might save
you some typing.

Mark Mzyk
Opscode Developer

Koert Kuipers mailto:koert@tresata.com
August 23, 2013 3:54 PM
scott, any particular deployment scripts you are interested in?

Burks, Scott mailto:Scott_Burks@mastercard.com
August 23, 2013 11:14 AM

Are these Chef scripts available to the public? I would love to get
my hands on them so I’m not reinventing the wheel J

Thanks,

Scott Burks

Technical Consultant

Dev Services| MasterCard Technologies

MasterCard

2200 MasterCard Blvd.| 922 North First

O’Fallon, MO 63368

tel 636.722.3479| fax 636.722.0037

mobile 636.346.7268

scott_burks@mastercard.com mailto:scott_burks@mastercard.com

<www.mastercard.com>

//

/Please think of the environment before printing this email./

*From:*Koert Kuipers [mailto:koert@tresata.com]
Sent: Friday, August 23, 2013 10:11 AM
To: chef@lists.opscode.com
Subject: [chef] standalone installer based on chef

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the
install. that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo
in a tarball and base a standalone installer on that? would be a very
nice way to re-use chef scripts

CONFIDENTIALITY NOTICE This e-mail message and any attachments are
only for the use of the intended recipient and may contain information
that is privileged, confidential or exempt from disclosure under
applicable law. If you are not the intended recipient, any disclosure,
distribution or other use of this e-mail message or attachments is
prohibited. If you have received this e-mail message in error, please
delete and notify the sender immediately. Thank you.
Koert Kuipers mailto:koert@tresata.com
August 23, 2013 11:11 AM
we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the
install. that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo
in a tarball and base a standalone installer on that? would be a very
nice way to re-use chef scripts


#8

i realize http://www.opscode.com/chef/install/ is to quickly install a
chef-client, however i want to embed something in our own installer that
runs effectively runs chef-solo, without requiring chef software to be
permanently installed.

On Fri, Aug 23, 2013 at 4:31 PM, Mark Mzyk mmzyk@programmersparadox.comwrote:

Are you aware of http://www.opscode.com/chef/install/ ?

That will allow you to download an omnibus installer for the client or
server for each of the platforms that Opscode supports. It might save you
some typing.

Mark Mzyk
Opscode Developer

Koert Kuipers koert@tresata.com
August 23, 2013 3:54 PM
scott, any particular deployment scripts you are interested in?

Burks, Scott Scott_Burks@mastercard.com
August 23, 2013 11:14 AM

Are these Chef scripts available to the public? I would love to get my
hands on them so I’m not reinventing the wheel J

Thanks,

Scott Burks

Technical Consultant

Dev Services | MasterCard Technologies

MasterCard

2200 MasterCard Blvd. | 922 North First

O’Fallon, MO 63368

tel 636.722.3479 | fax 636.722.0037

mobile 636.346.7268

scott_burks@mastercard.com

http://www.mastercard.com

Please think of the environment before printing this email.

From: Koert Kuipers [mailto:koert@tresata.com koert@tresata.com]
Sent: Friday, August 23, 2013 10:11 AM
To: chef@lists.opscode.com
Subject: [chef] standalone installer based on chef

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the install.
that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in
a tarball and base a standalone installer on that? would be a very nice way
to re-use chef scripts
CONFIDENTIALITY NOTICE This e-mail message and any attachments are only
for the use of the intended recipient and may contain information that is
privileged, confidential or exempt from disclosure under applicable law. If
you are not the intended recipient, any disclosure, distribution or other
use of this e-mail message or attachments is prohibited. If you have
received this e-mail message in error, please delete and notify the sender
immediately. Thank you.
Koert Kuipers koert@tresata.com
August 23, 2013 11:11 AM
we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the install.
that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in
a tarball and base a standalone installer on that? would be a very nice way
to re-use chef scripts


#9

The omnbius installer will likely put you on the right path then, as
it’s designed to be a framework for creating stand along installation
packages and isn’t designed to be chef specific.

Koert Kuipers mailto:koert@tresata.com
August 23, 2013 4:40 PM
i realize http://www.opscode.com/chef/install/ is to quickly install a
chef-client, however i want to embed something in our own installer
that runs effectively runs chef-solo, without requiring chef software
to be permanently installed.

Mark Mzyk mailto:mmzyk@programmersparadox.com
August 23, 2013 4:31 PM
Are you aware of http://www.opscode.com/chef/install/ ?

That will allow you to download an omnibus installer for the client or
server for each of the platforms that Opscode supports. It might save
you some typing.

Mark Mzyk
Opscode Developer

Koert Kuipers mailto:koert@tresata.com
August 23, 2013 3:54 PM
scott, any particular deployment scripts you are interested in?

Burks, Scott mailto:Scott_Burks@mastercard.com
August 23, 2013 11:14 AM

Are these Chef scripts available to the public? I would love to get
my hands on them so I’m not reinventing the wheel J

Thanks,

Scott Burks

Technical Consultant

Dev Services| MasterCard Technologies

MasterCard

2200 MasterCard Blvd.| 922 North First

O’Fallon, MO 63368

tel 636.722.3479| fax 636.722.0037

mobile 636.346.7268

scott_burks@mastercard.com mailto:scott_burks@mastercard.com

<www.mastercard.com>

//

/Please think of the environment before printing this email./

*From:*Koert Kuipers [mailto:koert@tresata.com]
Sent: Friday, August 23, 2013 10:11 AM
To: chef@lists.opscode.com
Subject: [chef] standalone installer based on chef

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the
install. that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo
in a tarball and base a standalone installer on that? would be a very
nice way to re-use chef scripts

CONFIDENTIALITY NOTICE This e-mail message and any attachments are
only for the use of the intended recipient and may contain information
that is privileged, confidential or exempt from disclosure under
applicable law. If you are not the intended recipient, any disclosure,
distribution or other use of this e-mail message or attachments is
prohibited. If you have received this e-mail message in error, please
delete and notify the sender immediately. Thank you.
Koert Kuipers mailto:koert@tresata.com
August 23, 2013 11:11 AM
we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the
install. that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo
in a tarball and base a standalone installer on that? would be a very
nice way to re-use chef scripts


#10

great i will look into that

On Fri, Aug 23, 2013 at 4:44 PM, Mark Mzyk mmzyk@programmersparadox.comwrote:

The omnbius installer will likely put you on the right path then, as it’s
designed to be a framework for creating stand along installation packages
and isn’t designed to be chef specific.

Koert Kuipers koert@tresata.com
August 23, 2013 4:40 PM
i realize http://www.opscode.com/chef/install/ is to quickly install a
chef-client, however i want to embed something in our own installer that
runs effectively runs chef-solo, without requiring chef software to be
permanently installed.

Mark Mzyk mmzyk@programmersparadox.com
August 23, 2013 4:31 PM
Are you aware of http://www.opscode.com/chef/install/ ?

That will allow you to download an omnibus installer for the client or
server for each of the platforms that Opscode supports. It might save you
some typing.

Mark Mzyk
Opscode Developer

Koert Kuipers koert@tresata.com
August 23, 2013 3:54 PM
scott, any particular deployment scripts you are interested in?

Burks, Scott Scott_Burks@mastercard.com
August 23, 2013 11:14 AM

Are these Chef scripts available to the public? I would love to get my
hands on them so I’m not reinventing the wheel J

Thanks,

Scott Burks

Technical Consultant

Dev Services | MasterCard Technologies

MasterCard

2200 MasterCard Blvd. | 922 North First

O’Fallon, MO 63368

tel 636.722.3479 | fax 636.722.0037

mobile 636.346.7268

scott_burks@mastercard.com

http://www.mastercard.com

Please think of the environment before printing this email.

From: Koert Kuipers [mailto:koert@tresata.com koert@tresata.com]
Sent: Friday, August 23, 2013 10:11 AM
To: chef@lists.opscode.com
Subject: [chef] standalone installer based on chef

we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the install.
that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in
a tarball and base a standalone installer on that? would be a very nice way
to re-use chef scripts
CONFIDENTIALITY NOTICE This e-mail message and any attachments are only
for the use of the intended recipient and may contain information that is
privileged, confidential or exempt from disclosure under applicable law. If
you are not the intended recipient, any disclosure, distribution or other
use of this e-mail message or attachments is prohibited. If you have
received this e-mail message in error, please delete and notify the sender
immediately. Thank you.
Koert Kuipers koert@tresata.com
August 23, 2013 11:11 AM
we have all these nice chef scripts to do deployments.

and then sometimes we do installation at a client that does not have a
chef server, and we end up writing a little bash script to do the install.
that sucks.

would there be a way to embed the chef cookbooks and perhaps chef-solo in
a tarball and base a standalone installer on that? would be a very nice way
to re-use chef scripts