[chef] Re: Re: Re: Re: Re: RE: Re: RE: Windows NoMethodError - winows cookbook


Chronological Thread 
  • From: Andrew Hollingsworth < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: RE: Re: RE: Windows NoMethodError - winows cookbook
  • Date: Tue, 15 Jul 2014 12:46:40 -0700

Hi Julian,

Weirdly for the windows 1.32.1  cookbook the resources directory is not coming down :

$ ls -l  ~/.berkshelf/cookbooks/windows-1.32.1/
total 72
-rw-r--r--+  1 adh staff  9366 Jul 15 11:48 CHANGELOG.md
-rw-r--r--+  1 adh staff 26112 Jul 15 11:48 README.md
drwxr-xr-x+  3 adh staff   102 Jul 15 11:48 attributes
drwxr-xr-x+  3 adh staff   102 Jul 15 11:48 files
drwxr-xr-x+ 11 adh staff   374 Jul 15 11:48 libraries
-rw-r--r--+  1 adh staff 27405 Jul 15 11:48 metadata.json
-rw-r--r--+  1 adh staff   368 Jul 15 11:48 metadata.rb
drwxr-xr-x+ 17 adh staff   578 Jul 15 11:48 providers
drwxr-xr-x+  4 adh staff   136 Jul 15 11:48 recipes

I see it in the tagged github repo but it's not pulled down as 1.32.1 when pulled in via berkshelf. 

Cheers,






On Tue, Jul 15, 2014 at 11:39 AM, Julian C. Dunn < " target="_blank"> > wrote:
New powershell & windows cookbooks with a .1 on their version # have
been released to correct this issue. They are functionally equivalent
to the .0 releases except that they actually contain the 'resources'
folder :-/

- Julian

On Tue, Jul 15, 2014 at 2:28 PM, Andrew Hollingsworth
< "> > wrote:
> Thanks Julian - I'll watch for the release :-)
>
> Cheers,
>
> adh
> --
> Andrew Hollingsworth
> ">
>
> Website : http://www.techopsguru.com
> Twitter : twitter.com/techopsguru
>
>
> On Tue, Jul 15, 2014 at 11:18 AM, Julian C. Dunn < "> > wrote:
>>
>> The root cause of all this is that Stove 3.1.0 had a defect wherein it
>> failed to upload LWRP resources.
>>
>>
>> https://github.com/sethvargo/stove/commit/9d7b5b627208eb38732f60318b30a6dd67bbfee7
>>
>> We will re-release the powershell & windows cookbooks today using Stove
>> 3.2.0.
>>
>> - Julian
>>
>> On Tue, Jul 15, 2014 at 2:15 PM, Andrew Hollingsworth
>> < "> > wrote:
>> > HI Kapil,
>> >
>> > Yes indeed it is... And it's picked up by the chef-client converge. In
>> > fact
>> > windows_package works fine but windows_batch, windows_zipfile, and
>> > windows_path do not (these are the only ones I've tried).  Additionally
>> > a
>> > similar thing happens with the powershell cookbook so I don't think it's
>> > cookbook specific, more platform specific maybe...
>> >
>> > Cheers,
>> >
>> >
>> >
>> > adh
>> > --
>> > Andrew Hollingsworth
>> > ">
>> >
>> > Website : http://www.techopsguru.com
>> > Twitter : twitter.com/techopsguru
>> >
>> >
>> > On Tue, Jul 15, 2014 at 11:04 AM, Kapil Shardha
>> > < "> > wrote:
>> >>
>> >> Is windows cookbook added to the runlist for this node?
>> >>
>> >>
>> >>
>> >> -Kapil
>> >>
>> >>
>> >>
>> >> From: "> [mailto: "> ] On Behalf Of Andrew
>> >> Hollingsworth
>> >> Sent: Tuesday, July 15, 2014 2:02 PM
>> >> To: ">
>> >> Subject: [chef] Re: RE: Windows NoMethodError - winows cookbook
>> >>
>> >>
>> >>
>> >> Hi Kapil.
>> >>
>> >>
>> >>
>> >> Already there :-) Thanks though...
>> >>
>> >>
>> >>
>> >> Cheers,
>> >>
>> >>
>> >> adh
>> >> --
>> >> Andrew Hollingsworth
>> >> ">
>> >>
>> >> Website : http://www.techopsguru.com
>> >> Twitter : twitter.com/techopsguru
>> >>
>> >>
>> >>
>> >> On Tue, Jul 15, 2014 at 11:00 AM, Kapil Shardha
>> >> < "> > wrote:
>> >>
>> >> You may want to add
>> >>
>> >> include_recipe 'windows'
>> >>
>> >> in your recipe.
>> >>
>> >> -Kapil
>> >>
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: Andrew Hollingsworth [mailto: "> ]
>> >> Sent: Tuesday, July 15, 2014 1:58 PM
>> >> To: ">
>> >> Subject: [chef] Windows NoMethodError - winows cookbook
>> >>
>> >> Hi all,
>> >>
>> >> I have a client running on Windows (in EC2) that requires a wrapper
>> >> recipe
>> >> to do a few things. However, even though I have the windows cookbook as
>> >> a
>> >> dependency in my metadata.rb I get a NoMethodError when I run
>> >> chef-client on
>> >> the server.
>> >>
>> >> The error is :
>> >>
>> >> NoMethodError
>> >> -------------
>> >> No resource or method named `windows_batch' for `Chef::Recipe "deploy"'
>> >>
>> >>
>> >
>> >
>>
>>
>>
>> --
>> [ Julian C. Dunn < "> >          * Sorry, I'm    ]
>> [ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
>> [ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
>> [ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]
>
>



--
[ Julian C. Dunn < "> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]




Archive powered by MHonArc 2.6.16.

§