<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef.git/spec/integration/solo, branch https</title>
<subtitle>github.com: opscode/chef.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/'/>
<entry>
<title>Logging consistency fixes.</title>
<updated>2020-04-27T18:30:24+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2020-04-27T18:30:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=75730dec1e797d23356c20c81a7566ac6e52c368'/>
<id>75730dec1e797d23356c20c81a7566ac6e52c368</id>
<content type='text'>
- The doc formatter is now Chef::Config[:log_location]-aware
  and will log to files as well
- There is now consistency where doc formatter output never
  surprisingly changes to log formatter based on destination
- The "cli" log_location and the "config" log_location are now
  treated separately, so a log_location in the client.rb will
  always force output to a logfile, in addition to output
  to STDOUT if necessary
- The logic around STDOUT is now simplified, if its open we
  log to it, if its closed we don't, if you're daemonized we
  assume you're capturing STDOUT via your process manager
- The log_location variables are now Arrays

Things not done:

- The cli can't specify an array, it would be nice to support
  an accumulator pattern here.  Would also need to support
  disabling STDOUT logging though.

- Using the syslog or winevt logging devices requires the use
  of the logger, which precludes using the formatter.

- Some people may want to have log-formatter style output
  to the log file and doc formatter style output to STDOUT
  which is not very possible right now.  Right now we are
  consistent in that you get either the logger both places
  or the formatter both places.  This use case is complicated
  by the fact that they will want :info level logging for
  the logger, but :warn level logging for the doc formatter
  and that is another global.

- To do that latter thing right would probably require sending
  log messages to the formatter, and supporting a different
  log level in the formatter vs. the logger and then supporting
  the STDOUT/cli loggging being the formatter, while the
  log_location/config logging being the logger.

Those were way out of scope for what I could get done for Chef-16.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The doc formatter is now Chef::Config[:log_location]-aware
  and will log to files as well
- There is now consistency where doc formatter output never
  surprisingly changes to log formatter based on destination
- The "cli" log_location and the "config" log_location are now
  treated separately, so a log_location in the client.rb will
  always force output to a logfile, in addition to output
  to STDOUT if necessary
- The logic around STDOUT is now simplified, if its open we
  log to it, if its closed we don't, if you're daemonized we
  assume you're capturing STDOUT via your process manager
- The log_location variables are now Arrays

Things not done:

- The cli can't specify an array, it would be nice to support
  an accumulator pattern here.  Would also need to support
  disabling STDOUT logging though.

- Using the syslog or winevt logging devices requires the use
  of the logger, which precludes using the formatter.

- Some people may want to have log-formatter style output
  to the log file and doc formatter style output to STDOUT
  which is not very possible right now.  Right now we are
  consistent in that you get either the logger both places
  or the formatter both places.  This use case is complicated
  by the fact that they will want :info level logging for
  the logger, but :warn level logging for the doc formatter
  and that is another global.

- To do that latter thing right would probably require sending
  log messages to the formatter, and supporting a different
  log level in the formatter vs. the logger and then supporting
  the STDOUT/cli loggging being the formatter, while the
  log_location/config logging being the logger.

Those were way out of scope for what I could get done for Chef-16.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix all(?) circular requires coming from the specs.</title>
<updated>2020-03-16T18:56:53+00:00</updated>
<author>
<name>Ryan Davis</name>
<email>ryand-ruby@zenspider.com</email>
</author>
<published>2020-03-07T01:46:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=6e826423e240d71017a4fc9ab9f25f490ec859ad'/>
<id>6e826423e240d71017a4fc9ab9f25f490ec859ad</id>
<content type='text'>
Lots more in lib, but that's out of scope for this. I'm just trying to
make it easier to debug a failing spec when needed.

Signed-off-by: Ryan Davis &lt;zenspider@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lots more in lib, but that's out of scope for this. I'm just trying to
make it easier to debug a failing spec when needed.

Signed-off-by: Ryan Davis &lt;zenspider@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add chef-utils gem with various recipe DSL helpers</title>
<updated>2019-11-08T22:06:33+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2019-11-08T22:06:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=8a7e29d52882c39d0c903eef83bd3472e4f334af'/>
<id>8a7e29d52882c39d0c903eef83bd3472e4f334af</id>
<content type='text'>
This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md)
although some of the specifics have been iterated on and changed.

