Skip to content

Commit

Permalink
fix path to kickstart binary
Browse files Browse the repository at this point in the history
  • Loading branch information
wireframe committed Jan 10, 2014
1 parent 32e2615 commit f7c29b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion attributes/enable_remote_desktop.rb
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node.default['osxdefaults']['remote_desktop'] = "-activate -configure -access -on -restart -agent -privs -all -allowAccessFor -specifiedUsers -users garageadmin"
node.default['osxdefaults']['remote_desktop_path'] = "/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart"
node.default['osxdefaults']['remote_desktop_config'] = "-activate -configure -access -on -restart -agent -privs -all -allowAccessFor -specifiedUsers -users garageadmin"
2 changes: 1 addition & 1 deletion recipes/enable_remote_desktop.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
execute "enable Remote Desktop" do
command "kickstart #{node['osxdefaults']['remote_desktop_command']}"
command "sudo #{node['osxdefaults']['remote_desktop_path']} #{node['osxdefaults']['remote_desktop_config']}"
end

0 comments on commit f7c29b7

Please sign in to comment.