Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nodes.pp
- node 'Nodenamehere' {
- realize(User::Virtual[spartacus])
- }
- ./modules/user/manifests/virtual.pp
- class user::virtual {
- @user { "spartacus":
- ensure => present,
- uid => 6300,
- gid => "100",
- comment => "I am SPARTACUS",
- home => "/home/spartacus",
- shell => "/bin/bash",
- managehome => "true",
- password => '$apr1$YgQSDEV1$tQYq1aWB0ewyrjBM9MxiH1',
- }
- /modules/user/manifests/init.pp
- class user {
- include user::virtual, user::unixadmins, user::terms, user::terms, user::customercare, user::sec, user::monitoring, user::tools, user::dba
- }
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement