Skip to content

Commit

Permalink
Merge pull request #8 from thegarage/master
Browse files Browse the repository at this point in the history
Enable remote desktop services
  • Loading branch information
Roderik van der Veer committed Jan 14, 2014
2 parents 876af50 + 3129ec4 commit c819e2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions attributes/enable_remote_desktop.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
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 -allUsers"
3 changes: 3 additions & 0 deletions recipes/enable_remote_desktop.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
execute "enable Remote Desktop" do
command "sudo #{node['osxdefaults']['remote_desktop_path']} #{node['osxdefaults']['remote_desktop_config']}"
end

0 comments on commit c819e2c

Please sign in to comment.