summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index bdc3227..6a125b8 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -38,7 +38,10 @@ define user::define_user(
ensure => present,
gid => $gid,
home => $real_home_dir,
- shell => "/bin/bash",
+ shell => $operatingsystem ? {
+ openbsd => "/usr/local/bin/bash",
+ default => "/bin/bash",
+ }
uid => $uid
}