<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef.git/lib/chef/shell.rb, branch disable_cache</title>
<subtitle>github.com: opscode/chef.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/'/>
<entry>
<title>Fix spellcheck error</title>
<updated>2021-02-02T22:34:34+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2021-02-02T22:34:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=e9f7b83e912280ef6453280f2871919bf07191e0'/>
<id>e9f7b83e912280ef6453280f2871919bf07191e0</id>
<content type='text'>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Chefstyle fix</title>
<updated>2021-02-02T22:33:16+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2021-02-02T22:33:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=d78513923262b30ce3099bf9391b0cd1e931173c'/>
<id>d78513923262b30ce3099bf9391b0cd1e931173c</id>
<content type='text'>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for client.d files in chef-shell</title>
<updated>2021-01-20T04:44:39+00:00</updated>
<author>
<name>Phil Dibowitz</name>
<email>phil@ipom.com</email>
</author>
<published>2021-01-14T04:14:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=a6ea258d62a99de0319710cf48f488f89bb05994'/>
<id>a6ea258d62a99de0319710cf48f488f89bb05994</id>
<content type='text'>
This brings chef-shell a bit closer to behaving properly. This code is
tons of copy-pasta and needs some love. Because it's not using *any* of
`Chef::Application` (not `Application` or `Application::Base` or even
it's own fork of `Application` like half the other stuff in the repo),
it doesn't have access to _any_ of the many versions of
`load_config_file` (note to self: collapse those into one).

Pulling in Application will be a significant chunk of work, so in the
mean time I did the minimal amount of work to make the `parse_opts` in
shell.rb create the right bits so that Chef::Config and Mixin::DotD can
work... so while this doesn't fix the problem that we're invoking our
own config parsing, it at least uses as much of the common code as I can
without reworking the entirety of chef-shell.

Here's an example of it working:

```
root@ldt-hardwired:~# cinc-shell -s -c /etc/chef/client.rb
loading configuration: /etc/chef/client.rb
true
Session type: solo
```

From there it loads not only `/et/chef/client.rb` but also
`/etc/chef/client.d/ohai.rb`. Neat.

None of this portion of the code is tested in the specs and frankly, I'm
not entirely certainly how to go about writing a test, but I'll poke
around.

fixes #10748

Signed-off-by: Phil Dibowitz &lt;phil@ipom.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings chef-shell a bit closer to behaving properly. This code is
tons of copy-pasta and needs some love. Because it's not using *any* of
`Chef::Application` (not `Application` or `Application::Base` or even
it's own fork of `Application` like half the other stuff in the repo),
it doesn't have access to _any_ of the many versions of
`load_config_file` (note to self: collapse those into one).

Pulling in Application will be a significant chunk of work, so in the
mean time I did the minimal amount of work to make the `parse_opts` in
shell.rb create the right bits so that Chef::Config and Mixin::DotD can
work... so while this doesn't fix the problem that we're invoking our
own config parsing, it at least uses as much of the common code as I can
without reworking the entirety of chef-shell.

Here's an example of it working:

```
root@ldt-hardwired:~# cinc-shell -s -c /etc/chef/client.rb
loading configuration: /etc/chef/client.rb
true
Session type: solo
```

From there it loads not only `/et/chef/client.rb` but also
`/etc/chef/client.d/ohai.rb`. Neat.

None of this portion of the code is tested in the specs and frankly, I'm
not entirely certainly how to go about writing a test, but I'll poke
around.

fixes #10748

Signed-off-by: Phil Dibowitz &lt;phil@ipom.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert change that removed use of Chef::Config.platform_specific_path</title>
<updated>2020-09-15T21:04:36+00:00</updated>
<author>
<name>Lance Albertson</name>
<email>lance@osuosl.org</email>
</author>
<published>2020-09-14T20:16:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=abbaf5a19db7c58b8d0fcabbb285fe390ec4be3d'/>
<id>abbaf5a19db7c58b8d0fcabbb285fe390ec4be3d</id>
<content type='text'>
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Workaround rubygems slow requires by only running require for chef-utils/dist</title>
<updated>2020-09-15T21:04:36+00:00</updated>
<author>
<name>Lance Albertson</name>
<email>lance@osuosl.org</email>
</author>
<published>2020-08-31T19:09:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=9ade086b6e0f64ae0610e3ecd2fb1d99b6d91962'/>
<id>9ade086b6e0f64ae0610e3ecd2fb1d99b6d91962</id>
<content type='text'>
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tighten all require statements for dist implementation</title>
<updated>2020-09-15T21:04:36+00:00</updated>
<author>
<name>Marc Chamberland</name>
<email>chamberland.marc@gmail.com</email>
</author>
<published>2020-05-10T13:49:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=215dfd4834cf59e508c26b45dbddbc698c57fd7b'/>
<id>215dfd4834cf59e508c26b45dbddbc698c57fd7b</id>
<content type='text'>
Signed-off-by: Marc Chamberland &lt;chamberland.marc@gmail.com&gt;
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marc Chamberland &lt;chamberland.marc@gmail.com&gt;
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>move dist implementation into chef-utils</title>
<updated>2020-09-15T21:04:36+00:00</updated>
<author>
<name>Marc Chamberland</name>
<email>chamberland.marc@gmail.com</email>
</author>
<published>2020-05-10T02:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=ed48186831835be81b436a160bcf190a7756d473'/>
<id>ed48186831835be81b436a160bcf190a7756d473</id>
<content type='text'>
Signed-off-by: Marc Chamberland &lt;chamberland.marc@gmail.com&gt;
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marc Chamberland &lt;chamberland.marc@gmail.com&gt;
Signed-off-by: Lance Albertson &lt;lance@osuosl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>use autoloading for many required gems</title>
<updated>2020-09-08T21:46:36+00:00</updated>
<author>
<name>mwrock</name>
<email>matt@mattwrock.com</email>
</author>
<published>2020-09-05T01:46:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=41ae92bd5070b450e04f02ae9a1d30987d14bb93'/>
<id>41ae92bd5070b450e04f02ae9a1d30987d14bb93</id>
<content type='text'>
Signed-off-by: mwrock &lt;matt@mattwrock.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: mwrock &lt;matt@mattwrock.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>File.exists? -&gt; File.exist?</title>
<updated>2020-08-12T21:02:34+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2020-08-11T20:30:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=4848c89b7cc5e4a4d4fac7c8bff962f7df69f719'/>
<id>4848c89b7cc5e4a4d4fac7c8bff962f7df69f719</id>
<content type='text'>
Update some of these methods

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update some of these methods

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo</title>
<updated>2020-04-06T17:16:26+00:00</updated>
<author>
<name>Vivek Singh</name>
<email>vivek.singh@msystechnologies.com</email>
</author>
<published>2020-04-06T16:44:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=a1bf06c753173ac698d9329a09c6edba6c18c781'/>
<id>a1bf06c753173ac698d9329a09c6edba6c18c781</id>
<content type='text'>
Signed-off-by: Vivek Singh &lt;vivek.singh@msystechnologies.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vivek Singh &lt;vivek.singh@msystechnologies.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
