Using attributes for bits_4

Hey,

I need to overwrite the default attribute for setting up powershell no matter what version.


Regards,
JM
Hey,

You are completely right. My bad, the default has to be replaced by node. I
didn't have any windows 2008 to test.

Do Julian C. Dunn want me to patch the PR?


Regards,
JM



On Tue, Aug 5, 2014 at 6:29 PM, Tom Parker <notifications@github.com> wrote:

> In recipes/powershell3.rb:
>
> >        windows_package 'Windows Management Framework Bits' do
> > -        source bits_4_package
> > -        checksum bits_4_checksum
> > +        source default['powershell']['bits_4']['url']
> > +        checksum default['powershell']['bits_4']['checksum']
>
> Doing this as node, not default gets me the error "undefined method
> `default' for Chef::Resource::WindowsPackage"
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/chef-windows/powershell/pull/12/files#r15823857>.
>