summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-01-02 21:58:23 +0000
committermh <mh@immerda.ch>2008-01-02 21:58:23 +0000
commit4fcb81225aded3378b63bb6ef3f2acda81733714 (patch)
treea189c4334b7cd7f24f58f912088f229c62a88f5a
parent3998b2441561a276c78c73ae80604c2f8e4a2ba8 (diff)
fixed userpath
-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
}