This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
2016-11-28 14:55:23 +01:00
|
|
|
# == Private class: root::config
|
2016-11-28 11:01:55 +01:00
|
|
|
#
|
2016-11-28 14:55:23 +01:00
|
|
|
class root::config {
|
2016-11-28 11:01:55 +01:00
|
|
|
|
|
|
|
File {
|
|
|
|
owner => root,
|
|
|
|
group => root,
|
|
|
|
mode => 600,
|
|
|
|
}
|
|
|
|
|
2016-11-28 18:52:17 +01:00
|
|
|
# Preferences files
|
2016-11-28 11:01:55 +01:00
|
|
|
file { $root::profile_path:
|
|
|
|
ensure => present,
|
|
|
|
content => template($root::profile_content),
|
|
|
|
}
|
|
|
|
|
|
|
|
file { $root::bashrc_path:
|
|
|
|
ensure => present,
|
|
|
|
content => template($root::bashrc_content),
|
|
|
|
}
|
|
|
|
|
2016-11-28 18:52:17 +01:00
|
|
|
# Shell
|
|
|
|
user { 'root':
|
2016-11-28 19:02:08 +01:00
|
|
|
shell => "${root::default_shell_path}",
|
2016-11-28 18:52:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-11-28 14:55:23 +01:00
|
|
|
} # Private class: root::config
|