aboutsummaryrefslogtreecommitdiff
path: root/templates/configure_active_directory.erb
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2016-07-01 11:54:59 -0400
committerGitHub <noreply@github.com>2016-07-01 11:54:59 -0400
commit660ef675107a60de16c6daeaccce6731a5139658 (patch)
treed30beae0e85f8100ad36f3f126fb6d7626c352d8 /templates/configure_active_directory.erb
parent3ffd1bcbc1d203ad814038483cd49d332bbb7618 (diff)
parent22c8f66ffaee96ab61465331d0d14636e5312ae6 (diff)
downloadpuppet-samba-660ef675107a60de16c6daeaccce6731a5139658.tar.gz
puppet-samba-660ef675107a60de16c6daeaccce6731a5139658.tar.bz2
Merge pull request #61 from toelke/master
Add parameter to disable automatic join of domain
Diffstat (limited to 'templates/configure_active_directory.erb')
-rw-r--r--templates/configure_active_directory.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/configure_active_directory.erb b/templates/configure_active_directory.erb
index 4f9b6e0..1e74560 100644
--- a/templates/configure_active_directory.erb
+++ b/templates/configure_active_directory.erb
@@ -57,7 +57,7 @@ done
password='<%= scope.lookupvar('samba::server::ads::winbind_pass') -%>'
# short hostname from facter
-my_hostname="<%= hostname -%>"
+my_hostname="<%= @hostname -%>"
# what account do we use for net ads commands?
winbind_acct="<%= scope.lookupvar('samba::server::ads::winbind_acct') -%>"