Added explicit management of the rhizomatica user
Changed the default password
This commit is contained in:
parent
2ac8aea1aa
commit
df8029fd97
2 changed files with 22 additions and 0 deletions
|
@ -111,6 +111,7 @@ class rhizo_base {
|
||||||
include rhizo_base::openbsc
|
include rhizo_base::openbsc
|
||||||
include rhizo_base::lcr
|
include rhizo_base::lcr
|
||||||
include rhizo_base::sudo
|
include rhizo_base::sudo
|
||||||
|
include rhizo_base::users
|
||||||
|
|
||||||
|
|
||||||
#Rizhomatica scripts
|
#Rizhomatica scripts
|
||||||
|
|
21
modules/rhizo_base/manifests/users.pp
Normal file
21
modules/rhizo_base/manifests/users.pp
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Class: rhizo_base::users
|
||||||
|
#
|
||||||
|
# This module manages the users on the BSCs.
|
||||||
|
#
|
||||||
|
# Parameters: none
|
||||||
|
#
|
||||||
|
# Actions:
|
||||||
|
#
|
||||||
|
# Requires: see Modulefile
|
||||||
|
#
|
||||||
|
# Sample Usage:
|
||||||
|
#
|
||||||
|
class rhizo_base::users {
|
||||||
|
user { 'rhizomatica':
|
||||||
|
ensure => present,
|
||||||
|
gid => 'rhizomatica',
|
||||||
|
home => '/home/rhizomatica',
|
||||||
|
password => '$6$rmdUFkJn$iR5BJ1RLrXmUVlXl7cwgcmB/HnGbXuyh.s9.JgTM1QFemtqBpICvi3iR9v2K2mZgGsqm1dOiwgpfFUnTKH/Zn0',
|
||||||
|
uid => '1000',
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue