blob: af9092abb1177eac35fe99630272e5cdf59ae4ea (
plain)
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
|
# Common utilities
class nodo::utils inherits nodo::utils::base {
package { [ 'vim-nox' ]:
ensure => installed,
}
# Might be defined elsewhere
if !defined(Package['wget']) {
package { 'wget':
ensure => installed,
}
}
# To be considered
#package { 'needrestart':
# ensure => present,
#}
if !defined(Package['git']) {
package { 'git':
ensure => latest,
}
}
# Editor alternative
file { "/etc/alternatives/editor":
ensure => "/usr/bin/vi",
owner => root,
group => root,
}
}
|