summaryrefslogtreecommitdiff
path: root/lib/chef/role.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix Lint/AmbiguousRegexpLiteralLamont Granquist2015-02-181-2/+2
|
* Merge pull request #2030 from chef/lcg/1923Lamont Granquist2015-02-131-2/+5
|\ | | | | Lcg/1923
| * allow dep injecting chef_server_rest into objectsLamont Granquist2015-02-111-2/+5
| |
* | CHEF-4591: Knife commands to manipulate env_run_list on nodesWilliam Albenzi2015-02-121-0/+10
|/
* Escape path for globbing.Claire McQuin2014-09-221-1/+1
|
* remove JSON gem usageLamont Granquist2014-08-111-1/+1
| | | | | | | | | should fully convert to using ffi-yajl there are still issues with JSON gem monkeypatching interacting with chef-zero and the spec tests so we keep the requires here for the json gem and the ffi_yajl/json_gem here. when ohai and chef-zero are fixed, we an just require ffi_yajl.
* Revert "remove #to_json Monkeytpatching"Lamont Granquist2014-08-091-1/+1
| | | | This reverts commit adbb0fa85cc45b93ba91dc3019094b312cafb35c.
* remove #to_json MonkeypatchingLamont Granquist2014-08-091-1/+1
|
* Fixes #1739 - regression from a93af4060369f23299652b92fdc451468a3e5534 which ↵Daniel O'Connor2014-08-031-2/+2
| | | | matches files too widely. Signed CLA.
* removed Chef::Role.from_disk 'force' optionBen Somers2014-06-081-3/+3
| | | Option was unused and did not work in any case.
* Fixed specs for Chef::Role.from_diskBen Somers2014-06-081-2/+0
| | | | | Specs were broken because of rebasing the glob_roles patch onto the current master. Also removed an exception raise I'd accidentally left in.
* Added duplicate role detection for Role.from_diskBen Somers2014-06-081-2/+6
| | | | | | Now Role.from_disk raises an error when it detects two roles of the same type (.rb or .json) exist anywhere in the roles directory or subdirectories.
* Enabling storage of roles in subdirectoriesBen Somers2014-06-081-9/+11
| | | | | | | | | Storing roles in subdirectories is already effectively enabled for Hosted Chef, as the directory structure gets flattened when they are uploaded. But it is not currently possible with Chef-Solo; one has to flatten the directory manually before running Chef-Solo. This patch changes that behavior, and enables Chef-Solo with roles in subdirectories.
* Apply comments from @btmBertrand Paquet2013-10-101-2/+1
|
* [CHEF-2928] Allow to use array in role_pathBertrand Paquet2013-10-101-13/+18
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+253
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!