Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

adding node['privateaddress'] to my recipes is doing nothing #5

Open
r3k2 opened this issue Jul 11, 2018 · 0 comments
Open

adding node['privateaddress'] to my recipes is doing nothing #5

r3k2 opened this issue Jul 11, 2018 · 0 comments

Comments

@r3k2
Copy link

r3k2 commented Jul 11, 2018

Hello @meatballhat @sax

include_recipe 'ipaddr_extensions'

privip = node['privateaddress']

log "#{privip}" do
    message "#{privip}"
    level :info
end

result:

* log[] action write

Info:

chef-client --version
Chef: 14.2.0

[ blackarch chef-repo ]$ knife --version
Chef: 14.2.0

oh almost forgot, and yes I do write depend to the metadata.json file on your cookbook.
and of course I add it to the run list for the node

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant