1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# File 'manifests/solaris/files.pp', line 1
class sys::solaris::files {
# These are essential networking and other configuration
# files necessary for a functioning solaris host.
file { '/etc/auto_home':
ensure => file,
mode => '0644',
owner => 'root',
group => 'bin',
}
file { '/etc/inet/hosts':
ensure => file,
mode => '0644',
owner => 'root',
group => 'sys',
content => template('sys/solaris/hosts.erb'),
}
file { '/etc/hosts':
ensure => link,
target => './inet/hosts',
owner => 'root',
group => 'root',
}
}
|