<commit_before># WARNING: This file maintained by Puppet.
# Editing is no use unless you avoid running the Puppet agent

GRUB_DEFAULT=<%= @default_entry %>
GRUB_TIMEOUT=<%= @timeout %>
<% if @hidden_timeout != nil -%>
GRUB_HIDDEN_TIMEOUT=<%= @hidden_timeout %>
<% end -%>
<% if @hidden_timeout_quiet != nil -%>
GRUB_HIDDEN_TIMEOUT_QUIET="<%= @hidden_timeout_quiet %>"
<% end -%>
GRUB_DISTRIBUTOR=<%= @distributor %>
<% if !@cmdline_linux_default.empty? -%>
GRUB_CMDLINE_LINUX_DEFAULT="<%= @cmdline_linux_default %>"
<% else %>GRUB_CMDLINE_LINUX_DEFAULT="quiet"
<% end -%>
<% if !@cmdline_linux.empty? -%>
GRUB_CMDLINE_LINUX="<%= @cmdline_linux %>"
<% else %>GRUB_CMDLINE_LINUX=""
<% end -%>
<% if @recordfail_timeout != nil -%>
GRUB_RECORDFAIL_TIMEOUT="<%= @recordfail_timeout %>"
<% end -%>

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
<% if !@badram.empty? -%>
GRUB_BADRAM="<%= @badram %>"
<% else %>#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
<% end -%>

# Uncomment to disable graphical terminal (grub-pc only)
<% if !@terminal.empty? -%>
GRUB_TERMINAL="<%= @terminal %>"
<% else %>#GRUB_TERMINAL="console"
<% end -%>
<% if !@serial_command.empty? -%>
GRUB_SERIAL_COMMAND="<%= @serial_command %>"
<% end -%>

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
<% if !@gfxmode.empty? -%>
GRUB_GFXMODE=<%= @gfxmode %>
<% else %>#GRUB_GFXMODE=640x480
<% end -%>

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
<% if @disable_uuid -%>
GRUB_DISABLE_LINUX_UUID="true"
<% else %>#GRUB_DISABLE_LINUX_UUID="true"
<% end -%>

# Uncomment to disable generation of recovery mode menu entries
<% if @disable_recovery -%>
GRUB_DISABLE_RECOVERY="true"
<% else %>#GRUB_DISABLE_RECOVERY="true"
<% end -%>

# Uncomment to disable generation of submenu
<% if @disable_submenu -%>
GRUB_DISABLE_SUBMENU="true"
<% else %>#GRUB_DISABLE_RECOVERY="true"
<% end -%>

# Uncomment to get a beep at grub start
<% if !@tune.empty? -%>
GRUB_INIT_TUNE="<%= @tune %>"
<% else %>#GRUB_INIT_TUNE="480 440 1"
<% end -%>

# Uncomment to set Xen boot parameters
<% if !@cmdline_xen.empty? -%>
GRUB_CMDLINE_XEN="<%= @cmdline_xen %>"
<% else %>#GRUB_CMDLINE_XEN="dom0_mem=1024M,max:1024M"
<% end -%><commit_msg>Only set GRUB_DEFAULT_RECOVERY if value passed in<commit_after># WARNING: This file maintained by Puppet.
# Editing is no use unless you avoid running the Puppet agent

GRUB_DEFAULT=<%= @default_entry %>
GRUB_TIMEOUT=<%= @timeout %>
<% if @hidden_timeout != nil -%>
GRUB_HIDDEN_TIMEOUT=<%= @hidden_timeout %>
<% end -%>
<% if @hidden_timeout_quiet != nil -%>
GRUB_HIDDEN_TIMEOUT_QUIET="<%= @hidden_timeout_quiet %>"
<% end -%>
GRUB_DISTRIBUTOR=<%= @distributor %>
<% if !@cmdline_linux_default.empty? -%>
GRUB_CMDLINE_LINUX_DEFAULT="<%= @cmdline_linux_default %>"
<% else %>GRUB_CMDLINE_LINUX_DEFAULT="quiet"
<% end -%>
<% if !@cmdline_linux.empty? -%>
GRUB_CMDLINE_LINUX="<%= @cmdline_linux %>"
<% else %>GRUB_CMDLINE_LINUX=""
<% end -%>
<% if @recordfail_timeout != nil -%>
GRUB_RECORDFAIL_TIMEOUT="<%= @recordfail_timeout %>"
<% end -%>

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
<% if !@badram.empty? -%>
GRUB_BADRAM="<%= @badram %>"
<% else %>#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
<% end -%>

# Uncomment to disable graphical terminal (grub-pc only)
<% if !@terminal.empty? -%>
GRUB_TERMINAL="<%= @terminal %>"
<% else %>#GRUB_TERMINAL="console"
<% end -%>
<% if !@serial_command.empty? -%>
GRUB_SERIAL_COMMAND="<%= @serial_command %>"
<% end -%>

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
<% if !@gfxmode.empty? -%>
GRUB_GFXMODE=<%= @gfxmode %>
<% else %>#GRUB_GFXMODE=640x480
<% end -%>

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
<% if @disable_uuid -%>
GRUB_DISABLE_LINUX_UUID="true"
<% else %>#GRUB_DISABLE_LINUX_UUID="true"
<% end -%>

<% if @disable_recovery -%>
GRUB_DISABLE_RECOVERY="true"
<% end -%>

<% if @disable_submenu -%>
GRUB_DISABLE_SUBMENU="true"
<% end -%>

# Uncomment to get a beep at grub start
<% if !@tune.empty? -%>
GRUB_INIT_TUNE="<%= @tune %>"
<% else %>#GRUB_INIT_TUNE="480 440 1"
<% end -%>

# Uncomment to set Xen boot parameters
<% if !@cmdline_xen.empty? -%>
GRUB_CMDLINE_XEN="<%= @cmdline_xen %>"
<% else %>#GRUB_CMDLINE_XEN="dom0_mem=1024M,max:1024M"
<% end -%>
{'fraction_non_alphanumeric': 0.1718142769482512, 'fraction_numerical': 0.014726938024135815, 'mean_word_length': 5.662125340599455, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4763929', 'n_tokens_mistral': 2077, 'n_tokens_neox': 1896, 'n_words': 445}