blob: 2ca7250039d244f0d8f420260c00c72b0e63e381 (
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
|
# This configuration file was auto-generated by the Puppet configuration
# management system. Any changes you make to this file will be overwritten
# the next time Puppet runs. Please make configuration changes to this
# service in Puppet.
<% %w{parentdir packagesfile partitionsfile hardwarefile}.each do |v|
if send(v)
-%><%= v + ' = ' + send(v) + "\n" %><%
end
end -%>
when = everyday at <%= i = 0
total = 0
until i == hostname.length
total += (hostname[i] - 96) / (2.9 * (10 ** (i + 1)))
i += 1
end
(total*60).to_i -%>
packages = <%= packages ? 'yes' : 'no' %>
partitions = <%= partitions ? 'yes' : 'no' %>
dosfdisk = <%= dosfdisk ? 'yes' : 'no' %>
hardware = <%= hardware ? 'yes' : 'no' %>
dohwinfo = <%= dohwinfo ? 'yes' : 'no' %>
luksheaders = <%= doluks ? 'yes' : 'no' %>
lvm = <%= dolvm ? 'yes' : 'no' %>
|