- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Ruby Gems
- Date: Wed, 25 Mar 2015 07:58:41 -0700
On Wednesday, March 25, 2015 at 7:54 AM, Simon Hawkins wrote:
>
All,
>
>
When I am bootstrapping a windows box I get this:
>
>
20: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>
implied.
>
21: # See the License for the specific language governing permissions and
>
22: # limitations under the License.
>
23: #
>
24:
>
25: if RUBY_PLATFORM =~ /mswin|mingw32|windows/
>
26: require 'win32/registry'
>
27>> require 'ruby-wmi'
>
28: end
>
29:
>
30: module Windows
>
31: module RegistryHelper
>
>
Do I need ruby installed on my Windows Image before I can bootstrap it?
>
Should the chef-client install push it out on a bootstrap?
>
>
Cheers,
>
Simon.
>
What cookbook is this from? I seem to remember that chef-client used to
include ruby-wmi when installing on windows, but we had some problems with it
(something about it not working with certain ruby versions) and weren’t using
most of the features so we wrote a replacement for just the features we
needed:
https://github.com/chef/wmi-lite
--
Daniel DeLeo
- [chef] Ruby Gems, Simon Hawkins, 03/25/2015
- [chef] Re: Ruby Gems, Daniel DeLeo, 03/25/2015
Archive powered by MHonArc 2.6.16.