Closed groob closed 10 years ago
That YAML is valid and should compile. I tested it both on 10.9 and 10.10.
Have you updated to managedmac 0.5.1?
I narrowed it down. Turns out, the profile gets installed without errors the first time, however, if I modify a value, the error comes up during the next puppet run.
I changed
PlugInFirstVisitPolicy: 'PlugInPolicyAsk'
to
PlugInFirstVisitPolicy: 'PlugInPolicyAllowNoSecurityRestrictions'
Ugh. That's a bug. Sorry, I see the trouble now, I left more debugging statements in the type...
https://github.com/dayglojesus/managedmac/blob/master/lib/puppet/type/mobileconfig.rb#L80-L88
@groob can you try branch 0.5.2 and let me know if this addresses it?
Looks like it's fixed now :+1:
Notice: /Stage[main]/Managedmac::Mobileconfigs/Mobileconfig[com.apple.Safari]/content: content changed '-781926075691113702' to '4539757020169085239'
Thanks for testing. I will close this. :)
Fixed in 0.5.2.
Here's what I'm trying to accomplish:
Both the DomainsToNeverSetUp and ManagedPlugInPolicies keys result in an error: