This cookbook has been deprecated and moved to the Chef Solutions Organization at https://github.com/chef-solutions/local-development
On the screen below make sure to choose 'Use Git and optional Unix tools from the Windows Command Prompt'
knife -v && chef -v && git --version
chef generate pipeline
cd pipeline
name 'pipeline'
maintainer 'YOUR_NAME'
maintainer_email 'YOUR_EMAIL'
license 'All rights reserved'
description 'Installs/Configures pipeline'
long_description 'Installs/Configures pipeline'
version '0.1.0'
depends 'java'
depends 'jenkins'
#
# Cookbook Name:: pipeline
# Recipe:: default
#
# Copyright (C) 2014 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#
include_recipe 'java::default'
#
# Cookbook Name:: pipeline
# Recipe:: default
#
# Copyright (C) 2014 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#
include_recipe 'java::default'
include_recipe 'jenkins::master'
Modify .kitchen.yml to configure port forwarding, cpu/memory settings, update platform to centos-6.5, and set default recipe and attributes
driver:
name: vagrant
driver_config:
network:
- ["forwarded_port", {guest: 8080, host: 8080}]
- ["private_network", {ip: "33.33.33.10"}]
customize:
memory: 2048
cpus: 2
provisioner:
name: chef_zero
platforms:
- name: centos-7.0
suites:
- name: default
run_list:
pipeline::default
attributes:
kitchen list
kitchen converge centos
http://localhost:8080
git status
git add .
git commit -m "initial commit of pipeline cookbook"