Created
May 24, 2011 01:00
-
-
Save glarizza/987964 to your computer and use it in GitHub Desktop.
Vagrant Output for matching nodes
This file contains hidden or 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
| garys-mbp:mcollective-demo gary$ vagrant up b | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/kramdown-0.13.3.gemspec:10. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/RedCloth-4.2.7.gemspec:10. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/rubygems-update-1.8.3.gemspec:11. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/slideshow-0.9.5.gemspec:10. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Users/gary/.gem/ruby/1.8/specifications/RedCloth-4.2.7.gemspec:10. | |
| [b] Fixed port collision 'ssh'. Now on port 2200. | |
| [b] Provisioning enabled with puppet... | |
| [b] Provisioning enabled with puppet... | |
| [b] Importing base box 'puppet-centos-55-64'... | |
| [b] Matching MAC address for NAT networking... | |
| [b] Running any VM customizations... | |
| [b] Clearing any previously set forwarded ports... | |
| [b] Forwarding ports... | |
| [b] -- ssh: 22 => 2200 (adapter 1) | |
| [b] Creating shared folders metadata... | |
| [b] Preparing host only network... | |
| [b] Booting VM... | |
| [b] Waiting for VM to boot. This can take a few minutes. | |
| [b] VM booted and ready for use! | |
| [b] Enabling host only network... | |
| [b] Setting host name... | |
| [b] Mounting shared folders... | |
| [b] -- v-root: /vagrant | |
| [b] -- manifests: /tmp/vagrant-puppet/manifests | |
| [b] -- v-pp-m0: /tmp/vagrant-puppet/modules-0 | |
| [b] Running provisioner: Vagrant::Provisioners::Puppet... | |
| [b] Running Puppet with site.pp... | |
| [b] notice: Scope(Node[aserver]): I'm in the aserver node with hostname bserver and fqdn bserver.puppetlabs.lan. | |
| [b] | |
| [b] info: Applying configuration version '1306197988' | |
| [b] | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Package[java-1.6.0-openjdk]/ensure: created | |
| [b] info: create new repo mnx-repo in file /etc/yum.repos.d/mnx-repo.repo | |
| [b] | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Yumrepo[mnx-repo]/descr: descr changed '' to 'MNX Solutions Repo' | |
| [b] | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Yumrepo[mnx-repo]/baseurl: baseurl changed '' to 'http://yum.mnxsolutions.com/' | |
| [b] | |
| notice: /Stage[pre]/Vagrant::Yum/Yumrepo[mnx-repo]/enabled: enabled changed '' to '1' | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Yumrepo[mnx-repo]/gpgcheck: gpgcheck changed '' to '0' | |
| [b] | |
| [b] info: changing mode of /etc/yum.repos.d/mnx-repo.repo from 600 to 644 | |
| [b] | |
| [b] info: create new repo puppet-prosvc in file /etc/yum.repos.d/puppet-prosvc.repo | |
| [b] | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Yumrepo[puppet-prosvc]/descr: descr changed '' to 'Puppet Professional Services Module' | |
| [b] | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Yumrepo[puppet-prosvc]/baseurl: baseurl changed '' to 'http://yum.puppetlabs.com/prosvc/5/x86_64' | |
| [b] | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Yumrepo[puppet-prosvc]/enabled: enabled changed '' to '1' | |
| [b] | |
| [b] notice: /Stage[pre]/Vagrant::Yum/Yumrepo[puppet-prosvc]/gpgcheck: gpgcheck changed '' to '0' | |
| [b] | |
| info: changing mode of /etc/yum.repos.d/puppet-prosvc.repo from 600 to 644 | |
| [b] notice: /Stage[main]/Activemq::Pkg::Redhat/Package[activemq]/ensure: created | |
| [b] err: /Stage[main]//Node[aserver]/Exec[certname]/returns: change from notrun to 0 failed: Could not find executable '/usr/bin/puppet' | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective/Host[stomp]/ensure: created | |
| [b] | |
| [b] info: FileBucket adding {md5}df87c01bada7f069c3e7f5bae9398083 | |
| [b] | |
| [b] info: /Stage[main]/Mcollective/Host[stomp]: Scheduling refresh of Service[mcollective] | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Pkg::Redhat/Package[rubygem-stomp]/ensure: created | |
| [b] notice: /Stage[main]/Mcollective::Client::Pkg/Package[mcollective-client]/ensure: created | |
| [b] notice: /Stage[main]/Mcollective::Client::Config/File[client_config]/ensure: defined content as '{md5}028283b4db613b47465b61309c1d1979' | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Pkg/Package[mcollective]/ensure: created | |
| [b] notice: /Stage[main]/Mcollective::Plugins/File[/usr/libexec/mcollective/mcollective/util]/ensure: created | |
| [b] | |
| [b] info: /Stage[main]/Mcollective::Plugins/File[/usr/libexec/mcollective/mcollective/util]: Scheduling refresh of Service[mcollective] | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/libexec/mcollective/mcollective/agent/service.rb]/ensure: defined content as '{md5}408a3b826aa4f5f9f29eaa184ef5b130' | |
| [b] | |
| [b] info: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/libexec/mcollective/mcollective/agent/service.rb]: Scheduling refresh of Service[mcollective] | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/libexec/mcollective/mcollective/agent/package.rb]/ensure: defined content as '{md5}12f0bf7539d0c82d8d1ed53237644877' | |
| [b] | |
| [b] info: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/libexec/mcollective/mcollective/agent/package.rb]: Scheduling refresh of Service[mcollective] | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/libexec/mcollective/mcollective/agent/package.ddl]/ensure: defined content as '{md5}09e309f7bd4efadaf9add9d8efe10a83' | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/libexec/mcollective/mcollective/agent/service.ddl]/ensure: defined content as '{md5}69002f2e5494ccbfd191b0272c2753cf' | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[facter_facts]/File[/usr/libexec/mcollective/mcollective/facts/facter_facts.rb]/ensure: defined content as '{md5}1c39d16557ea71b99884a0df137d8582' | |
| [b] | |
| [b] info: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[facter_facts]/File[/usr/libexec/mcollective/mcollective/facts/facter_facts.rb]: Scheduling refresh of Service[mcollective] | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[package]/File[/usr/libexec/mcollective/mcollective/application/package.rb]/ensure: defined content as '{md5}eed0685132cc1961d7b3b683b8536c22' | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Base/Mcollective::Plugins::Plugin[service]/File[/usr/libexec/mcollective/mcollective/application/service.rb]/ensure: defined content as '{md5}7dfd6bf679c7ede79e575eb939f7beb7' | |
| [b] | |
| [b] info: FileBucket adding {md5}84635b99a2d5d672dc7989e8ce642ac2 | |
| [b] | |
| info: /Stage[main]/Mcollective::Server::Config/File[server_config]: Filebucketed /etc/mcollective/server.cfg to puppet with sum 84635b99a2d5d672dc7989e8ce642ac2 | |
| notice: /Stage[main]/Mcollective::Server::Config/File[server_config]/content: content changed '{md5}84635b99a2d5d672dc7989e8ce642ac2' to '{md5}45a06cdb4d166b58d9d7b64f5e93ccbf' | |
| [b] info: /Stage[main]/Mcollective::Server::Config/File[server_config]: Scheduling refresh of Service[mcollective] | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Service/Service[mcollective]/ensure: ensure changed 'stopped' to 'running' | |
| [b] | |
| [b] notice: /Stage[main]/Mcollective::Server::Service/Service[mcollective]: Triggered 'refresh' from 6 events | |
| [b] | |
| [b] notice: /Stage[main]/Vagrant::Fixes/Host[bserver]/ip: ip changed '127.0.0.1' to '127.0.1.1' | |
| [b] | |
| [b] notice: /Stage[main]/Vagrant::Fixes/Host[bserver]/host_aliases: host_aliases changed 'centos5.vagrant.internal centos5 localhost.localdomain localhost' to 'bserver.vagrant.internal' | |
| [b] | |
| [b] info: FileBucket adding {md5}6033e5884afe97a6058d6a4c744ce7f7 | |
| [b] | |
| [b] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Filebucketed /etc/activemq/activemq.xml to puppet with sum 6033e5884afe97a6058d6a4c744ce7f7 | |
| [b] | |
| [b] notice: /Stage[main]/Activemq::Config/File[activemq_conf]/content: content changed '{md5}6033e5884afe97a6058d6a4c744ce7f7' to '{md5}8f6ab6f3ccf4b5d453cd5ed913838ccf' | |
| [b] | |
| [b] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Scheduling refresh of Service[activemq] | |
| [b] | |
| [b] info: /Stage[main]/Activemq::Config/File[activemq_conf]: Scheduling refresh of Service[activemq] | |
| [b] | |
| [b] notice: /Stage[main]/Activemq::Service/Service[activemq]: Triggered 'refresh' from 2 events | |
| [b] info: Creating state file /var/lib/puppet/state/state.yaml | |
| [b] | |
| [b] notice: Finished catalog run in 342.57 seconds | |
| [b] | |
| [b] | |
| [b] Running provisioner: Vagrant::Provisioners::Puppet... | |
| [b] Running Puppet with site.pp... | |
| [b] info: Applying configuration version '1306198372' | |
| [b] notice: Finished catalog run in 5.82 seconds | |
| [b] | |
| [b] | |
| garys-mbp:mcollective-demo gary$ vagrant ssh b | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/kramdown-0.13.3.gemspec:10. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/RedCloth-4.2.7.gemspec:10. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/rubygems-update-1.8.3.gemspec:11. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/slideshow-0.9.5.gemspec:10. | |
| NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
| Gem::Specification#default_executable= called from /Users/gary/.gem/ruby/1.8/specifications/RedCloth-4.2.7.gemspec:10. | |
| Last login: Fri Mar 11 12:40:31 2011 from 10.0.2.2 | |
| [vagrant@bserver ~]$ which puppet | |
| /usr/local/bin/puppet | |
| [vagrant@bserver ~]$ cd /tmp/vagrant-puppet/manifests/ | |
| [vagrant@bserver manifests]$ puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| notice: Scope(Node[aserver]): I'm in the aserver node with hostname bserver and fqdn bserver.puppetlabs.lan. | |
| Could not read file server_config: Permission denied - /etc/mcollective/server.cfg | |
| [vagrant@bserver manifests]$ sudo !! | |
| sudo puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| notice: Scope(Node[aserver]): I'm in the aserver node with hostname bserver and fqdn bserver.puppetlabs.lan. | |
| info: Applying configuration version '1306198445' | |
| notice: /Stage[main]//Node[aserver]/Exec[certname]/returns: bserver.puppetlabs.lan | |
| notice: /Stage[main]//Node[aserver]/Exec[certname]/returns: executed successfully | |
| notice: Finished catalog run in 9.09 seconds | |
| [vagrant@bserver manifests]$ ls | |
| site.pp | |
| [vagrant@bserver manifests]$ puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| notice: Scope(Node[aserver]): I'm in the aserver node with hostname bserver and fqdn bserver.puppetlabs.lan. | |
| Could not read file server_config: Permission denied - /etc/mcollective/server.cfg | |
| [vagrant@bserver manifests]$ sudo !! | |
| sudo puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| notice: Scope(Node[aserver]): I'm in the aserver node with hostname bserver and fqdn bserver.puppetlabs.lan. | |
| info: Applying configuration version '1306198601' | |
| notice: /Stage[main]//Node[aserver]/Exec[certname]/returns: bserver.puppetlabs.lan | |
| notice: /Stage[main]//Node[aserver]/Exec[certname]/returns: executed successfully | |
| notice: Finished catalog run in 7.90 seconds | |
| [vagrant@bserver manifests]$ cat site.pp | |
| node default { | |
| class { 'vagrant': } | |
| class { 'mcollective::server::base': } | |
| } | |
| node 'aserver' { | |
| class { 'vagrant': } | |
| class { 'activemq::base': } | |
| class { 'mcollective::server::base': } | |
| notice("I'm in the aserver node with hostname ${hostname} and fqdn ${fqdn}.") | |
| exec { 'certname': | |
| command => '/usr/local/bin/puppet --configprint certname', | |
| logoutput => true, | |
| } | |
| class { 'mcollective::client::base': } | |
| } | |
| [vagrant@bserver manifests]$ cat site.pp | |
| node default { | |
| class { 'vagrant': } | |
| class { 'mcollective::server::base': } | |
| } | |
| node aserver { | |
| class { 'vagrant': } | |
| class { 'activemq::base': } | |
| class { 'mcollective::server::base': } | |
| notice("I'm in the aserver node with hostname ${hostname} and fqdn ${fqdn}.") | |
| exec { 'certname': | |
| command => '/usr/local/bin/puppet --configprint certname', | |
| logoutput => true, | |
| } | |
| class { 'mcollective::client::base': } | |
| } | |
| [vagrant@bserver manifests]$ puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| notice: Scope(Node[aserver]): I'm in the aserver node with hostname bserver and fqdn bserver.puppetlabs.lan. | |
| Could not read file server_config: Permission denied - /etc/mcollective/server.cfg | |
| [vagrant@bserver manifests]$ sudo !! | |
| sudo puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| notice: Scope(Node[aserver]): I'm in the aserver node with hostname bserver and fqdn bserver.puppetlabs.lan. | |
| info: Applying configuration version '1306198652' | |
| notice: /Stage[main]//Node[aserver]/Exec[certname]/returns: bserver.puppetlabs.lan | |
| notice: /Stage[main]//Node[aserver]/Exec[certname]/returns: executed successfully | |
| notice: Finished catalog run in 11.76 seconds | |
| [vagrant@bserver manifests]$ sudo puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| Could not parse for environment production: Syntax error at '.' at /tmp/vagrant-puppet/manifests/site.pp:6 on node aserver | |
| [vagrant@bserver manifests]$ sudo puppet -v --vardir=/var/lib/puppet --ssldir=/var/lib/puppet/ssl --certname=aserver --modulepath '/tmp/vagrant-puppet/modules-0' site.pp | |
| info: Applying configuration version '1306198700' | |
| notice: Finished catalog run in 9.78 seconds | |
| [vagrant@bserver manifests]$ cat site.pp | |
| node default { | |
| class { 'vagrant': } | |
| class { 'mcollective::server::base': } | |
| } | |
| node "aserver.puppetlabs.lan" { | |
| class { 'vagrant': } | |
| class { 'activemq::base': } | |
| class { 'mcollective::server::base': } | |
| notice("I'm in the aserver node with hostname ${hostname} and fqdn ${fqdn}.") | |
| exec { 'certname': | |
| command => '/usr/local/bin/puppet --configprint certname', | |
| logoutput => true, | |
| } | |
| class { 'mcollective::client::base': } | |
| } | |
| [vagrant@bserver manifests]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment