[chef] RE: Linux version of adamedx/winbox or nordstrom/chefdk-bootstrap


Chronological Thread 
  • From: Kevin Keane Subscription < >
  • To: < >
  • Subject: [chef] RE: Linux version of adamedx/winbox or nordstrom/chefdk-bootstrap
  • Date: Fri, 21 Aug 2015 14:29:29 -0700

Title: RE: [chef] Linux version of adamedx/winbox or nordstrom/chefdk-bootstrap

I simply rolled my own, since for the most part this is just repository setup, package installation and including other recipes (at least for me). Here is an exerpt of what I"m using (most of the recipes referenced at the bottom are my own).

Obviously, this one only works for RedHat-like systems, but hopefully it may be a starting point for you!

dropbox_Base = value_for_platform(
  %w{ centos redhat } => {
    "7.0"     => 'http://linux.dropbox.com/fedora/19',
    "default" => 'http://linux.dropbox.com/fedora/12'
  },
  "default" => { "default" => '' }
)

yum_repository "Dropbox" do
  description         "Dropbox Repository"
  enabled             true
  skip_if_unavailable true
  gpgcheck            true
  baseurl             dropbox_Base
  gpgkey              "https://linux.dropbox.com/fedora/rpm-public-key.asc"
end

yum_repository "tor" do
  description "Tor experimental repo"
  baseurl     "http://deb.torproject.org/torproject.org/rpm/el/$releasever/$basearch/"
  enabled     true
  gpgcheck    true
  skip_if_unavailable true
  gpgkey      'http://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc'
end

ownCloud_Base = value_for_platform(
  %w{ centos redhat } => {
    "7.0"     => 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/CentOS_7/',
    "default" => 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/CentOS_CentOS-6/'
  },
  "default" => { "default" => '' }
)

yum_repository "isv_ownCloud_desktop" do
  description 'Owncloud Client Repository'
  baseurl     ownCloud_Base
  enabled     true
  gpgcheck    true
  gpgkey      "#{ownCloud_Base}/repodata/repomd.xml.key"
end

yum_repository "virtualbox" do
  description 'Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox'
  baseurl     'http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
  enabled     true
  gpgcheck    true
  gpgkey      'https://www.virtualbox.org/download/oracle_vbox.asc'
end

include_recipe("nctc-bacula::console")
include_recipe("shorewall-lite::admin")
include_recipe("chef-dk")
include_recipe("kvm::client")
include_recipe("chrome")



Kevin Keane

The NetTech

http://www.4nettech.com

Our values: Privacy, Liberty, Justice

See https://www.4nettech.com/corp/the-nettech-values.html


-----Original message-----
From: Alex Thomas < >
Sent: Friday 21st August 2015 6:58
To:
Subject: [chef] Linux version of adamedx/winbox or nordstrom/chefdk-bootstrap

Does anyone know if there are (not sure of the chef term)(environments?) like the above for *nix? Trying to find a good example of setting up a desktop / workstation with chef. My goal is to be able to test different distros + plus freebsd on my test laptop, but have it so that I install base system, then run chef-client and it pulls all the dev-tools, plus other apps that I want. I know the focus is on server side, but automating workstations is my goal.

Thank you,

Alex Thomas 


  • [chef] RE: Linux version of adamedx/winbox or nordstrom/chefdk-bootstrap, Kevin Keane Subscription, 08/21/2015

Archive powered by MHonArc 2.6.16.

§