Update hostsfile and add zerotier cookbook
This commit is contained in:
15
cookbooks/zerotier/recipes/ohai_plugin.rb
Normal file
15
cookbooks/zerotier/recipes/ohai_plugin.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Cookbook:: zerotier
|
||||
# Recipe:: ohai_plugin
|
||||
#
|
||||
# Copyright:: 2017, ZeroTier, Inc., All Rights Reserved.
|
||||
|
||||
ohai_plugin 'zerotier_ohai' do
|
||||
compile_time false
|
||||
resource :template
|
||||
variables ({
|
||||
:zerotier_binary => node['zerotier']['binary'],
|
||||
:control_port => node['zerotier']['control_port'],
|
||||
:data_dir => node['zerotier']['data_dir']
|
||||
})
|
||||
end
|
||||
Reference in New Issue
Block a user