<commit_before>package main

import "github.com/dynport/urknall"

type ElasticSearch struct {
	Version     string `urknall:"required=true"`
	ClusterName string `urknall:"default=elasticsearch"`
	DataPath    string `urknall:"default=/data/elasticsearch"`

	// optional
	SyslogHost     string
	DiscoveryHosts string
	LogPath        string
	NodeName       string
}

func (p *ElasticSearch) Render(r urknall.Package) {
	r.AddCommands("packages",
		InstallPackages("openjdk-7-jdk"),<commit_msg>rename packages to java7 for es<commit_after>package main

import "github.com/dynport/urknall"

type ElasticSearch struct {
	Version     string `urknall:"required=true"`
	ClusterName string `urknall:"default=elasticsearch"`
	DataPath    string `urknall:"default=/data/elasticsearch"`

	// optional
	SyslogHost     string
	DiscoveryHosts string
	LogPath        string
	NodeName       string
}

func (p *ElasticSearch) Render(r urknall.Package) {
	r.AddCommands("java7",
		InstallPackages("openjdk-7-jdk"),
{'fraction_non_alphanumeric': 0.1027190332326284, 'fraction_numerical': 0.004028197381671702, 'mean_word_length': 4.6477272727272725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7222410', 'n_tokens_mistral': 322, 'n_tokens_neox': 324, 'n_words': 68}