summaryrefslogtreecommitdiffstats
path: root/modules/base/manifests/users.pp
blob: b6df04d02226d941e088d4653d2a8c1c8603393a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
class base::users {
  base::user { 'root':
    pwhash => secret::value('passwd/root');
  }

  base::user { $::default_user:
    pwhash => secret::value("passwd/$default_user"),
    extra_groups => ['wheel', 'video', 'audio'],
    homedir_mode => '0701';
  }

  Base::User[$::default_user] -> Package::Makepkg<| build_user == $::default_user |>
}