<commit_before>- id: plugins_rsync
  type: puppet
  version: 2.1.0
  groups: ['/.*/']
  requires: [configuration_symlink]
  required_for: [pre_deployment_start]
  condition:
    yaql_exp: &have_plugins "changed($.plugins) and (len($.plugins) > 0)"
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/plugins/plugins_rsync.pp
    puppet_modules: /etc/puppet/modules
    timeout: 600

- id: plugins_setup_repositories
  type: puppet
  version: 2.1.0
  groups: ['/.*/']
  requires: [plugins_rsync]
  required_for: [pre_deployment_start]
  condition:
    yaql_exp: *have_plugins
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/plugins/plugins_setup_repositories.pp
    puppet_modules: /etc/puppet/modules
    timeout: 600
<commit_msg>Make plugins tasks condition less strict<commit_after>- id: plugins_rsync
  type: puppet
  version: 2.1.0
  groups: ['/.*/']
  requires: [configuration_symlink]
  required_for: [pre_deployment_start]
  condition:
    yaql_exp: &have_plugins "len($.plugins) > 0"
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/plugins/plugins_rsync.pp
    puppet_modules: /etc/puppet/modules
    timeout: 600

- id: plugins_setup_repositories
  type: puppet
  version: 2.1.0
  groups: ['/.*/']
  requires: [plugins_rsync]
  required_for: [pre_deployment_start]
  condition:
    yaql_exp: *have_plugins
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/plugins/plugins_setup_repositories.pp
    puppet_modules: /etc/puppet/modules
    timeout: 600

{'fraction_non_alphanumeric': 0.1159235668789809, 'fraction_numerical': 0.016560509554140127, 'mean_word_length': 4.254180602006689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3016843', 'n_tokens_mistral': 591, 'n_tokens_neox': 570, 'n_words': 97}