aboutsummaryrefslogtreecommitdiff
path: root/templates/configure_active_directory.erb
diff options
context:
space:
mode:
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') -%>"