1 2 3 4 5 6 7
class samba { include samba::server if samba::server::security == 'ads' { include samba::server::ads } }