Skip to content

NickClaywell/setpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This cookbook is just a simple recipe to set the PATH on the target machine. It has only been tested with vagrant's Precise64 Ubuntu box.

Requirements

N/A

Attributes

:setpath:path (default: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/zend/bin")

Usage

config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "~/cookbooks"
chef.add_recipe "setpath"
chef.json = {
 		:setpath => {
     		:path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/zend/bin:/usr/test"
  	}
	}
end

About

Chef cookbook for setting the PATH environment variable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages