Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/manifests/user.pp

Issue 29606577: #4804 - Introduce $adblockplus::user::shell parameter (Closed)
Patch Set: Created Nov. 13, 2017, 3:01 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/user.pp
diff --git a/modules/adblockplus/manifests/user.pp b/modules/adblockplus/manifests/user.pp
index 17ac3cbe8405c9d06d2d769ad4d696b5227fc4c8..de53284c5eb02302e7a4e6c9f9b3ba322a916831 100644
--- a/modules/adblockplus/manifests/user.pp
+++ b/modules/adblockplus/manifests/user.pp
@@ -19,6 +19,9 @@
# won't change the current one, if any. Use "*" to disable the user's
# password explicitly.
#
+# [*shell*]
+# The path to the user's login shell.
+#
# === Examples:
#
# adblockplus::user {'pinocchio':
@@ -28,6 +31,7 @@
# ],
# groups => ['sudo', 'adm'],
# password_hash => '$6$k.fe9F4U$OIav.SJ..................',
+# shell => '/bin/ksh',
# }
#
define adblockplus::user (
@@ -35,6 +39,7 @@ define adblockplus::user (
$ensure = 'present',
$groups = [],
$password_hash = undef,
+ $shell = '/bin/bash',
) {
include adblockplus
@@ -48,7 +53,7 @@ define adblockplus::user (
home => $home,
managehome => true,
password => $password_hash,
- shell => '/bin/bash',
+ shell => $shell,
}
file {"$home/.ssh":
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld