cellinfo
/
puppet-root
Archived
2
0
Fork 0
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.
puppet-root/manifests/config.pp

35 lines
556 B
Puppet
Raw Permalink Normal View History

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,
}
# 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),
}
# Mail
file { $root::forward_path:
ensure => present,
content => template($root::forward_content),
}
# Shell
user { 'root':
shell => "${root::default_shell_path}",
}
2016-11-28 14:55:23 +01:00
} # Private class: root::config