50 lines
1.3 KiB
Puppet
50 lines
1.3 KiB
Puppet
# == Class: root
|
||
#
|
||
# Define some root's preferences
|
||
#
|
||
# === Parameters
|
||
#
|
||
# Document parameters here.
|
||
#
|
||
# [*sample_parameter*]
|
||
# Explanation of what this parameter affects and what it defaults to.
|
||
# e.g. "Specify one or more upstream ntp servers as an array."
|
||
#
|
||
# === Variables
|
||
#
|
||
# Here you should define a list of variables that this module would require.
|
||
#
|
||
# [*sample_variable*]
|
||
# Explanation of how this variable affects the funtion of this class and if
|
||
# it has a default. e.g. "The parameter enc_ntp_servers must be set by the
|
||
# External Node Classifier as a comma separated list of hostnames." (Note,
|
||
# global variables should be avoided in favor of class parameters as
|
||
# of Puppet 2.6.)
|
||
#
|
||
# === Examples
|
||
#
|
||
# class { 'root':
|
||
# servers => [ 'pool.ntp.org', 'ntp.local.company.com' ],
|
||
# }
|
||
#
|
||
# === Authors
|
||
#
|
||
# Author Name <author@domain.com>
|
||
#
|
||
# === Copyright
|
||
#
|
||
# Copyright 2016 Your name here, unless otherwise noted.
|
||
#
|
||
class root (
|
||
$profile_path = $root::params::profile_path,
|
||
$profile_content = $root::params::profile_content,
|
||
$bashrc_path = $root::params::bashrc_path,
|
||
$bashrc_content = $root::params::bashrc_content,
|
||
$bashrc_content = $root::params::bashrc_content,
|
||
$ip_zsh = $root::params::ip_zsh,
|
||
) inherits root::params {
|
||
|
||
include '::root::config'
|
||
|
||
} # public class : root
|