<commit_before>server_packages = %w{mosquitto}

server_packages.each do |pkg|
  package pkg
end

template "/etc/mosquitto/mosquitto.conf" do
  source "mosquitto.conf.erb"

  mode 0640
end

service 'mosquitto' do
  # provider service_provider
  service_name 'mosquitto'

  supports :restart => true

  action [:enable, :start]

  subscribes :restart, "/etc/mosquitto/mosquitto.conf", :immediately
end<commit_msg>By default, do nothing with the service<commit_after>server_packages = %w{mosquitto}

server_packages.each do |pkg|
  package pkg
end

template "/etc/mosquitto/mosquitto.conf" do
  source "mosquitto.conf.erb"

  mode 0640

  notifies :restart, "service[mosquitto]"
end

service 'mosquitto' do
  # provider service_provider
  service_name 'mosquitto'

  supports restart: true, status: true, reload: true

  action :nothing
end
{'fraction_non_alphanumeric': 0.0967741935483871, 'fraction_numerical': 0.009557945041816009, 'mean_word_length': 4.819444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4180561', 'n_tokens_mistral': 322, 'n_tokens_neox': 288, 'n_words': 75}