dayglojesus / managedmac

Comprehensive Puppet module for OS X.
http://dayglojesus.github.io/managedmac/
Apache License 2.0
62 stars 21 forks source link

Issues with El Capitan rootless #96

Closed gregordickie closed 8 years ago

gregordickie commented 8 years ago

Hi, we are getting 'Operation not permitted' errors on El Capitan when enabling ssh and screen sharing:

Error: Could not set 'true' on enable: Operation not permitted - /System/Library/LaunchDaemons/ssh.plist at 158:/etc/puppet/modules/managedmac/manifests/sshd.pp Error: Could not set 'true' on enable: Operation not permitted - /System/Library/LaunchDaemons/ssh.plist at 158:/etc/puppet/modules/managedmac/manifests/sshd.pp Wrapped exception: Operation not permitted - /System/Library/LaunchDaemons/ssh.plist Error: /Stage[main]/Managedmac::Sshd/Service[com.openssh.sshd]/enable: change from false to true failed: Could not set 'true' on enable: Operation not permitted - /System/Library/LaunchDaemons/ssh.plist at 158:/etc/puppet/modules/managedmac/manifests/sshd.pp

and Error: Could not set 'true' on enable: Operation not permitted - /System/Library/LaunchDaemons/com.apple.screensharing.plist at 116:/etc/puppet/modules/managedmac/manifests/screensharing.pp Error: Could not set 'true' on enable: Operation not permitted - /System/Library/LaunchDaemons/com.apple.screensharing.plist at 116:/etc/puppet/modules/managedmac/manifests/screensharing.pp Wrapped exception: Operation not permitted - /System/Library/LaunchDaemons/com.apple.screensharing.plist Error: /Stage[main]/Managedmac::Screensharing/Service[com.apple.screensharing]/enable: change from false to true failed: Could not set 'true' on enable: Operation not permitted - /System/Library/LaunchDaemons/com.apple.screensharing.plist at 116:/etc/puppet/modules/managedmac/manifests/screensharing.pp

any ideas?

dayglojesus commented 8 years ago

Which Puppet version?

gregordickie commented 8 years ago

Sorry, I guess that's important. Server 3.8.6, client 3.8.1... oops, just tried client 3.8.6 and it works.

sorry for the noise.

Greg