-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.pp
91 lines (82 loc) · 2.86 KB
/
site.pp
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
node 'mo3' {
class { 'epel':}
class { 'imars-processing': }
include cpan
}
#node 'seashell.marine.usf.edu' {
# class {'imars':}
#}
node 'seastar.marine.usf.edu' {
class { 'epel':}
class {'pyhdf':}
package{'python-matplotlib':
ensure => 'present',
}
package{'gdal':
ensure => 'present',
}
package{'gdal-devel':
ensure => 'present',
}
package{'gdal-python':
ensure => 'present',
}
python::pip { 'pypng':
pkgname => 'pypng',
}
package{'h5py':
ensure => 'present',
}
}
node 'carbon.marine.usf.edu' {
class { 'epel':}
class {'pyhdf':}
package{'python-matplotlib':
ensure => 'present',
}
package{'gdal':
ensure => 'present',
}
package{'gdal-devel':
ensure => 'present',
}
package{'gdal-python':
ensure => 'present',
}
python::pip { 'pypng':
pkgname => 'pypng',
}
package{'h5py':
ensure => 'present',
}
package{'hdf5':
ensure => 'present',
}
}
node 'yin.marine.usf.edu' {
class { 'nfs::server':
nfs_v4 => true,
nfs_v4_idmap_domain => 'yinmaster',
nfs_v4_export_root => '/yin',
nfs_v4_export_root_clients =>
'192.168.1.0/24(rw,insecure,sync,no_subtree_check,insecure_locks,no_root_squash)'
}
nfs::server::export{ '/homes':
ensure => 'mounted',
tag => 'homes',
clients => '131.247.136.0/22(rw,insecure,sync,no_subtree_check,insecure_locks,no_root_squash)'
}
}
# By default, mounts are mounted in the same folder on the clients as
# they were exported from on the server
node 'seashell.marine.usf.edu' {
class { 'nfs::server':
nfs_v4 => true,
# nfs_v4_export_root_clients =>
# '/yin 131.247.136.0/22(rw,fsid=root,insecure,no_subtree_check,async,no_root_squash)'
}
Nfs::Client::Mount <<| |>> {
ensure => 'mounted',
mount => '/home1',
}
}