Skip to content

Commit

Permalink
Merge pull request #4 from evan2645/node-save-is-evil
Browse files Browse the repository at this point in the history
Don't use node.save in OSSEC recipes
  • Loading branch information
evan2645 committed Oct 9, 2013
2 parents dc9e797 + 5d7ed97 commit d949ed7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions recipes/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
node.set['ossec']['user']['install_type'] = "agent"
node.set['ossec']['user']['agent_server_ip'] = ossec_server.first

node.save

include_recipe "ossec"

dbag_name = node["ossec"]["data_bag"]["name"]
Expand Down
2 changes: 0 additions & 2 deletions recipes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
node.set['ossec']['user']['install_type'] = "server"
node.set['ossec']['server']['maxagents'] = 1024

node.save

include_recipe "ossec"

agent_manager = "#{node['ossec']['user']['dir']}/bin/ossec-batch-manager.pl"
Expand Down

0 comments on commit d949ed7

Please sign in to comment.