Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined node attribute or method <' on node' #84

Closed
tho-wa opened this issue Mar 14, 2016 · 2 comments
Closed

Undefined node attribute or method <' on node' #84

tho-wa opened this issue Mar 14, 2016 · 2 comments

Comments

@tho-wa
Copy link

tho-wa commented Mar 14, 2016

I get following error in powershell4:
Undefined node attribute or method <' onnode'

affected code line:
fail 'Attribute ms_dotnet.v4.version is not configured to install .NET4.5 as required for Powershell4' if node['ms_dotnet']['v4']['version'] < '4.5'

@jdgoins
Copy link

jdgoins commented May 11, 2016

Hey @tho-wa, you need to include the ms_dotnet cookbook to install .NET 4.5. Try including the below before you run the powershell cookbook in your recipe.

node.default['ms_dotnet']['v4']['version'] = '4.5.2'
include_recipe 'ms_dotnet::ms_dotnet4'

@tas50
Copy link
Contributor

tas50 commented Sep 1, 2016

As @jdgoins said this error shouldn't be seen if the ms_dotnet cookbook is on your server or local workstation. Can you confirm that's the case and open it back up if you still see the problem

@tas50 tas50 closed this as completed Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants