Skip to content
Snippets Groups Projects

Devel

Merged Klas Arvidsson requested to merge devel into production
2 files
+ 29
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 28
0
class aes::autocorr {
$autocorr_user = autocorr
$autocorr_group = $autocorr_user
$autocorr_home = "/home/${autocorr_user}"
user { 'autocorr' :
ensure => present,
managehome => false,
membership => inclusive,
system => true,
shell => '/sbin/nologin',
}
file { $autocorr_home:
ensure => directory,
mode => '0755',
owner => $autocorr_user,
group => $autocorr_group,
}
file { "${autocorr_home}/.ssh":
ensure => directory,
mode => '0700',
owner => $autocorr_user,
group => $autocorr_group,
}
}
Loading