Skip to content

Instantly share code, notes, and snippets.

@cdenneen
Last active May 24, 2017 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdenneen/a60c42ddc8d8af43e9edd2677e5aa9ce to your computer and use it in GitHub Desktop.
Save cdenneen/a60c42ddc8d8af43e9edd2677e5aa9ce to your computer and use it in GitHub Desktop.
BEAKER_RUN_IN_PARALLEL=configure,install BEAKER_debug=yes BEAKER_set="docker" PUPPET_INSTALL_TYPE="agent" PUPPET_INSTALL_VERSION="1.10.1" BEAKER_destroy="yes" BEAKER_provision="yes" bundle exec rake beaker
Warning: Puppet's internal vendored libraries are Private APIs and can change without warning. The 'semantic' library has been replaced with 'semantic_puppet'.
/opt/rubies/2.1.8/bin/ruby -I/Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/rspec-core-3.6.0/lib:/Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/rspec-support-3.6.0/lib /Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/rspec-core-3.6.0/exe/rspec spec/acceptance --color
/Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/beaker-rspec-6.1.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/specinfra-2.68.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Hypervisor for centos is docker
Beaker::Hypervisor, found some docker boxes to create
get
/v1.16/version
{}
Provisioning docker
provisioning centos
Creating image
Dockerfile is FROM centos:latest
ENV container docker
RUN yum clean all
RUN yum install -y sudo openssh-server openssh-clients curl ntpdate
RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN mkdir -p /var/run/sshd
RUN echo root:root | chpasswd
RUN sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
RUN sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
EXPOSE 22
CMD ["/sbin/init"]
post
/v1.16/build
{:rm=>true}
Dockerfile0000640000000000000000000000115013111364713013301 0ustar00wheelwheel00000000000000 FROM centos:latest
ENV container docker
RUN yum clean all
RUN yum install -y sudo openssh-server openssh-clients curl ntpdate
RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN mkdir -p /var/run/sshd
RUN echo root:root | chpasswd
RUN sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
RUN sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
EXPOSE 22
CMD ["/sbin/init"]
Creating container from image d14f0ae7b02c
post
/v1.16/containers/create
{}
{"Image":"d14f0ae7b02c","Hostname":"centos"}
Starting container 189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41
post
/v1.16/containers/189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41/start
{}
{"PublishAllPorts":true,"Privileged":true}
Using docker server at 192.168.99.100
get
/v1.16/containers/189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41/json
{}
node available as ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.99.100 -p 32784
get
/v1.16/containers/189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41/json
{}
centos 16:15:29$ cat /etc/resolv.conf
Attempting ssh connection to 192.168.99.100, user: root, opts: {:password=>"root", :port=>"32784", :forward_agent=>false}
Warning: Try 1 -- Host 192.168.99.100 unreachable: Errno::ECONNREFUSED - Connection refused - connect(2) for 192.168.99.100:32784
Warning: Trying again in 3 seconds
Attempting ssh connection to 192.168.99.100, user: root, opts: {:password=>"root", :port=>"32784", :forward_agent=>false, :logger=>#<Logger:0x007feddbc289d8 @progname=nil, @level=4, @default_formatter=#<Logger::Formatter:0x007feddbc289b0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x007feddbc28960 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007feddbc28938 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007feddbc288e8>>>>, :password_prompt=>#<Net::SSH::Prompt:0x007feddbc288c0>, :user=>"root"}
# This file is managed by systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known DNS servers.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 10.0.2.3
centos executed in 3.13 seconds
centos 16:15:32$ echo '127.0.0.1 localhost localhost.localdomain
172.17.0.10 centos. centos
' >> /etc/hosts
centos executed in 0.01 seconds
centos 16:15:32$ rpm -q curl
curl-7.29.0-35.el7.centos.x86_64
centos executed in 0.03 seconds
centos 16:15:32$ rpm -q ntpdate
ntpdate-4.2.6p5-25.el7.centos.2.x86_64
centos executed in 0.03 seconds
ssh connection to centos has been terminated
setting local environment on centos
centos 16:15:32$ getent passwd root
Attempting ssh connection to 192.168.99.100, user: root, opts: {:password=>"root", :port=>"32784", :forward_agent=>false, :logger=>#<Logger:0x007feddbc289d8 @progname=nil, @level=4, @default_formatter=#<Logger::Formatter:0x007feddbc289b0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x007feddbc28960 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007feddbc28938 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007feddbc288e8>>>>, :password_prompt=>#<Net::SSH::Prompt:0x007feddbc288c0>, :user=>"root"}
root:x:0:0:root:/root:/bin/bash
centos executed in 0.10 seconds
centos 16:15:32$ mktemp -dt .XXXXXX
/tmp/.pXcmad
centos executed in 0.01 seconds
centos 16:15:32$ chown root:root /tmp/.pXcmad
centos executed in 0.01 seconds
centos 16:15:32$ echo 'PermitUserEnvironment yes' | cat - /etc/ssh/sshd_config > /tmp/.pXcmad/sshd_config.permit
centos executed in 0.01 seconds
centos 16:15:32$ mv /tmp/.pXcmad/sshd_config.permit /etc/ssh/sshd_config
centos executed in 0.01 seconds
centos 16:15:32$ systemctl restart sshd.service
centos executed in 0.02 seconds
centos 16:15:32$ mkdir -p ~/.ssh
centos executed in 0.01 seconds
centos 16:15:32$ chmod 0600 ~/.ssh
centos executed in 0.01 seconds
centos 16:15:32$ touch ~/.ssh/environment
centos executed in 0.01 seconds
centos 16:15:32$ grep ^PATH=.*\$PATH ~/.ssh/environment
centos executed in 0.01 seconds
Exited: 1
centos 16:15:32$ grep ^PATH= ~/.ssh/environment
centos executed in 0.01 seconds
Exited: 1
centos 16:15:32$ echo "PATH=$PATH" >> ~/.ssh/environment
centos executed in 0.01 seconds
will not mirror environment to /etc/profile.d on non-sles/debian platform host
centos 16:15:32$ echo "/usr/bin"
/usr/bin
centos executed in 0.01 seconds
centos 16:15:32$ echo "/opt/puppet-git-repos/hiera/bin"
/opt/puppet-git-repos/hiera/bin
centos executed in 0.03 seconds
centos 16:15:32$ grep ^PATH=.*\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
centos executed in 0.01 seconds
Exited: 1
centos 16:15:32$ grep ^PATH= ~/.ssh/environment
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
centos executed in 0.01 seconds
centos 16:15:33$ sed -i -e "s/^PATH=/PATH=\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin:/" ~/.ssh/environment
centos executed in 0.01 seconds
will not mirror environment to /etc/profile.d on non-sles/debian platform host
centos 16:15:33$ grep ^PATH=.*PATH ~/.ssh/environment
centos executed in 0.01 seconds
Exited: 1
centos 16:15:33$ grep ^PATH= ~/.ssh/environment
PATH=/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
centos executed in 0.01 seconds
centos 16:15:33$ sed -i -e "s/^PATH=/PATH=PATH:/" ~/.ssh/environment
centos executed in 0.01 seconds
will not mirror environment to /etc/profile.d on non-sles/debian platform host
ssh connection to centos has been terminated
centos 16:15:33$ cat ~/.ssh/environment
Attempting ssh connection to 192.168.99.100, user: root, opts: {:password=>"root", :port=>"32784", :forward_agent=>false, :logger=>#<Logger:0x007feddbc289d8 @progname=nil, @level=4, @default_formatter=#<Logger::Formatter:0x007feddbc289b0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x007feddbc28960 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007feddbc28938 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007feddbc288e8>>>>, :password_prompt=>#<Net::SSH::Prompt:0x007feddbc288c0>, :user=>"root"}
PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
centos executed in 0.11 seconds
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on centos
centos 16:15:33$ echo '127.0.0.1 updates.puppetlabs.com
' >> /etc/hosts
centos executed in 0.01 seconds
centos 16:15:33$ rpm --replacepkgs -Uvh http://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm
warning: /var/tmp/rpm-tmp.0mLJou: Header V4 RSA/SHA1 Signature, key ID ef8d349f: NOKEY
Retrieving http://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm
Preparing... ########################################
Updating / installing...
puppetlabs-release-pc1-1.1.0-5.el7 ############## ###### ################ ## ##
centos executed in 0.20 seconds
centos 16:15:33$ echo "/opt/puppetlabs/bin"
/opt/puppetlabs/bin
centos executed in 0.01 seconds
centos 16:15:33$ echo "/opt/puppet-git-repos/hiera/bin"
/opt/puppet-git-repos/hiera/bin
centos executed in 0.01 seconds
centos 16:15:33$ grep ^PATH=.*\/opt\/puppetlabs\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
centos executed in 0.01 seconds
Exited: 1
centos 16:15:33$ grep ^PATH= ~/.ssh/environment
PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
centos executed in 0.01 seconds
centos 16:15:33$ sed -i -e "s/^PATH=/PATH=\/opt\/puppetlabs\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin:/" ~/.ssh/environment
centos executed in 0.01 seconds
will not mirror environment to /etc/profile.d on non-sles/debian platform host
centos 16:15:33$ grep ^PATH=.*PATH ~/.ssh/environment
PATH=/opt/puppetlabs/bin:/opt/puppet-git-repos/hiera/bin:PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
centos executed in 0.01 seconds
centos 16:15:33$ yum -y install puppet-agent-1.10.1
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: mirror.trouble-free.net
* extras: mirror.netdepot.com
* updates: mirror.team-cymru.org
Resolving Dependencies
--> Running transaction check
---> Package puppet-agent.x86_64 0:1.10.1-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
puppet-agent x86_64 1.10.1-1.el7 puppetlabs-pc1 26 M
Transaction Summary
================================================================================
Install 1 Package
Total download size: 26 M
Installed size: 122 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/puppetlabs-pc1/packages/puppet-agent-1.10.1-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID ef8d349f: NOKEY
Public key for puppet-agent-1.10.1-1.el7.x86_64.rpm is not installed
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs-PC1
Importing GPG key 0x4BD6EC30:
Userid : "Puppet Labs Release Key (Puppet Labs Release Key) <info@puppetlabs.com>"
Fingerprint: 47b3 20eb 4c7c 375a a9da e1a0 1054 b7a2 4bd6 ec30
Package : puppetlabs-release-pc1-1.1.0-5.el7.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs-PC1
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppet-PC1
Importing GPG key 0xEF8D349F:
Userid : "Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release@puppet.com>"
Fingerprint: 6f6b 1550 9cf8 e59e 6e46 9f32 7f43 8280 ef8d 349f
Package : puppetlabs-release-pc1-1.1.0-5.el7.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-puppet-PC1
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : puppet-agent-1.10.1-1.el7.x86_64 1/1
Verifying : puppet-agent-1.10.1-1.el7.x86_64 1/1
Installed:
puppet-agent.x86_64 0:1.10.1-1.el7
Complete!
centos executed in 12.76 seconds
centos 16:15:46$ echo "/opt/puppetlabs/bin"
/opt/puppetlabs/bin
centos executed in 0.05 seconds
centos 16:15:46$ echo "/opt/puppet-git-repos/hiera/bin"
/opt/puppet-git-repos/hiera/bin
centos executed in 0.01 seconds
centos 16:15:46$ grep ^PATH=.*\/opt\/puppetlabs\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
PATH=/opt/puppetlabs/bin:/opt/puppet-git-repos/hiera/bin:PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
centos executed in 0.01 seconds
centos 16:15:46$ grep ^PATH=.*PATH ~/.ssh/environment
PATH=/opt/puppetlabs/bin:/opt/puppet-git-repos/hiera/bin:PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
centos executed in 0.01 seconds
"hello world"
{:FACTER_role=>"zipi", :FACTER_ap_env=>"dev"}
"goodbye world"
centos 16:15:46$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
localhost $ scp /var/folders/6n/gmsf88x13k98lwb4z45r1mjr0000gq/T/beaker20170524-78827-zdbkq6 centos:/etc/puppetlabs/code/hiera.yaml {:ignore => }
centos 16:15:46$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/modules/ec2tags to /etc/puppetlabs/code/modules/ec2tags
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/modules/ec2tags centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:46$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/modules/profile_base to /etc/puppetlabs/code/modules/profile_base
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/modules/profile_base centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:48$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/accounts to /etc/puppetlabs/code/modules/accounts
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/accounts centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:48$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/apt to /etc/puppetlabs/code/modules/apt
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/apt centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:50$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/archive to /etc/puppetlabs/code/modules/archive
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/archive centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:52$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/augeasproviders_core to /etc/puppetlabs/code/modules/augeasproviders_core
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/augeasproviders_core centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:53$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/augeasproviders_shellvar to /etc/puppetlabs/code/modules/augeasproviders_shellvar
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/augeasproviders_shellvar centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:54$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/ca_cert to /etc/puppetlabs/code/modules/ca_cert
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/ca_cert centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:54$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/epel to /etc/puppetlabs/code/modules/epel
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/epel centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:55$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/filebeat to /etc/puppetlabs/code/modules/filebeat
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/filebeat centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:55$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/firewall to /etc/puppetlabs/code/modules/firewall
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/firewall centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:56$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/gpg_key to /etc/puppetlabs/code/modules/gpg_key
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/gpg_key centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:57$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/inifile to /etc/puppetlabs/code/modules/inifile
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/inifile centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:57$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/limits to /etc/puppetlabs/code/modules/limits
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/limits centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:58$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/nodejs to /etc/puppetlabs/code/modules/nodejs
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/nodejs centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:58$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/ntp to /etc/puppetlabs/code/modules/ntp
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/ntp centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:59$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/openvmtools to /etc/puppetlabs/code/modules/openvmtools
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/openvmtools centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:15:59$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/powershell to /etc/puppetlabs/code/modules/powershell
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/powershell centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:00$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/remote_file to /etc/puppetlabs/code/modules/remote_file
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/remote_file centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:00$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/selinux to /etc/puppetlabs/code/modules/selinux
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/selinux centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:01$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/sensu to /etc/puppetlabs/code/modules/sensu
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/sensu centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:04$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/snmp to /etc/puppetlabs/code/modules/snmp
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/snmp centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:05$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/stdlib to /etc/puppetlabs/code/modules/stdlib
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/stdlib centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:12$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/sudo to /etc/puppetlabs/code/modules/sudo
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/sudo centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:13$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/timezone to /etc/puppetlabs/code/modules/timezone
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/timezone centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:14$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/yum to /etc/puppetlabs/code/modules/yum
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/yum centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:15$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/yum_cron to /etc/puppetlabs/code/modules/yum_cron
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/thirdparty/yum_cron centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:15$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/site/profile to /etc/puppetlabs/code/modules/profile
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/site/profile centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
centos 16:16:16$ echo /etc/puppetlabs/code/modules
/etc/puppetlabs/code/modules
centos executed in 0.01 seconds
Using scp to transfer /Users/cdenneen/src/gitlab/zipiapi-puppet/site/role to /etc/puppetlabs/code/modules/role
localhost $ scp /Users/cdenneen/src/gitlab/zipiapi-puppet/site/role centos:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
zipi
should be able to configure a host as server on zipi server (FAILED - 1)
Service "nodezip.service"
centos 16:16:17$ /bin/sh -c ls\ /etc/os-release
/etc/os-release
centos executed in 0.01 seconds
centos 16:16:17$ /bin/sh -c zypper\ -V
/bin/sh: zypper: command not found
centos executed in 0.01 seconds
Exited: 127
centos 16:16:17$ /bin/sh -c uname\ -sr
Linux 4.7.2
centos executed in 0.01 seconds
centos 16:16:17$ /bin/sh -c ls\ /etc/fedora-release
ls: cannot access /etc/fedora-release: No such file or directory
centos executed in 0.02 seconds
Exited: 2
centos 16:16:17$ /bin/sh -c ls\ /etc/redhat-release
/etc/redhat-release
centos executed in 0.01 seconds
centos 16:16:17$ /bin/sh -c cat\ /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
centos executed in 0.01 seconds
centos 16:16:17$ /bin/sh -c uname\ -m
x86_64
centos executed in 0.01 seconds
centos 16:16:17$ /bin/sh -c systemctl\ is-active\ nodezip.service
unknown
centos executed in 0.01 seconds
Exited: 3
should be running (FAILED - 2)
centos 16:16:17$ /bin/sh -c systemctl\ --quiet\ is-enabled\ nodezip.service
Failed to get unit file state for nodezip.service: No such file or directory
centos executed in 0.01 seconds
Exited: 1
should be enabled (FAILED - 3)
Service "nodezipjob.service"
centos 16:16:17$ /bin/sh -c systemctl\ is-active\ nodezipjob.service
unknown
centos executed in 0.02 seconds
Exited: 3
should be running (FAILED - 4)
centos 16:16:17$ /bin/sh -c systemctl\ --quiet\ is-enabled\ nodezipjob.service
Failed to get unit file state for nodezipjob.service: No such file or directory
centos executed in 0.01 seconds
Exited: 1
should be enabled (FAILED - 5)
Command "curl localhost:8080"
exit_status
centos 16:16:17$ /bin/sh -c curl\ localhost:8080
% T o t a l % R e c e i ved % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed connect to localhost:8080; Connection refused
centos executed in 0.02 seconds
Exited: 7
should eq 0 (FAILED - 6)
stdout
should match /\"app-name\":\"ZipService\"/ (FAILED - 7)
Command "curl localhost:8081"
exit_status
centos 16:16:17$ /bin/sh -c curl\ localhost:8081
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed connect t o localhost:8081; Connection refused
centos executed in 0.03 seconds
Exited: 7
should eq 0 (FAILED - 8)
stdout
should match /\"app-name\":\"ZipJobService\"/ (FAILED - 9)
ssh connection to centos has been terminated
Cleaning up docker
stop container 189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41
post
/v1.16/containers/189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41/stop
{}
{}
delete container 189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41
delete
/v1.16/containers/189b02b8aecff660d25c7e2243dbd52e1e238755d2edb1763e6078972930de41
{}
delete image d14f0ae7b02c
delete
/v1.16/images/d14f0ae7b02c
{}
Failures:
1) zipi should be able to configure a host as server on zipi server
Failure/Error: apply_manifest_on(host, pp, :acceptable_exit_codes=>[0,2],:environment => $puppet_env, :trace =>true, :modulepath => "/tmp/#{proj_name}/site:/tmp/#{proj_name}/thirdparty:/tmp/#{proj_name}/modules")
NameError:
undefined local variable or method `proj_name' for #<RSpec::ExampleGroups::Zipi:0x007fedd96b7578>
# ./spec/acceptance/zipi_spec.rb:22:in `block (2 levels) in <top (required)>'
2) zipi Service "nodezip.service" should be running
Failure/Error: it { is_expected.to be_running }
expected Service "nodezip.service" to be running
# ./spec/acceptance/zipi_spec.rb:27:in `block (3 levels) in <top (required)>'
3) zipi Service "nodezip.service" should be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "nodezip.service" to be enabled
# ./spec/acceptance/zipi_spec.rb:28:in `block (3 levels) in <top (required)>'
4) zipi Service "nodezipjob.service" should be running
Failure/Error: it { is_expected.to be_running }
expected Service "nodezipjob.service" to be running
# ./spec/acceptance/zipi_spec.rb:31:in `block (3 levels) in <top (required)>'
5) zipi Service "nodezipjob.service" should be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "nodezipjob.service" to be enabled
# ./spec/acceptance/zipi_spec.rb:32:in `block (3 levels) in <top (required)>'
6) zipi Command "curl localhost:8080" exit_status should eq 0
Failure/Error: its(:exit_status) { should eq 0 }
expected: 0
got: 7
(compared using ==)
# ./spec/acceptance/zipi_spec.rb:44:in `block (3 levels) in <top (required)>'
7) zipi Command "curl localhost:8080" stdout should match /\"app-name\":\"ZipService\"/
Failure/Error: its(:stdout) { should match(/\"app-name\":\"ZipService\"/) }
expected "" to match /\"app-name\":\"ZipService\"/
Diff:
@@ -1,2 +1,2 @@
-/\"app-name\":\"ZipService\"/
+""
# ./spec/acceptance/zipi_spec.rb:45:in `block (3 levels) in <top (required)>'
8) zipi Command "curl localhost:8081" exit_status should eq 0
Failure/Error: its(:exit_status) { should eq 0 }
expected: 0
got: 7
(compared using ==)
# ./spec/acceptance/zipi_spec.rb:49:in `block (3 levels) in <top (required)>'
9) zipi Command "curl localhost:8081" stdout should match /\"app-name\":\"ZipJobService\"/
Failure/Error: its(:stdout) { should match(/\"app-name\":\"ZipJobService\"/) }
expected "" to match /\"app-name\":\"ZipJobService\"/
Diff:
@@ -1,2 +1,2 @@
-/\"app-name\":\"ZipJobService\"/
+""
# ./spec/acceptance/zipi_spec.rb:50:in `block (3 levels) in <top (required)>'
Finished in 34.15 seconds (files took 39.8 seconds to load)
9 examples, 9 failures
Failed examples:
rspec ./spec/acceptance/zipi_spec.rb:17 # zipi should be able to configure a host as server on zipi server
rspec ./spec/acceptance/zipi_spec.rb:27 # zipi Service "nodezip.service" should be running
rspec ./spec/acceptance/zipi_spec.rb:28 # zipi Service "nodezip.service" should be enabled
rspec ./spec/acceptance/zipi_spec.rb:31 # zipi Service "nodezipjob.service" should be running
rspec ./spec/acceptance/zipi_spec.rb:32 # zipi Service "nodezipjob.service" should be enabled
rspec ./spec/acceptance/zipi_spec.rb:44 # zipi Command "curl localhost:8080" exit_status should eq 0
rspec ./spec/acceptance/zipi_spec.rb:45 # zipi Command "curl localhost:8080" stdout should match /\"app-name\":\"ZipService\"/
rspec ./spec/acceptance/zipi_spec.rb:49 # zipi Command "curl localhost:8081" exit_status should eq 0
rspec ./spec/acceptance/zipi_spec.rb:50 # zipi Command "curl localhost:8081" stdout should match /\"app-name\":\"ZipJobService\"/
/opt/rubies/2.1.8/bin/ruby -I/Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/rspec-core-3.6.0/lib:/Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/rspec-support-3.6.0/lib /Users/cdenneen/src/gitlab/zipiapi-puppet/.bundle/gems/rspec-core-3.6.0/exe/rspec spec/acceptance --color failed
require 'beaker-rspec'
require 'beaker/puppet_install_helper'
require 'beaker/module_install_helper'
run_puppet_install_helper
$puppet_env=Hash.new
RSpec.configure do |c|
proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
proj_name = proj_root.split('/').last
# Readable test descriptions
c.formatter = :documentation
# Configure all nodes in nodeset
c.before :suite do
hosts.each do |host|
if host[:hypervisor] == "vagrant"
$puppet_env[:FACTER_vm_type]= 'vagrant'
end
target_module_dir = on( host, "echo #{host['distmoduledir']}" ).stdout.chomp
host['hieradatadir'] = "/tmp/#{proj_name}/hieradata"
hierarchy= [
'role/%{role}/%{ap_env}/%{ap_region}',
'role/%{role}/%{ap_env}/%{datacenter}/%{securityzone}',
'role/%{role}/%{ap_env}/%{datacenter}',
'role/%{role}/%{ap_env}',
'role/%{role}',
'region/%{ap_region}',
'dc/%{datacenter}/%{securityzone}',
'dc/%{datacenter}',
'common'
]
hiera_config=Hash.new
hiera_config[:backends] = 'yaml'
hiera_config[:yaml] = {}
hiera_config[:yaml][:datadir] = hiera_datadir(host)
hiera_config[:hierarchy] = hierarchy
hiera_config[:logger] = 'console'
if host['platform'] =~ /windows/ then
hiera_config_path = 'C:/ProgramData/PuppetLabs/puppet/etc/hiera.yaml'
else
hiera_config_path = '/etc/puppetlabs/code/hiera.yaml'
end
create_remote_file host, hiera_config_path, hiera_config.to_yaml
Dir.foreach("#{proj_root}/modules/") do |fname|
next if fname == '.' or fname == '..'
puppet_module_install(:source => "#{proj_root}/modules/#{fname}", :module_name => fname)
end
Dir.foreach("#{proj_root}/thirdparty/") do |fname|
next if fname == '.' or fname == '..'
puppet_module_install(:source => "#{proj_root}/thirdparty/#{fname}", :module_name => fname)
end
puppet_module_install(:source => "#{proj_root}/site/profile", :module_name => 'profile')
puppet_module_install(:source => "#{proj_root}/site/role", :module_name => 'role')
end
end
end
require 'spec_helper_acceptance'
describe 'zipi' do
puppet_env[:FACTER_role]= 'zipi'
puppet_env[:FACTER_ap_env] = if ENV['ap_env'] then
ENV['ap_env']
else
'dev'
end
p "hello world"
p $puppet_env
p "goodbye world"
it "should be able to configure a host as server on zipi server" do
pp = <<-EOS
include ::role::zipi
EOS
# Run it twice and test for idempotency
apply_manifest_on(host, pp, :acceptable_exit_codes=>[0,2],:environment => puppet_env, :trace =>true, :modulepath => "/tmp/#{proj_name}/site:/tmp/#{proj_name}/thirdparty:/tmp/#{proj_name}/modules")
apply_manifest_on(host, pp, :acceptable_exit_codes=>[0,2],:environment => puppet_env, :trace =>true ,:modulepath => "/tmp/#{proj_name}/site:/tmp/#{proj_name}/thirdparty:/tmp/#{proj_name}/modules")
end
describe service('nodezip.service') do
it { is_expected.to be_running }
it { is_expected.to be_enabled }
end
describe service('nodezipjob.service') do
it { is_expected.to be_running }
it { is_expected.to be_enabled }
end
describe command('curl localhost:8080') do
its(:exit_status) { should eq 0 }
its(:stdout) { should match(/\"app-name\":\"ZipService\"/) }
end
describe command('curl localhost:8081') do
its(:exit_status) { should eq 0 }
its(:stdout) { should match(/\"app-name\":\"ZipJobService\"/) }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment