Skip to content

Instantly share code, notes, and snippets.

@Artistan
Last active December 19, 2016 03:47
Show Gist options
  • Save Artistan/25d711173702c50b9164e7ac05df139b to your computer and use it in GitHub Desktop.
Save Artistan/25d711173702c50b9164e7ac05df139b to your computer and use it in GitHub Desktop.
test centos 6.5
vagrantfile:
target: local
vm:
provider:
local:
box: puphpet/centos65-x64
box_url: puphpet/centos65-x64
box_version: '0'
chosen_virtualizer: virtualbox
virtualizers:
virtualbox:
modifyvm:
natdnshostresolver1: false
showgui: 0
vmware:
numvcpus: 1
parallels:
linked_clone: 0
check_guest_tools: 0
update_guest_tools: 0
machines:
vflm_mq3kw40aqllb:
id: machine1
hostname: machine1.puphpet
network:
private_network: 192.168.56.199
forwarded_port:
vflmnfp_ijanoze5l4zc:
host: '7951'
guest: '22'
memory: '512'
cpus: '1'
provision:
puppet:
manifests_path: puphpet/puppet/manifests
module_path:
- puphpet/puppet/modules
- puphpet/puppet/manifests
options:
- '--verbose'
- '--hiera_config /vagrant/puphpet/puppet/hiera.yaml'
synced_folder: { }
usable_port_range:
start: 10200
stop: 10500
post_up_message: ''
ssh:
host: 'false'
port: 'false'
private_key_path: 'false'
username: vagrant
guest_port: 'false'
keep_alive: '1'
forward_agent: 'false'
forward_x11: 'false'
shell: 'bash -l'
insert_key: 'false'
vagrant:
host: detect
proxy:
http: ''
https: ''
ftp: ''
no_proxy: ''
server:
install: '1'
packages: { }
users_groups:
install: '1'
groups: { }
users: { }
locale:
install: '1'
settings:
default_locale: en_US.UTF-8
locales: { }
timezone: UTC
firewall:
install: '1'
rules: { }
cron:
install: '1'
jobs: { }
nginx:
install: '0'
settings:
version: present
default_vhost: 1
proxy_buffers: '4 256k'
proxy_buffer_size: 128k
proxy_connect_timeout: 600s
proxy_send_timeout: 600s
proxy_read_timeout: 600s
names_hash_bucket_size: 128
upstreams: { }
vhosts: { }
proxies: { }
apache:
install: '0'
settings:
version: 2.4
user: www-data
group: www-data
default_vhost: true
manage_user: false
manage_group: false
sendfile: 0
modules:
- proxy_fcgi
- rewrite
vhosts: { }
letsencrypt:
install: '1'
settings:
email: ''
domains: { }
php:
install: '0'
settings:
version: '7.0'
modules:
php:
- cli
- intl
- xml
pear: { }
pecl: { }
ini:
display_errors: 'On'
error_reporting: '-1'
session.save_path: /var/lib/php/session
date.timezone: UTC
fpm_ini:
error_log: /var/log/php-fpm.log
fpm_pools:
phpfp_1pwvmubrzo5l:
ini:
prefix: www
listen: '127.0.0.1:9000'
security.limit_extensions: .php
user: www-user
group: www-data
composer: '1'
composer_home: ''
xdebug:
install: '0'
settings:
xdebug.default_enable: '1'
xdebug.remote_autostart: '0'
xdebug.remote_connect_back: '1'
xdebug.remote_enable: '1'
xdebug.remote_handler: dbgp
xdebug.remote_port: '9000'
blackfire:
install: '0'
settings:
server_id: ''
server_token: ''
agent:
http_proxy: ''
https_proxy: ''
log_file: stderr
log_level: '1'
php:
agent_timeout: '0.25'
log_file: ''
log_level: '1'
xhprof:
install: '0'
wpcli:
install: '0'
version: v0.24.1
drush:
install: '0'
version: 8.0.5
ruby:
install: '1'
versions: { }
python:
install: '1'
packages: { }
versions: { }
nodejs:
install: '0'
settings:
version: '6'
npm_packages: { }
hhvm:
install: '0'
composer: '1'
composer_home: ''
settings: { }
server_ini:
hhvm.server.host: 127.0.0.1
hhvm.server.port: '9000'
hhvm.log.use_log_file: '1'
hhvm.log.file: /var/log/hhvm/error.log
php_ini:
display_errors: 'On'
error_reporting: '-1'
date.timezone: UTC
mariadb:
install: '0'
settings:
version: '10.1'
root_password: '123'
override_options: { }
adminer: 0
users:
mariadbnu_x2cjjrw7jccx:
name: dbuser
password: '123'
databases:
mariadbnd_74iqff85bcrr:
name: dbname
sql: ''
grants:
mariadbng_5ajxbxc6oe4p:
user: dbuser
table: '*.*'
privileges:
- ALL
mysql:
install: '0'
settings:
version: '5.7'
root_password: '123'
override_options: { }
adminer: 0
users:
mysqlnu_ueno2tc3f6q7:
name: dbuser
password: '123'
databases:
mysqlnd_5xp297xvxokr:
name: dbname
sql: ''
grants:
mysqlng_gzs3nwiwfx0d:
user: dbuser
table: '*.*'
privileges:
- ALL
postgresql:
install: '0'
settings:
global:
encoding: UTF8
version: '9.6'
server:
postgres_password: '123'
databases: { }
users: { }
grants: { }
adminer: 0
mongodb:
install: '0'
settings:
bind_ip: 127.0.0.1
port: '27017'
globals:
version: 2.6.0
databases: { }
redis:
install: '0'
settings:
port: '6379'
sqlite:
install: '0'
adminer: 0
databases: { }
mailhog:
install: '0'
settings:
smtp_ip: 0.0.0.0
smtp_port: 1025
http_ip: 0.0.0.0
http_port: '8025'
path: /usr/local/bin/mailhog
beanstalkd:
install: '0'
settings:
listenaddress: 0.0.0.0
listenport: '11300'
maxjobsize: '65535'
maxconnections: '1024'
binlogdir: /var/lib/beanstalkd/binlog
binlogfsync: null
binlogsize: '10485760'
beanstalk_console: 0
rabbitmq:
install: '0'
settings:
port: '5672'
users: { }
vhosts: { }
plugins: { }
elastic_search:
install: '0'
settings:
version: 2.3.1
java_install: true
instances:
esi_u3pzt02tucub:
name: es-01
solr:
install: '0'
settings:
version: 5.5.2
port: '8984'
➜ centos6.5 vagrant up
Bringing machine 'machine1' up with 'virtualbox' provider...
==> machine1: Checking if box 'puphpet/centos65-x64' is up to date...
==> machine1: Clearing any previously set forwarded ports...
==> machine1: Clearing any previously set network interfaces...
==> machine1: Preparing network interfaces based on configuration...
machine1: Adapter 1: nat
machine1: Adapter 2: hostonly
==> machine1: Forwarding ports...
machine1: 22 (guest) => 7951 (host) (adapter 1)
machine1: 22 (guest) => 2222 (host) (adapter 1)
==> machine1: Running 'pre-boot' VM customizations...
==> machine1: Booting VM...
==> machine1: Waiting for machine to boot. This may take a few minutes...
machine1: SSH address: 127.0.0.1:2222
machine1: SSH username: vagrant
machine1: SSH auth method: private key
==> machine1: Machine booted and ready!
==> machine1: Checking for guest additions in VM...
machine1: The guest additions on this VM do not match the installed version of
machine1: VirtualBox! In most cases this is fine, but in rare cases it can
machine1: prevent things such as shared folders from working properly. If you see
machine1: shared folder errors, please make sure the guest additions within the
machine1: virtual machine match the version of VirtualBox you have installed on
machine1: your host and reload your VM.
machine1:
machine1: Guest Additions Version: 5.0.26
machine1: VirtualBox Version: 5.1
==> machine1: Setting hostname...
==> machine1: Configuring and enabling network interfaces...
==> machine1: Mounting shared folders...
machine1: /vagrant => /Users/cpeterson/VirtualBox VMs/Configs/centos6.5
machine1: /tmp/vagrant-puppet/modules-497743aa2f556aaec666e82db6229778 => /Users/cpeterson/VirtualBox VMs/Configs/centos6.5/puphpet/puppet/modules
machine1: /tmp/vagrant-puppet/modules-86003ada5841c58802851db2073f4805 => /Users/cpeterson/VirtualBox VMs/Configs/centos6.5/puphpet/puppet/manifests
machine1: /tmp/vagrant-puppet/manifests-75f35e3bc7e32744860c4bb229c88812 => /Users/cpeterson/VirtualBox VMs/Configs/centos6.5/puphpet/puppet/manifests
==> machine1: Running provisioner: shell...
machine1: Running: inline script
==> machine1: Running provisioner: shell...
machine1: Running: /var/folders/gp/6kjz52gd1ns2bhnp3q4_v3g00000gn/T/vagrant-shell20161218-4997-1i9nmng.sh
==> machine1:
==> machine1: ____ ____ _ _ ____ _ generated using
==> machine1: | _ \ _ _| _ \| | | | _ \ ___| |_ ___ ___ _ __ ___
==> machine1: | |_) | | | | |_) | |_| | |_) / _ \ __| / __/ _ \| '_ ` _ \
==> machine1: | __/| |_| | __/| _ | __/ __/ |_ | (_| (_) | | | | | |
==> machine1: |_| \__,_|_| |_| |_|_| \___|\__(_)___\___/|_| |_| |_|
==> machine1:
==> machine1: Running provisioner: shell...
machine1: Running: /var/folders/gp/6kjz52gd1ns2bhnp3q4_v3g00000gn/T/vagrant-shell20161218-4997-1f097on.sh
==> machine1: Generating public/private rsa key pair.
==> machine1: Your identification has been saved in /vagrant/puphpet/files/dot/ssh/root_id_rsa.
==> machine1: Your public key has been saved in /vagrant/puphpet/files/dot/ssh/root_id_rsa.pub.
==> machine1: The key fingerprint is:
==> machine1: 6f:c0:98:ed:3b:c7:36:e3:7b:10:50:2a:ca:82:54:89 root@machine1.puphpet
==> machine1: The key's randomart image is:
==> machine1: +--[ RSA 2048]----+
==> machine1: | ... .. |
==> machine1: | E.. .. |
==> machine1: | . . .. |
==> machine1: |.. . . * . |
==> machine1: |. . o o S . |
==> machine1: | . . o. |
==> machine1: | ..o. |
==> machine1: | .o* . |
==> machine1: | .=o= |
==> machine1: +-----------------+
==> machine1: Your private key for SSH-based authentication has been saved to 'puphpet/files/dot/ssh/root_id_rsa'!
==> machine1: Generating public/private rsa key pair.
==> machine1: Your identification has been saved in /vagrant/puphpet/files/dot/ssh/id_rsa.
==> machine1: Your public key has been saved in /vagrant/puphpet/files/dot/ssh/id_rsa.pub.
==> machine1: The key fingerprint is:
==> machine1: 78:64:94:90:fa:91:82:82:76:75:a1:14:c2:aa:67:30 root@machine1.puphpet
==> machine1: The key's randomart image is:
==> machine1: +--[ RSA 2048]----+
==> machine1: | .. oo+o. |
==> machine1: | .o.oo. |
==> machine1: |. ...o..o |
==> machine1: |Eo..o o+ |
==> machine1: |o+. o..S |
==> machine1: |. o .. |
==> machine1: | o |
==> machine1: | |
==> machine1: | |
==> machine1: +-----------------+
==> machine1: Your private key for SSH-based authentication has been saved to 'puphpet/files/dot/ssh/id_rsa'!
==> machine1: Adding generated root key to /root/.ssh/id_rsa
==> machine1: Adding generated root key to /root/.ssh/id_rsa.pub
==> machine1: Adding generated root key to /root/.ssh/authorized_keys
==> machine1: Adding generated key to /home/vagrant/.ssh/id_rsa
==> machine1: Adding generated key to /home/vagrant/.ssh/id_rsa.pub
==> machine1: Adding generated key to /home/vagrant/.ssh/authorized_keys
==> machine1: Running provisioner: shell...
machine1: Running: /var/folders/gp/6kjz52gd1ns2bhnp3q4_v3g00000gn/T/vagrant-shell20161218-4997-vgnjm0.sh
==> machine1: Running provisioner: shell...
machine1: Running: /var/folders/gp/6kjz52gd1ns2bhnp3q4_v3g00000gn/T/vagrant-shell20161218-4997-1jziwe1.sh
==> machine1: Running files in files/exec-preprovision
==> machine1: Created file /.puphpet-stuff/exec-preprovision-ran
==> machine1: Finished running files in files/exec-preprovision
==> machine1: To run again, delete hashes you want rerun in /.puphpet-stuff/exec-preprovision-ran or the whole file to rerun all
==> machine1: Running provisioner: puppet...
==> machine1: Running Puppet with ...
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Info: Loading facts
==> machine1: Error: Facter: error while resolving custom fact "nodejs_latest_version": execution expired
==> machine1: Error: Facter: error while resolving custom fact "nodejs_stable_version": execution expired
==> machine1: Warning: The key 'shib2' is declared more than once at /tmp/vagrant-puppet/modules-497743aa2f556aaec666e82db6229778/apache/manifests/params.pp:251:21
==> machine1: Notice: Compiled catalog for machine1.puphpet in environment production in 2.94 seconds
==> machine1: Info: Applying configuration version '1482118690'
==> machine1: Info: Computing checksum on file /etc/sysconfig/clock
==> machine1: Info: /Stage[main]/Timezone/File[/etc/sysconfig/clock]: Filebucketed /etc/sysconfig/clock to puppet with sum c5daf08a96d4decb4886f54d6a280348
==> machine1: Notice: /Stage[main]/Timezone/File[/etc/sysconfig/clock]/content: content changed '{md5}c5daf08a96d4decb4886f54d6a280348' to '{md5}0f4895006ef2b8b8fb7f2679fd4d5309'
==> machine1: Notice: /Stage[main]/Rvm::Group/Group[rvm]/ensure: created
==> machine1: Notice: /Stage[main]/Rvm::Rvmrc/File[/etc/rvmrc]/ensure: defined content as '{md5}3ec590d219afbf91a7c1a149a15e72cb'
==> machine1: Notice: /Stage[main]/Puphpet::Server/Group[puppet]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Server/Group[www-user]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Server/User[vagrant]/groups: groups changed 'vagrant' to ['rvm', 'vagrant', 'www-data', 'www-user']
==> machine1: Notice: /Stage[main]/Puphpet::Server/User[apache]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Server/User[nginx]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Server/User[httpd]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Server/User[www-data]/groups: groups changed '' to ['www-data']
==> machine1: Notice: /Stage[main]/Puphpet::Server/User[www-user]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Server/Exec[dotfiles]/returns: executed successfully
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel]/Yumrepo[epel]/mirrorlist: mirrorlist changed 'https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch' to 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel]/Yumrepo[epel]/priority: defined 'priority' as '16'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-debuginfo]/File[/etc/yum.repos.d/epel-debuginfo.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-debuginfo]/Yumrepo[epel-debuginfo]/mirrorlist: mirrorlist changed 'https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch' to 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-debuginfo]/Yumrepo[epel-debuginfo]/priority: defined 'priority' as '16'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-source]/File[/etc/yum.repos.d/epel-source.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-source]/Yumrepo[epel-source]/mirrorlist: mirrorlist changed 'https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch' to 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-6&arch=$basearch'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-source]/Yumrepo[epel-source]/priority: defined 'priority' as '16'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing]/Yumrepo[epel-testing]/mirrorlist: mirrorlist changed 'https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch' to 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=$basearch'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing]/Yumrepo[epel-testing]/priority: defined 'priority' as '17'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing-debuginfo]/File[/etc/yum.repos.d/epel-testing-debuginfo.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing-debuginfo]/Yumrepo[epel-testing-debuginfo]/mirrorlist: mirrorlist changed 'https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&arch=$basearch' to 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-debug-epel6&arch=$basearch'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing-debuginfo]/Yumrepo[epel-testing-debuginfo]/priority: defined 'priority' as '17'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing-source]/File[/etc/yum.repos.d/epel-testing-source.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing-source]/Yumrepo[epel-testing-source]/mirrorlist: mirrorlist changed 'https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=$basearch' to 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-source-epel6&arch=$basearch'
==> machine1: Notice: /Stage[main]/Yum::Repo::Epel/Yum::Managed_yumrepo[epel-testing-source]/Yumrepo[epel-testing-source]/priority: defined 'priority' as '17'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[base]/File[/etc/yum.repos.d/base.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[base]/Yumrepo[base]/mirrorlist: mirrorlist changed 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra' to 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[base]/Yumrepo[base]/enabled: defined 'enabled' as '1'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[base]/Yumrepo[base]/failovermethod: defined 'failovermethod' as 'priority'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[base]/Yumrepo[base]/priority: defined 'priority' as '2'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[updates]/File[/etc/yum.repos.d/updates.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[updates]/Yumrepo[updates]/mirrorlist: mirrorlist changed 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra' to 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[updates]/Yumrepo[updates]/enabled: defined 'enabled' as '1'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[updates]/Yumrepo[updates]/failovermethod: defined 'failovermethod' as 'priority'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[updates]/Yumrepo[updates]/priority: defined 'priority' as '2'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[extras]/File[/etc/yum.repos.d/extras.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[extras]/Yumrepo[extras]/mirrorlist: mirrorlist changed 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra' to 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[extras]/Yumrepo[extras]/enabled: defined 'enabled' as '1'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[extras]/Yumrepo[extras]/failovermethod: defined 'failovermethod' as 'priority'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[extras]/Yumrepo[extras]/priority: defined 'priority' as '2'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[centosplus]/File[/etc/yum.repos.d/centosplus.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[centosplus]/Yumrepo[centosplus]/descr: descr changed 'CentOS-$releasever - Plus' to 'CentOS-$releasever - Centosplus'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[centosplus]/Yumrepo[centosplus]/mirrorlist: mirrorlist changed 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra' to 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[centosplus]/Yumrepo[centosplus]/enabled: enabled changed '0' to '1'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[centosplus]/Yumrepo[centosplus]/failovermethod: defined 'failovermethod' as 'priority'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[centosplus]/Yumrepo[centosplus]/priority: defined 'priority' as '3'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[contrib]/File[/etc/yum.repos.d/contrib.repo]/ensure: created
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[contrib]/Yumrepo[contrib]/mirrorlist: mirrorlist changed 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra' to 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[contrib]/Yumrepo[contrib]/failovermethod: defined 'failovermethod' as 'priority'
==> machine1: Notice: /Stage[main]/Yum::Repo::Centos6/Yum::Managed_yumrepo[contrib]/Yumrepo[contrib]/priority: defined 'priority' as '10'
==> machine1: Notice: /Stage[main]/Firewall::Linux::Redhat/File[/etc/sysconfig/iptables]/ensure: created
==> machine1: Notice: /Stage[main]/Firewall::Linux::Redhat/Service[iptables]/ensure: ensure changed 'stopped' to 'running'
==> machine1: Info: /Stage[main]/Firewall::Linux::Redhat/Service[iptables]: Unscheduling refresh on Service[iptables]
==> machine1: Notice: /Stage[main]/Puphpet::Firewall::Pre/Firewall[000 accept all icmp]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Firewall::Pre/Firewall[001 accept all to lo interface]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Firewall::Pre/Firewall[002 reject local traffic not on loopback interface]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Firewall::Pre/Firewall[003 accept related established rules]/ensure: created
==> machine1: Info: Computing checksum on file /etc/localtime
==> machine1: Info: /Stage[main]/Timezone/File[/etc/localtime]: Filebucketed /etc/localtime to puppet with sum c79354b8dbee09e62bbc3fb544853283
==> machine1: Notice: /Stage[main]/Timezone/File[/etc/localtime]/ensure: ensure changed 'file' to 'link'
==> machine1: Error: Error while importing key D39DC0E3 from https://rvm.io/mpapis.asc:
==> machine1: }
==> machine1: Error: /Stage[main]/Puphpet::Ruby/Gnupg_key[rvm_D39DC0E3]/ensure: change from absent to present failed: Error while importing key D39DC0E3 from https://rvm.io/mpapis.asc:
==> machine1: }
==> machine1: Notice: /Stage[main]/Rvm::System/Exec[system-rvm]/returns: executed successfully
==> machine1: Error: Could not find command 'rvm'
==> machine1: Error: /Stage[main]/Puphpet::Ruby/Exec[rvm rvmrc warning ignore all.rvmrcs]/returns: change from notrun to 0 failed: Could not find command 'rvm'
==> machine1: Notice: /Stage[main]/Ntp::Config/File[/etc/ntp.conf]: Dependency Package[ntp] has failures: true
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install ntp' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
==> machine1: 14: PYCURL ERROR 7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable"
==> machine1: Error: /Stage[main]/Ntp::Install/Package[ntp]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install ntp' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
==> machine1: 14: PYCURL ERROR 7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable"
==> machine1: Warning: /Stage[main]/Ntp::Config/File[/etc/ntp.conf]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Ntp::Service/Service[ntp]: Dependency Package[ntp] has failures: true
==> machine1: Warning: /Stage[main]/Ntp::Service/Service[ntp]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Ntp/Anchor[ntp::end]: Dependency Package[ntp] has failures: true
==> machine1: Warning: /Stage[main]/Ntp/Anchor[ntp::end]: Skipping because of failed dependencies
==> machine1: Info: Class[Puphpet::Server]: Unscheduling all events on Class[Puphpet::Server]
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install augeas' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
==> machine1: 14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"
==> machine1: Error: /Stage[main]/Puphpet::Server/Package[augeas]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install augeas' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
==> machine1: 14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install zlib-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Error: /Stage[main]/Puphpet::Python::Pre/Package[zlib-devel]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install zlib-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install bzip2-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Error: /Stage[main]/Puphpet::Python::Pre/Package[bzip2-devel]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install bzip2-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install readline-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Error: /Stage[main]/Puphpet::Python::Pre/Package[readline-devel]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install readline-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install sqlite-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Error: /Stage[main]/Puphpet::Python::Pre/Package[sqlite-devel]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install sqlite-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Notice: /Stage[main]/Pyenv/Vcsrepo[/usr/local/pyenv]: Dependency Package[zlib-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/Vcsrepo[/usr/local/pyenv]: Dependency Package[bzip2-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/Vcsrepo[/usr/local/pyenv]: Dependency Package[readline-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/Vcsrepo[/usr/local/pyenv]: Dependency Package[sqlite-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/Vcsrepo[/usr/local/pyenv]: Dependency Package[openssl-devel] has failures: true
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openssl-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Error: /Stage[main]/Puphpet::Python::Pre/Package[openssl-devel]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install openssl-devel' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Warning: /Stage[main]/Pyenv/Vcsrepo[/usr/local/pyenv]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Pyenv/File[/usr/local/bin/pyenv]: Dependency Package[zlib-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/File[/usr/local/bin/pyenv]: Dependency Package[bzip2-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/File[/usr/local/bin/pyenv]: Dependency Package[readline-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/File[/usr/local/bin/pyenv]: Dependency Package[sqlite-devel] has failures: true
==> machine1: Notice: /Stage[main]/Pyenv/File[/usr/local/bin/pyenv]: Dependency Package[openssl-devel] has failures: true
==> machine1: Warning: /Stage[main]/Pyenv/File[/usr/local/bin/pyenv]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Puphpet::Firewall/Puphpet::Firewall::Port[22]/Firewall[100 tcp/22]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Firewall::Post/Firewall[999 drop all]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Python::Pip/Puphpet::Server::Wget[/.puphpet-stuff/ez_setup.py]/File[/.puphpet-stuff/ez_setup.py]: Dependency Exec[download https://bootstrap.pypa.io/ez_setup.py] has failures: true
==> machine1: Error: wget --quiet --tries=5 --connect-timeout=10 -O '/.puphpet-stuff/ez_setup.py' https://bootstrap.pypa.io/ez_setup.py returned 4 instead of one of [0]
==> machine1: Error: /Stage[main]/Puphpet::Python::Pip/Puphpet::Server::Wget[/.puphpet-stuff/ez_setup.py]/Exec[download https://bootstrap.pypa.io/ez_setup.py]/returns: change from notrun to 0 failed: wget --quiet --tries=5 --connect-timeout=10 -O '/.puphpet-stuff/ez_setup.py' https://bootstrap.pypa.io/ez_setup.py returned 4 instead of one of [0]
==> machine1: Warning: /Stage[main]/Puphpet::Python::Pip/Puphpet::Server::Wget[/.puphpet-stuff/ez_setup.py]/File[/.puphpet-stuff/ez_setup.py]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Puphpet::Python::Pip/Exec[Install ez_setup]: Dependency Exec[download https://bootstrap.pypa.io/ez_setup.py] has failures: true
==> machine1: Warning: /Stage[main]/Puphpet::Python::Pip/Exec[Install ez_setup]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Puphpet::Python::Pip/Exec[easy_install pip]: Dependency Exec[download https://bootstrap.pypa.io/ez_setup.py] has failures: true
==> machine1: Warning: /Stage[main]/Puphpet::Python::Pip/Exec[easy_install pip]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Puphpet::Python::Pip/Exec[rhel pip_provider_name_fix]: Dependency Exec[download https://bootstrap.pypa.io/ez_setup.py] has failures: true
==> machine1: Warning: /Stage[main]/Puphpet::Python::Pip/Exec[rhel pip_provider_name_fix]: Skipping because of failed dependencies
==> machine1: Notice: /Stage[main]/Puphpet::Letsencrypt::Install/Puphpet::Firewall::Port[80]/Firewall[100 tcp/80]/ensure: created
==> machine1: Notice: /Stage[main]/Puphpet::Letsencrypt::Certbot/Puphpet::Server::Wget[/usr/bin/certbot-auto]/File[/usr/bin/certbot-auto]: Dependency Exec[download https://dl.eff.org/certbot-auto] has failures: true
==> machine1: Error: wget --quiet --tries=5 --connect-timeout=10 -O '/usr/bin/certbot-auto' https://dl.eff.org/certbot-auto returned 4 instead of one of [0]
==> machine1: Error: /Stage[main]/Puphpet::Letsencrypt::Certbot/Puphpet::Server::Wget[/usr/bin/certbot-auto]/Exec[download https://dl.eff.org/certbot-auto]/returns: change from notrun to 0 failed: wget --quiet --tries=5 --connect-timeout=10 -O '/usr/bin/certbot-auto' https://dl.eff.org/certbot-auto returned 4 instead of one of [0]
==> machine1: Warning: /Stage[main]/Puphpet::Letsencrypt::Certbot/Puphpet::Server::Wget[/usr/bin/certbot-auto]/File[/usr/bin/certbot-auto]: Skipping because of failed dependencies
==> machine1: Info: Stage[main]: Unscheduling all events on Stage[main]
==> machine1: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install yum-plugin-priorities' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Error: /Stage[main]/Yum::Prerequisites/Yum::Plugin[priorities]/Package[yum-plugin-priorities]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install yum-plugin-priorities' returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
==> machine1: Notice: Applied catalog in 465.36 seconds
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment