<commit_before>#!/bin/sh
PE_VERSION=2017.3.0
PE_SOURCE=puppet-enterprise-${PE_VERSION}-el-7-x86_64
DOWNLOAD_URL=https://s3.amazonaws.com/pe-builds/released/${PE_VERSION}/${PE_SOURCE}.tar.gz
wget --progress=bar ${DOWNLOAD_URL}
wait
tar zxf ${PE_SOURCE}.tar.gz<commit_msg>Update download_pe.sh<commit_after>#!/bin/sh

#Download PE, change version here
PE_VERSION=2017.3.1
PE_SOURCE=puppet-enterprise-${PE_VERSION}-ubuntu-16.04-amd64
DOWNLOAD_URL=https://s3.amazonaws.com/pe-builds/released/${PE_VERSION}/${PE_SOURCE}.tar.gz
wget --progress=bar ${DOWNLOAD_URL}
wait
tar zxf ${PE_SOURCE}.tar.gz
wait

#Setup password for the Web GUI and change the hostname to yours
cd ${PE_SOURCE}
echo '{' > pe.conf
echo '  "console_admin_password": "",' >> pe.conf
echo '  "puppet_enterprise::puppet_master_host": "",' >> pe.conf
echo '}' >> pe.conf
vim pe.conf



{'fraction_non_alphanumeric': 0.16784869976359337, 'fraction_numerical': 0.02955082742316785, 'mean_word_length': 5.722222222222222, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7112823', 'n_tokens_mistral': 344, 'n_tokens_neox': 326, 'n_words': 54}