Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Added snmpd recipe, very basic .conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Cunnie committed Aug 21, 2012
1 parent 7f629ce commit 24042a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/default/snmpd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# A very basic snmpd.conf for OS X
rocommunity public
sysservices 76
1 change: 1 addition & 0 deletions recipes/meta_pivotal_specifics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
include_recipe "pivotal_workstation::default_editor"
include_recipe "pivotal_workstation::rename_machine"
include_recipe "pivotal_workstation::input_on_login"
include_recipe "pivotal_workstation::snmpd"
include_recipe "pivotal_workstation::menubar_preferences"
include_recipe "pivotal_workstation::keyboard_preferences"
6 changes: 6 additions & 0 deletions recipes/snmpd.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cookbook_file "/etc/snmp/snmpd.conf" do
source "snmpd.conf"
mode "0644"
end

execute "launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist"

0 comments on commit 24042a4

Please sign in to comment.