dayglojesus / managedmac

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

activedirectory.pp enable => false requires hostname, username and password to be set #12

Closed dayglojesus closed 10 years ago

dayglojesus commented 10 years ago

When you want to remove an the AD config completely and set:

managedmac::activedirectory::enable: false

If you do not include one of the supporting parameters:

managedmac::activedirectory::hostname: apple.ad.com

Or another, like username or password.

You receive an error:

Error: /Stage[main]/Managedmac::Activedirectory/Mobileconfig[managedmac.activedirectory.alacarte]: Could not evaluate: undefined method `[]' for nil:NilClass
dayglojesus commented 10 years ago

fixed in 0.4.4