<commit_before>---
dsl_version: 1.0.0
module: rich/simple
keywords: DTK-2554
description: Tests for DTK-2554
license: Apache 2.0

dependencies:
- aws/ec2

assemblies:
  simple:
    nodes:
      n1:
        attributes:
          image: amazon_hvm
          size: small
        components:
        - simple::hostname:
            attributes:
              hostname: host1
    workflows:
      create:
        subtasks:
        - name: set hostname
          components:
          - simple::hostname
providers:
  puppet:
    include: deploy/puppet

components:
  hostname:
    attributes:
      hostname:
        type: string
        required: true
    actions:
      create:
        puppet_class: simple::hostname

  dtk_hostname:
    description: Use dtk node name as host name<commit_msg>Updated example that includes porject repo content<commit_after>---
dsl_version: 1.0.0
module: rich/simple
keywords: DTK-2554
description: Tests for DTK-2554
license: Apache 2.0

dependencies:
- aws/ec2

assemblies:
  simple:
    nodes:
      n1:
        attributes:
          image: amazon_hvm
          size: small
        components:
        - simple::hostname:
            attributes:
              hostname: host1
    workflows:
      create:
        subtasks:
        - name: set hostname
          components:
          - simple::hostname
providers:
  puppet:
    content: 
    - from: deploy/puppet
      to: /etc/puppet/modules/rich
      # For Puppet 'to:' can be omitted and default would be /etc/puppet/modules/<MODULENAME>

components:
  hostname:
    attributes:
      hostname:
        type: string
        required: true
    actions:
      create:
        puppet_class: simple::hostname

  dtk_hostname:
    description: Use dtk node name as host name
{'fraction_non_alphanumeric': 0.07806267806267807, 'fraction_numerical': 0.018233618233618232, 'mean_word_length': 1.9712351945854485, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4217737', 'n_tokens_mistral': 551, 'n_tokens_neox': 542, 'n_words': 145}