<commit_before># == Class: <%= metadata.name %>
#
# Full description of class <%= metadata.name %> here.
#
# === Parameters
#
# [*sample_parameter*]
#   Explanation of what this parameter affects and what it defaults to.
#
class <%= metadata.name %> (
  $package_name = $::<%= metadata.name %>::params::package_name,
  $service_name = $::<%= metadata.name %>::params::service_name,
) inherits ::<%= metadata.name %>::params {

  # validate parameters here

  class { '::<%= metadata.name %>::install': } ->
  class { '::<%= metadata.name %>::config': } ~>
  class { '::<%= metadata.name %>::service': } ->
  Class['::<%= metadata.name %>']
}<commit_msg>make init.pp based on role or profiles<commit_after># == Class: <%= metadata.name %>
#
# Full description of class <%= metadata.name %> here.
#
# === Parameters
#
# [*sample_parameter*]
#   Explanation of what this parameter affects and what it defaults to.
#
class <%= metadata.name %>
<% if metadata.name.start_with?('role_') %>
{
  # a role includes one or more profiles and at least a 'base' profile
  include profile_base
<% elsif metadata.name.start_with?('profile_') %>
  <% if metadata.name.start_with?('profile_base') %>
{
    include ntp
  <% else %>
{
  # a profile class includes one or more classes, please include below
  <% end %>
<% else %>(
  $package_name = $::<%= metadata.name %>::params::package_name,
  $service_name = $::<%= metadata.name %>::params::service_name,
) inherits ::<%= metadata.name %>::params {

  # validate parameters here

  class { '::<%= metadata.name %>::install': } ->
  class { '::<%= metadata.name %>::config': } ~>
  class { '::<%= metadata.name %>::service': } ->
  Class['::<%= metadata.name %>']
<% end %>
}
{'fraction_non_alphanumeric': 0.21169590643274855, 'fraction_numerical': 0.0, 'mean_word_length': 4.346875, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 36, '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': '4867711', 'n_tokens_mistral': 579, 'n_tokens_neox': 535, 'n_words': 138}