Last active
September 16, 2016 05:01
-
-
Save dhollinger/d634065358fe97da19247219249b1990 to your computer and use it in GitHub Desktop.
Beaker config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
HOSTS: | |
centos7-64mdca: | |
roles: | |
- agent | |
- master | |
- database | |
- dashboard | |
pe_dir: /home/dhollinger/Downloads/ | |
pe_ver: 2016.2.1 | |
platform: el-7-x86_64 | |
hypervisor: vagrant | |
box: puppetlabs/centos-7.2-64-nocm | |
box_url: https://vagrantcloud.com/puppetlabs/boxes/centos-7.2-64-nocm | |
CONFIG: | |
nfs_server: none | |
consoleport: 443 | |
log_level: debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beaker --host centos7-64mdca.yaml --pre-suite setup/install.rb --test mytest.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_name "Installing Puppet Enterprise" | |
scp_to('centos7-64mdca', '/home/dhollinger/Downloads/puppet-enterprise-2016.2.1-el-7-x86_64.tar.gz', '/tmp/puppet-enterprise-installer.tar.gz') | |
install_pe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Begin setup/install.rb | |
Installing Puppet Enterprise | |
localhost $ scp /home/dhollinger/Downloads/puppet-enterprise-2016.2.1-el-7-x86_64.tar.gz centos7-64mdca:/tmp/puppet-enterprise-installer.tar.gz {:ignore => } | |
centos7-64mdca 23:55:37$ mktemp -dt 2016-09-15_23.55.37.XXXXXX | |
/tmp/2016-09-15_23.55.37.c1LIib | |
centos7-64mdca executed in 0.04 seconds | |
localhost $ scp /home/dhollinger/Downloads//puppet-enterprise-2016.2.1-el-7-x86_64.tar.gz centos7-64mdca:/tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64.tar.gz {:ignore => } | |
centos7-64mdca 23:55:41$ cd /tmp/2016-09-15_23.55.37.c1LIib; gunzip puppet-enterprise-2016.2.1-el-7-x86_64.tar.gz | |
centos7-64mdca executed in 2.21 seconds | |
centos7-64mdca 23:55:44$ cd /tmp/2016-09-15_23.55.37.c1LIib; tar -xvf puppet-enterprise-2016.2.1-el-7-x86_64.tar | |
puppet-enterprise-2016.2.1-el-7-x86_64/VERSION | |
puppet-enterprise-2016.2.1-el-7-x86_64/LICENSE.txt | |
puppet-enterprise-2016.2.1-el-7-x86_64/puppet-enterprise-installer | |
puppet-enterprise-2016.2.1-el-7-x86_64/puppet-enterprise-uninstaller | |
puppet-enterprise-2016.2.1-el-7-x86_64/README.markdown | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/bootstrap-metadata | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64-package-versions.json | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-activemq-5.13.2-2.pe.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-bundler-1.8.2-3.pe.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-client-tools-1.0.4.4.g9f88c4a-1.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-console-services-1.4.89-1.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-console-services-termini-1.4.89-1.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-installer-2016.1.0.47-1.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-java-1.8.0.101-1.b13.pe.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-license-0.1.5.13-1.pe.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-nginx-1.8.1-1.pe.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-orchestration-services-0.5.15-1.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-9.4.7-1.pe.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-contrib-9.4.7-1.pe.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-devel-9.4.7-1.pe.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-postgresql-server-9.4.7-1.pe.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-puppetdb-4.1.4-1.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-puppetdb-termini-4.1.4-1.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-puppet-enterprise-release-2016.2.1.0-1.pe.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-puppet-license-cli-0.1.7.24-1.pe.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-puppetserver-2016.2.1.0-1.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-r10k-2.3.0.1-1.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-razor-libs-1.0.1-9.pe.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/pe-razor-server-1.3.0.0-1.pe.el7.noarch.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/puppet-agent-1.5.3-1.el7.x86_64.rpm | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/ | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/15bdefe33fd89b0ac39bd6a4ed30f6fbed46d021-other.sqlite.bz2 | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/2b6ea56c149778c396148bccee00c78ea7a3784b-other.xml.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/6b0335a4c222cfa1f9e7c82757015a41357b47a3-filelists.sqlite.bz2 | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/7681e6568f4a1ec5f9f00f6d013286560c2d9606-filelists.xml.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/3f9a95803453bb76008b99c2f93d2bf12ef8249e-primary.sqlite.bz2 | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/f818243f99e80b95c5767b152334e885e08af102-primary.xml.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/repomd.xml | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/GPG-KEY-puppetlabs | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/install_modules.txt | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_accounts-2.0.2-6-gd2f698c.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_concat-1.1.2-7-g77ec55b.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_console_prune-0.1.1-9-gfc256c0.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_hocon-2016.2.0.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_inifile-2016.2.1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_install-2016.2.1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_java_ks-1.2.4-37-g2d86015.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_manager-2016.2.1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_nginx-2016.2.1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_postgresql-2016.2.0.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_puppet_authorization-2016.2.0-rc1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_r10k-2016.2.0.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_razor-1.0.0.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_repo-2016.2.1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_staging-2015.3.0.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_support_script-2016.2.1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-puppet_enterprise-2016.2.1.tar.gz | |
puppet-enterprise-2016.2.1-el-7-x86_64/conf.d/hiera.yaml | |
puppet-enterprise-2016.2.1-el-7-x86_64/conf.d/pe.conf | |
puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/repodata/repomd.xml.asc | |
centos7-64mdca executed in 0.55 seconds | |
* Generate the /tmp/2016-09-15_23.55.37.c1LIib/pe.conf on centos7-64mdca | |
{ | |
"puppet_enterprise::puppet_master_host": "centos7-64mdca", | |
"console_admin_password": "~!@#$%^*-/ aZ", | |
"puppet_enterprise::use_application_services": true | |
} | |
localhost $ scp /tmp/beaker20160915-23416-186z0yg centos7-64mdca:/tmp/2016-09-15_23.55.37.c1LIib/pe.conf {:ignore => } | |
centos7-64mdca 23:55:44$ cd /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64 && ./puppet-enterprise-installer -y -c /tmp/2016-09-15_23.55.37.c1LIib/pe.conf | |
/tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64 /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64 | |
============================================================= | |
Puppet Enterprise Installer | |
============================================================= | |
## We're installing the Puppet Agent... | |
2016-09-16 04:55:44,015 Running command: mkdir -p /opt/puppetlabs/server/data/packages/public/2016.2.1/el-7-x86_64-1.5.3 | |
2016-09-16 04:55:44,024 Running command: cp -r -L /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/packages/el-7-x86_64/* /opt/puppetlabs/server/data/packages/public/2016.2.1/el-7-x86_64-1.5.3 | |
2016-09-16 04:55:47,215 Running command: cp -r -L /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/packages/GPG-KEY-puppetlabs /opt/puppetlabs/server/data/packages/public | |
2016-09-16 04:55:47,227 Running command: mkdir -p /etc/yum.repos.d | |
2016-09-16 04:55:47,236 Running command: echo '[puppet_enterprise]' > /etc/yum.repos.d/puppet_enterprise.repo | |
2016-09-16 04:55:47,242 Running command: echo 'name=PuppetLabs PE Packages $releasever - $basearch' >> /etc/yum.repos.d/puppet_enterprise.repo | |
2016-09-16 04:55:47,247 Running command: echo 'baseurl=file:///opt/puppetlabs/server/data/packages/public/2016.2.1/el-7-x86_64-1.5.3' >> /etc/yum.repos.d/puppet_enterprise.repo | |
2016-09-16 04:55:47,251 Running command: echo 'enabled=1' >> /etc/yum.repos.d/puppet_enterprise.repo | |
2016-09-16 04:55:47,254 Running command: echo 'gpgcheck=1' >> /etc/yum.repos.d/puppet_enterprise.repo | |
2016-09-16 04:55:47,256 Running command: echo 'gpgkey=file:///opt/puppetlabs/server/data/packages/public/GPG-KEY-puppetlabs' >> /etc/yum.repos.d/puppet_enterprise.repo | |
2016-09-16 04:55:47,264 Running command: rpm --import /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/packages/GPG-KEY-puppetlabs | |
2016-09-16 04:55:47,328 Running command: yum clean all --disablerepo='*' --enablerepo=puppet_enterprise | |
Loaded plugins: fastestmirror | |
Cleaning repos: puppet_enterprise | |
Cleaning up everything | |
Cleaning up list of fastest mirrors | |
2016-09-16 04:55:47,549 Running command: yum install -y puppet-agent pe-bundler pe-installer | |
Loaded plugins: fastestmirror | |
Determining fastest mirrors | |
* base: mirror.tzulo.com | |
* extras: mirror.beyondhosting.net | |
* updates: mirror.nodeshosting.com | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package pe-bundler.noarch 0:1.8.2-3.pe.el7 will be installed | |
---> Package pe-installer.x86_64 0:2016.1.0.47-1.el7 will be installed | |
---> Package puppet-agent.x86_64 0:1.5.3-1.el7 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
================================================================================ | |
Package Arch Version Repository Size | |
================================================================================ | |
Installing: | |
pe-bundler noarch 1.8.2-3.pe.el7 puppet_enterprise 218 k | |
pe-installer x86_64 2016.1.0.47-1.el7 puppet_enterprise 3.7 M | |
puppet-agent x86_64 1.5.3-1.el7 puppet_enterprise 28 M | |
Transaction Summary | |
================================================================================ | |
Install 3 Packages | |
Total download size: 32 M | |
Installed size: 162 M | |
Downloading packages: | |
-------------------------------------------------------------------------------- | |
Total 537 MB/s | 32 MB 00:00 | |
Running transaction check | |
Running transaction test | |
Transaction test succeeded | |
Running transaction | |
Installing : puppet-agent-1.5.3-1.el7.x86_64 1/3 | |
Installing : pe-bundler-1.8.2-3.pe.el7.noarch 2/3 | |
Installing : pe-installer-2016.1.0.47-1.el7.x86_64 3/3 | |
Verifying : pe-installer-2016.1.0.47-1.el7.x86_64 1/3 | |
Verifying : puppet-agent-1.5.3-1.el7.x86_64 2/3 | |
Verifying : pe-bundler-1.8.2-3.pe.el7.noarch 3/3 | |
Installed: | |
pe-bundler.noarch 0:1.8.2-3.pe.el7 pe-installer.x86_64 0:2016.1.0.47-1.el7 | |
puppet-agent.x86_64 0:1.5.3-1.el7 | |
Complete! | |
## We're checking if /tmp/2016-09-15_23.55.37.c1LIib/pe.conf contains valid HOCON syntax... | |
2016-09-16 04:55:54,272 Running command: /opt/puppetlabs/puppet/bin/ruby -e "require 'hocon';;begin; conf = Hocon.load('/tmp/2016-09-15_23.55.37.c1LIib/pe.conf');rescue Hocon::ConfigError::ConfigParseError => e; puts %Q{\nERROR: Your pe.conf at /tmp/2016-09-15_23.55.37.c1LIib/pe.conf contains invalid HOCON syntax: #{e}\n\n}; exit 1;end;;if conf['console_admin_password'] && conf['console_admin_password'].empty?; puts %Q{\nERROR: Please specify a console_admin_password in your pe.conf file at /tmp/2016-09-15_23.55.37.c1LIib/pe.conf.\n\n}; exit 1;end" | |
## We're configuring the PE Modules... | |
2016-09-16 04:55:54,352 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_accounts-2.0.2-6-gd2f698c.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Created target directory /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_accounts (v2.0.2-6-gd2f698c) | |
2016-09-16 04:55:55,166 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_concat-1.1.2-7-g77ec55b.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_concat (v1.1.2-7-g77ec55b) | |
2016-09-16 04:55:55,958 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_console_prune-0.1.1-9-gfc256c0.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_console_prune (v0.1.1-9-gfc256c0) | |
2016-09-16 04:55:56,666 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_hocon-2016.2.0.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_hocon (v2016.2.0) | |
2016-09-16 04:55:57,407 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_inifile-2016.2.1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_inifile (v2016.2.1) | |
2016-09-16 04:55:58,120 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_install-2016.2.1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_install (v2016.2.1) | |
2016-09-16 04:55:58,814 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_java_ks-1.2.4-37-g2d86015.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_java_ks (v1.2.4-37-g2d86015) | |
2016-09-16 04:55:59,537 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_manager-2016.2.1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_manager (v2016.2.1) | |
2016-09-16 04:56:00,255 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_nginx-2016.2.1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_nginx (v2016.2.1) | |
2016-09-16 04:56:00,966 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_postgresql-2016.2.0.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_postgresql (v2016.2.0) | |
2016-09-16 04:56:01,679 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_puppet_authorization-2016.2.0-rc1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_puppet_authorization (v2016.2.0-rc1) | |
2016-09-16 04:56:02,389 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_r10k-2016.2.0.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_r10k (v2016.2.0) | |
2016-09-16 04:56:03,122 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_razor-1.0.0.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_razor (v1.0.0) | |
2016-09-16 04:56:03,839 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_repo-2016.2.1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_repo (v2016.2.1) | |
2016-09-16 04:56:04,549 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_staging-2015.3.0.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_staging (v2015.3.0) | |
2016-09-16 04:56:05,251 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-pe_support_script-2016.2.1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-pe_support_script (v2016.2.1) | |
2016-09-16 04:56:05,952 Running command: /opt/puppetlabs/puppet/bin/puppet module install /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/puppetlabs-puppet_enterprise-2016.2.1.tar.gz --force --ignore-dependencies --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
Notice: Preparing to install into /opt/puppetlabs/server/data/enterprise/modules ... | |
Notice: Installing -- do not interrupt ... | |
/opt/puppetlabs/server/data/enterprise/modules | |
└── puppetlabs-puppet_enterprise (v2016.2.1) | |
2016-09-16 04:56:06,699 Running command: rm -rf /opt/puppetlabs/server/share/installer/modules | |
2016-09-16 04:56:06,702 Running command: mkdir -p /opt/puppetlabs/server/share/installer/modules | |
2016-09-16 04:56:06,706 Running command: cp -R -L /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/modules/* /opt/puppetlabs/server/share/installer/modules | |
2016-09-16 04:56:06,712 Running command: chmod 0755 /opt/puppetlabs/server/share/installer/modules | |
2016-09-16 04:56:06,715 Running command: chmod -R 0750 /opt/puppetlabs/server/data/enterprise/modules | |
## We're configuring PE using /tmp/2016-09-15_23.55.37.c1LIib/pe.conf... | |
2016-09-16 04:56:06,725 Running command: mkdir -p /opt/puppetlabs/server | |
2016-09-16 04:56:06,729 Running command: cp -L /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/VERSION /opt/puppetlabs/server/pe_build | |
2016-09-16 04:56:06,732 Running command: chown root:root /opt/puppetlabs/server/pe_build | |
2016-09-16 04:56:06,736 Running command: chmod 644 /opt/puppetlabs/server/pe_build | |
2016-09-16 04:56:06,739 Running command: mkdir -p /etc/puppetlabs/enterprise/conf.d | |
2016-09-16 04:56:06,742 Running command: cp /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/conf.d/hiera.yaml /etc/puppetlabs/enterprise | |
2016-09-16 04:56:06,746 Running command: cp /tmp/2016-09-15_23.55.37.c1LIib/pe.conf /etc/puppetlabs/enterprise/conf.d/pe.conf | |
2016-09-16 04:56:06,749 Running command: chown -R root:root /etc/puppetlabs/enterprise | |
2016-09-16 04:56:06,752 Running command: chmod -R 600 /etc/puppetlabs/enterprise | |
2016-09-16 04:56:06,756 Running command: cp /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64/puppet-enterprise-uninstaller /opt/puppetlabs/bin | |
2016-09-16 04:56:06,760 Running command: chown root:root /opt/puppetlabs/bin/puppet-enterprise-uninstaller | |
2016-09-16 04:56:06,764 Running command: chmod 755 /opt/puppetlabs/bin/puppet-enterprise-uninstaller | |
2016-09-16 04:56:06,767 Running command: /opt/puppetlabs/puppet/bin/puppet enterprise configure --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
2016-09-16 04:56:08,279 - [Warning]: Undefined variable 'pe_server_version'; | |
(file & line not available) | |
2016-09-16 04:56:08,280 - [Warning]: Undefined variable 'pe_version'; | |
(file & line not available) | |
2016-09-16 04:56:08,407 - [Warning]: Unknown variable: 'console_certs_to_generate'. at /opt/puppetlabs/server/data/enterprise/modules/pe_install/manifests/prepare/certificates.pp:86:6 | |
2016-09-16 04:56:08,667 - [Notice]: Compiled catalog for centos7-64mdca.moduletux.com in environment production in 0.73 seconds | |
2016-09-16 04:56:08,726 - [Notice]: /Stage[main]/Pe_install::Prepare::Puppet_config/Pe_ini_setting[main/certname]/ensure: created | |
2016-09-16 04:56:08,727 - [Notice]: /Stage[main]/Pe_install::Prepare::Puppet_config/Pe_ini_setting[main/server]/ensure: created | |
2016-09-16 04:56:08,733 - [Notice]: /Stage[main]/Pe_install::Prepare::Puppet_config/Pe_ini_setting[main/user]/ensure: created | |
2016-09-16 04:56:08,734 - [Notice]: /Stage[main]/Pe_install::Prepare::Puppet_config/Pe_ini_setting[main/group]/ensure: created | |
2016-09-16 04:56:08,736 - [Notice]: /Stage[main]/Pe_install::Prepare::Puppet_config/Pe_ini_setting[main/archive_files]/ensure: created | |
2016-09-16 04:56:08,737 - [Notice]: /Stage[main]/Pe_install::Prepare::Puppet_config/Pe_ini_setting[main/archive_file_server]/ensure: created | |
2016-09-16 04:56:08,738 - [Notice]: /Stage[main]/Pe_install::Prepare::Puppet_config/Pe_ini_setting[agent/graph]/ensure: created | |
2016-09-16 04:56:13,721 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[retrieve cert for centos7-64mdca.moduletux.com]/returns: Error: Could not call 'find' on 'certificate': Connection refused - connect(2) for "centos7-64mdca" port 8140 | |
2016-09-16 04:56:13,721 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[retrieve cert for centos7-64mdca.moduletux.com]/returns: Error: Could not call 'find' on 'certificate': Connection refused - connect(2) for "centos7-64mdca" port 8140 | |
2016-09-16 04:56:13,721 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[retrieve cert for centos7-64mdca.moduletux.com]/returns: Error: Try 'puppet help certificate find' for usage | |
2016-09-16 04:56:13,721 - [Error]: /opt/puppetlabs/puppet/bin/puppet certificate find centos7-64mdca.moduletux.com --ca-location remote --ca_server centos7-64mdca returned 1 instead of one of [0] | |
2016-09-16 04:56:13,722 - [Error]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[retrieve cert for centos7-64mdca.moduletux.com]/returns: change from notrun to 0 failed: /opt/puppetlabs/puppet/bin/puppet certificate find centos7-64mdca.moduletux.com --ca-location remote --ca_server centos7-64mdca returned 1 instead of one of [0] | |
2016-09-16 04:56:13,724 - [Notice]: /Stage[main]/Puppet_enterprise::Symlinks/File[/usr/local/bin/facter]/ensure: created | |
2016-09-16 04:56:13,725 - [Notice]: /Stage[main]/Puppet_enterprise::Symlinks/File[/usr/local/bin/puppet]/ensure: created | |
2016-09-16 04:56:13,726 - [Notice]: /Stage[main]/Puppet_enterprise::Symlinks/File[/usr/local/bin/pe-man]/ensure: created | |
2016-09-16 04:56:13,727 - [Notice]: /Stage[main]/Puppet_enterprise::Symlinks/File[/usr/local/bin/hiera]/ensure: created | |
2016-09-16 04:56:13,730 - [Notice]: /Stage[main]/Puppet_enterprise::Pxp_agent/File[/etc/puppetlabs/pxp-agent/pxp-agent.conf]/ensure: defined content as '{md5}0a83f55e4e441cb056c5a9ce245ed279' | |
2016-09-16 04:56:13,872 - [Notice]: /Stage[main]/Puppet_enterprise::Pxp_agent::Service/Service[pxp-agent]/ensure: ensure changed 'stopped' to 'running' | |
2016-09-16 04:56:13,874 - [Error]: Cannot create /opt/puppetlabs/server/apps/enterprise; parent directory /opt/puppetlabs/server/apps does not exist | |
2016-09-16 04:56:13,874 - [Error]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/server/apps/enterprise]/ensure: change from absent to directory failed: Cannot create /opt/puppetlabs/server/apps/enterprise; parent directory /opt/puppetlabs/server/apps does not exist | |
2016-09-16 04:56:13,874 - [Notice]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/server/apps/enterprise/bin]: Dependency File[/opt/puppetlabs/server/apps/enterprise] has failures: true | |
2016-09-16 04:56:13,874 - [Warning]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/server/apps/enterprise/bin]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,875 - [Notice]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/server/apps/enterprise/bin/puppet-enterprise]: Dependency File[/opt/puppetlabs/server/apps/enterprise] has failures: true | |
2016-09-16 04:56:13,875 - [Warning]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/server/apps/enterprise/bin/puppet-enterprise]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,875 - [Notice]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/bin/puppet-enterprise]: Dependency File[/opt/puppetlabs/server/apps/enterprise] has failures: true | |
2016-09-16 04:56:13,875 - [Warning]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/bin/puppet-enterprise]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,875 - [Notice]: /Stage[main]/Pe_install::Install/Service[puppet]: Dependency Exec[retrieve cert for centos7-64mdca.moduletux.com] has failures: true | |
2016-09-16 04:56:13,876 - [Warning]: /Stage[main]/Pe_install::Install/Service[puppet]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,882 - [Notice]: Applied catalog in 5.17 seconds | |
* /opt/puppetlabs/puppet/bin/puppet enterprise configure --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
* returned: 6 | |
2016-09-16 04:56:13,982 [ERROR]: !! There were problems during the application of the installation catalog. !! | |
2016-09-16 04:56:13,984 [ERROR]: !! Please review the logs at /var/log/puppetlabs/installer/2016-09-16T04.55.43+0000.install.log and resolve any issues you can find. !! | |
2016-09-16 04:56:13,987 [ERROR]: !! After fixing any errors, re-run the installer to complete the installation or upgrade. !! | |
centos7-64mdca executed in 30.04 seconds | |
Exited: 6 | |
Beaker::Host::CommandFailure: Host 'centos7-64mdca' exited with 6 running: | |
cd /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64 && ./puppet-enterprise-installer -y -c /tmp/2016-09-15_23.55.37.c1LIib/pe.conf | |
Last 10 lines of output were: | |
2016-09-16 04:56:13,875 - [Notice]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/bin/puppet-enterprise]: Dependency File[/opt/puppetlabs/server/apps/enterprise] has failures: true | |
2016-09-16 04:56:13,875 - [Warning]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/bin/puppet-enterprise]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,875 - [Notice]: /Stage[main]/Pe_install::Install/Service[puppet]: Dependency Exec[retrieve cert for centos7-64mdca.moduletux.com] has failures: true | |
2016-09-16 04:56:13,876 - [Warning]: /Stage[main]/Pe_install::Install/Service[puppet]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,882 - [Notice]: Applied catalog in 5.17 seconds | |
* /opt/puppetlabs/puppet/bin/puppet enterprise configure --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
* returned: 6 | |
2016-09-16 04:56:13,982 [ERROR]: !! There were problems during the application of the installation catalog. !! | |
2016-09-16 04:56:13,984 [ERROR]: !! Please review the logs at /var/log/puppetlabs/installer/2016-09-16T04.55.43+0000.install.log and resolve any issues you can find. !! | |
2016-09-16 04:56:13,987 [ERROR]: !! After fixing any errors, re-run the installer to complete the installation or upgrade. !! | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/host.rb:351 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/dsl/helpers/host_helpers.rb:83 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/shared/host_manager.rb:127 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/dsl/patterns.rb:37 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/dsl/helpers/host_helpers.rb:63 | |
/var/lib/gems/2.3.0/gems/beaker-pe-0.11.0/lib/beaker-pe/install/pe_utils.rb:459 | |
/var/lib/gems/2.3.0/gems/beaker-pe-0.11.0/lib/beaker-pe/install/pe_utils.rb:416 | |
/var/lib/gems/2.3.0/gems/beaker-pe-0.11.0/lib/beaker-pe/install/pe_utils.rb:416 | |
/var/lib/gems/2.3.0/gems/beaker-pe-0.11.0/lib/beaker-pe/install/pe_utils.rb:775 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/dsl/structure.rb:234 | |
/var/lib/gems/2.3.0/gems/beaker-pe-0.11.0/lib/beaker-pe/install/pe_utils.rb:758 | |
/var/lib/gems/2.3.0/gems/beaker-pe-0.11.0/lib/beaker-pe/install/pe_utils.rb:686 | |
/home/dhollinger/workspace/puppet/beaker-test/setup/install.rb:3 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/test_case.rb:133 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/test_case.rb:133 | |
/usr/lib/ruby/2.3.0/benchmark.rb:308 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/test_case.rb:130 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/test_suite.rb:325 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/test_suite.rb:322 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/test_suite.rb:322 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/test_suite.rb:371 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/cli.rb:174 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/lib/beaker/cli.rb:96 | |
/var/lib/gems/2.3.0/gems/beaker-2.51.0/bin/beaker:6 | |
/usr/local/bin/beaker:23 | |
/usr/local/bin/beaker:23 | |
Begin teardown | |
End teardown | |
Warning: setup/install.rb errored in 40.74 seconds | |
Test Case setup/install.rb reported: #<Beaker::Host::CommandFailure: Host 'centos7-64mdca' exited with 6 running: | |
cd /tmp/2016-09-15_23.55.37.c1LIib/puppet-enterprise-2016.2.1-el-7-x86_64 && ./puppet-enterprise-installer -y -c /tmp/2016-09-15_23.55.37.c1LIib/pe.conf | |
Last 10 lines of output were: | |
2016-09-16 04:56:13,875 - [Notice]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/bin/puppet-enterprise]: Dependency File[/opt/puppetlabs/server/apps/enterprise] has failures: true | |
2016-09-16 04:56:13,875 - [Warning]: /Stage[main]/Pe_manager/File[/opt/puppetlabs/bin/puppet-enterprise]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,875 - [Notice]: /Stage[main]/Pe_install::Install/Service[puppet]: Dependency Exec[retrieve cert for centos7-64mdca.moduletux.com] has failures: true | |
2016-09-16 04:56:13,876 - [Warning]: /Stage[main]/Pe_install::Install/Service[puppet]: Skipping because of failed dependencies | |
2016-09-16 04:56:13,882 - [Notice]: Applied catalog in 5.17 seconds | |
* /opt/puppetlabs/puppet/bin/puppet enterprise configure --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules | |
* returned: 6 | |
2016-09-16 04:56:13,982 [ERROR]: !! There were problems during the application of the installation catalog. !! | |
2016-09-16 04:56:13,984 [ERROR]: !! Please review the logs at /var/log/puppetlabs/installer/2016-09-16T04.55.43+0000.install.log and resolve any issues you can find. !! | |
2016-09-16 04:56:13,987 [ERROR]: !! After fixing any errors, re-run the installer to complete the installation or upgrade. !!> | |
Test line: setup/install.rb:3:in `block in run_test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
pe_dir: /home/dhollinger/Downloads/
instead