The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged.

While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem
should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai
as well.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md)
although some of the specifics have been iterated on and changed.

The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged.

While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem
should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai
as well.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Style/StringLiteralsInInterpolation</title>
<updated>2019-07-05T19:58:00+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2019-07-05T19:58:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=2a4916b7f01940d1199c35645c1b2172f5bd74b2'/>
<id>2a4916b7f01940d1199c35645c1b2172f5bd74b2</id>
<content type='text'>
since we use double quotes, be consistent everywhere.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
since we use double quotes, be consistent everywhere.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>distro constants for solo, zero and automate</title>
<updated>2019-05-23T16:29:44+00:00</updated>
<author>
<name>Marc Chamberland</name>
<email>mchamberland@pbsc.com</email>
</author>
<published>2019-05-05T22:55:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec'/>
<id>44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec</id>
<content type='text'>
Signed-off-by: Marc Chamberland &lt;mchamberland@pbsc.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marc Chamberland &lt;mchamberland@pbsc.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>One missed fix on functionnal test</title>
<updated>2019-05-02T22:42:53+00:00</updated>
<author>
<name>Tensibai</name>
<email>tensibai@iabis.net</email>
</author>
<published>2019-05-02T22:42:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=c3e05f288f4463f53c29a009c1b9de4f19a80435'/>
<id>c3e05f288f4463f53c29a009c1b9de4f19a80435</id>
<content type='text'>
Signed-off-by: Tensibai &lt;tensibai@iabis.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tensibai &lt;tensibai@iabis.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove chef-* binstubs from chef gem</title>
<updated>2019-04-29T22:10:36+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2019-04-29T22:10:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=688b72f47b4c3a23ca042336ea6c5d1f215ec263'/>
<id>688b72f47b4c3a23ca042336ea6c5d1f215ec263</id>
<content type='text'>
This is for the relicensing effort.

Note that this PR leaves the knife and ohai binstubs still in the
gem(s) while that discussion is still ongoing.

This PR extracts the binstubs to chef-binstubs gem which is not intended
to be redistributed outside of the omnibus chef binaries.

A blank gem for chef-binstubs has been pushed to rubygems.org for
obvious security concerns and so that bundler/rubygems can resolve
the gem

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for the relicensing effort.

Note that this PR leaves the knife and ohai binstubs still in the
gem(s) while that discussion is still ongoing.

This PR extracts the binstubs to chef-binstubs gem which is not intended
to be redistributed outside of the omnibus chef binaries.

A blank gem for chef-binstubs has been pushed to rubygems.org for
obvious security concerns and so that bundler/rubygems can resolve
the gem

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>addressing comments by coderanger</title>
<updated>2019-04-19T23:02:35+00:00</updated>
<author>
<name>Marc Chamberland</name>
<email>mchamberland@pbsc.com</email>
</author>
<published>2019-04-07T03:16:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=d2567df602b65102b908a918b5200898b137a614'/>
<id>d2567df602b65102b908a918b5200898b137a614</id>
<content type='text'>
Signed-off-by: Marc Chamberland &lt;mchamberland@pbsc.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marc Chamberland &lt;mchamberland@pbsc.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replacing workmarks with distro constants</title>
<updated>2019-04-19T23:02:35+00:00</updated>
<author>
<name>Marc Chamberland</name>
<email>mchamberland@pbsc.com</email>
</author>
<published>2019-04-06T23:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=33d1f9e3ad1013387a3b3a53d6969c905942b692'/>
<id>33d1f9e3ad1013387a3b3a53d6969c905942b692</id>
<content type='text'>
Signed-off-by: Marc Chamberland &lt;mchamberland@pbsc.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marc Chamberland &lt;mchamberland@pbsc.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>changes for rubocop engine upgrades.</title>
<updated>2019-01-15T21:07:58+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2019-01-15T21:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby-gems/chef.git/commit/?id=990974ca5cd44df0c77bb6a12fc57a3c32b92e23'/>
<id>990974ca5cd44df0c77bb6a12fc57a3c32b92e23</id>
<content type='text'>
this is the result of changes to rules we already previously had
enabled.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is the result of changes to rules we already previously had
enabled.

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
