Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
John-Paul Robinson
puppet_users
Commits
f666e634
Commit
f666e634
authored
Sep 18, 2014
by
Mike Hanby
Browse files
Added new bme_ys2_users class for bme-ys2 workstation. Added new yhsong group
parent
2d5b134b
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/bme_ys2_users.pp
0 → 100644
View file @
f666e634
# Class: users::bme_ys2_users.pp
#
# This module manages users and groups for bme-ys2 workstations
#
# Parameters: none
#
# Actions:
#
# Requires: see Modulefile
#
# Sample Usage:
#
class
users::bme_ys2_users
inherits
users::virtual_users
{
User
[
"yhsong"
]
{
gid
=>
[
"yhsong"
],
groups
=>
[
"bme"
]
}
# Realize full time users of the workstations
realize
(
Group
[
"bme"
],
User
[
"yhsong"
],
Group
[
"yhsong"
]
)
}
manifests/virtual_groups.pp
View file @
f666e634
...
...
@@ -450,6 +450,10 @@ class users::virtual_groups
gid
=>
"1181"
,
ensure
=>
"present"
,
}
@
group
{
"yhsong"
:
gid
=>
"1201"
,
ensure
=>
"present"
,
}
@
group
{
"hwiener"
:
gid
=>
"2008"
,
ensure
=>
"present"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment