Giter Club home page Giter Club logo

Comments (8)

apenney avatar apenney commented on May 26, 2024

Hi,

First thanks for the detailed bug report! I am gearing up to do a rc release of 3.0.0 that completely refactors and rewrites this module. I've made extensive changes to almost all pieces of it so I'd really appreciate it if you could grab the latest version from git (master, that is), and retest.

You will need to tweak how you call the class so it's more like:

class { 'rabbitmq::repo::apt':
pin => 900,
before => Class['rabbitmq::install']
}

class { 'rabbitmq':
port => '5673',
delete_guest_user => true,
}

As I've removed the ::server class completely. I think it should work much better for you with the current version. I'll release a 3.0.0rc into the forge today so you can puppet module install it in future!

from puppet-rabbitmq.

nfelger avatar nfelger commented on May 26, 2024

Hey, thanks for the quick response! I just tried running this with the latest master (24ee1de), but am now getting this error:

$ vagrant provision
[default] Running provisioner: puppet...
Running Puppet with site.pp...
stdin: is not a tty
info: Loading facts in /tmp/vagrant-puppet/modules-0/rabbitmq/lib/facter/rabbitmq_erlang_cookie.rb
info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/facter_dot_d.rb
info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/pe_version.rb
info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/puppet_vardir.rb
info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/root_home.rb
debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/init.pp' in environment production
debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/install.pp' in environment production
debug: Automatically imported rabbitmq::install from rabbitmq/install into production
debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/repo/apt.pp' in environment production
debug: Automatically imported rabbitmq::repo::apt from rabbitmq/repo/apt into production
debug: Scope(Class[Rabbitmq::Repo::Apt]): Retrieving template rabbitmq/rabbit.pub.key.erb
debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb in 0.00 seconds
debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb in 0.00 seconds
debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/init.pp' in environment production
debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/source.pp' in environment production
debug: Automatically imported apt::source from apt/source into production
debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/pin.pp' in environment production
debug: Automatically imported apt::pin from apt/pin into production
debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/params.pp' in environment production
debug: Automatically imported rabbitmq::params from rabbitmq/params into production
debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/service.pp' in environment production
debug: Automatically imported rabbitmq::service from rabbitmq/service into production
debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/config.pp' in environment production
debug: Automatically imported rabbitmq::config from rabbitmq/config into production
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Scope(Class[Rabbitmq::Config]): Retrieving template rabbitmq/rabbitmq.config.erb
debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb in 0.00 seconds
debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb in 0.00 seconds
debug: Scope(Class[Rabbitmq::Config]): Retrieving template rabbitmq/rabbitmq-env.conf.erb
debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb in 0.00 seconds
debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb in 0.00 seconds
debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/install/rabbitmqadmin.pp' in environment production
debug: Automatically imported rabbitmq::install::rabbitmqadmin from rabbitmq/install/rabbitmqadmin into production
debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/params.pp' in environment production
debug: Automatically imported apt::params from apt/params into production
debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/update.pp' in environment production
debug: Automatically imported apt::update from apt/update into production
debug: Scope(Apt::Source[rabbitmq]): Retrieving template apt/source.list.erb
debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb in 0.00 seconds
debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb in 0.00 seconds
debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/key.pp' in environment production
debug: Automatically imported apt::key from apt/key into production
debug: Scope(Apt::Pin[rabbitmq]): Retrieving template apt/pin.pref.erb
debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb in 0.00 seconds
debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb in 0.00 seconds
debug: Adding relationship from Class[Rabbitmq::Repo::Apt] to Package[rabbitmq-server] with 'before'
undefined method `<<' for {}:Hash on node precise64.wml.local
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

cd /tmp/vagrant-puppet/manifests && puppet apply --debug --verbose --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' site.pp --detailed-exitcodes || [ $? -eq 2 ]

from puppet-rabbitmq.

apenney avatar apenney commented on May 26, 2024

Hmm, this one is weird!

debug: Adding relationship from Class[Rabbitmq::Repo::Apt] to Package[rabbitmq-server] with 'before'
undefined method `<<' for {}:Hash on node precise64.wml.local is the error you see, but that doesn't make any sense as far as I understand.

I just ran the test suite against ubuntu precise and got:

Finished in 3 minutes 11.6 seconds
31 examples, 0 failures

So I don't understand what's happening I'm afraid! It must be somehow vagrant specific.

from puppet-rabbitmq.

nfelger avatar nfelger commented on May 26, 2024

Ok, so I did a tiny bit more digging, and found an issue (http://projects.puppetlabs.com/issues/7422) that led me to believe that maybe the puppet version Vagrant installs (2.7.19) isn't recent enough.

So I installed the latest gem (3.2.3), and also took Vagrant out of the equation by running puppet manually on the VM.

Now I'm getting a more expressive error, but still don't know what to do with it. Does this mean anything to you?

vagrant@precise64:/vagrant$ puppet apply --debug --verbose --modulepath modules manifests/site.pp
Info: Loading facts in /vagrant/modules/rabbitmq/lib/facter/rabbitmq_erlang_cookie.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/root_home.rb
Debug: importing '/vagrant/modules/rabbitmq/manifests/init.pp' in environment production
Debug: importing '/vagrant/modules/rabbitmq/manifests/install.pp' in environment production
Debug: Automatically imported rabbitmq::install from rabbitmq/install into production
Debug: importing '/vagrant/modules/rabbitmq/manifests/repo/apt.pp' in environment production
Debug: Automatically imported rabbitmq::repo::apt from rabbitmq/repo/apt into production
Debug: Scope(Class[Rabbitmq::Repo::Apt]): Retrieving template rabbitmq/rabbit.pub.key.erb
Debug: template[/vagrant/modules/rabbitmq/templates/rabbit.pub.key.erb]: Bound template variables for /vagrant/modules/rabbitmq/templates/rabbit.pub.key.erb in 0.00 seconds
Debug: template[/vagrant/modules/rabbitmq/templates/rabbit.pub.key.erb]: Interpolated template /vagrant/modules/rabbitmq/templates/rabbit.pub.key.erb in 0.00 seconds
Debug: importing '/vagrant/modules/apt/manifests/init.pp' in environment production
Debug: importing '/vagrant/modules/apt/manifests/source.pp' in environment production
Debug: Automatically imported apt::source from apt/source into production
Debug: importing '/vagrant/modules/apt/manifests/pin.pp' in environment production
Debug: Automatically imported apt::pin from apt/pin into production
Debug: importing '/vagrant/modules/rabbitmq/manifests/params.pp' in environment production
Debug: Automatically imported rabbitmq::params from rabbitmq/params into production
Warning: Config file /home/vagrant/.puppet/hiera.yaml not found, using Hiera defaults
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(): Looking up rabbitmq::version in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::env_config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::wipe_db_on_cookie_change in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_provider in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service_manage in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::erlang_cookie in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::cluster_disk_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::management_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::erlang_manage in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_source in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::cluster_node_type in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::plugin_dir in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config_mirrored_queues in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::admin_enable in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::stomp_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config_stomp in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config_cluster in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::cluster_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::node_ip_address in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::env_config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::manage_service in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_provider in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_source in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: importing '/vagrant/modules/rabbitmq/manifests/service.pp' in environment production
Debug: Automatically imported rabbitmq::service from rabbitmq/service into production
Debug: importing '/vagrant/modules/rabbitmq/manifests/config.pp' in environment production
Debug: Automatically imported rabbitmq::config from rabbitmq/config into production
Debug: hiera(): Looking up rabbitmq::config::env_config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::wipe_db_on_cookie_change in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::erlang_cookie in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::cluster_disk_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::cluster_node_type in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::plugin_dir in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config_mirrored_queues in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::stomp_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::delete_guest_user in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config_stomp in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config_cluster in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::cluster_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::service_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::node_ip_address in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::env_config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: Scope(Class[Rabbitmq::Config]): Retrieving template rabbitmq/rabbitmq.config.erb
Debug: template[/vagrant/modules/rabbitmq/templates/rabbitmq.config.erb]: Bound template variables for /vagrant/modules/rabbitmq/templates/rabbitmq.config.erb in 0.00 seconds
Debug: template[/vagrant/modules/rabbitmq/templates/rabbitmq.config.erb]: Interpolated template /vagrant/modules/rabbitmq/templates/rabbitmq.config.erb in 0.00 seconds
Debug: Scope(Class[Rabbitmq::Config]): Retrieving template rabbitmq/rabbitmq-env.conf.erb
Debug: template[/vagrant/modules/rabbitmq/templates/rabbitmq-env.conf.erb]: Bound template variables for /vagrant/modules/rabbitmq/templates/rabbitmq-env.conf.erb in 0.00 seconds
Debug: template[/vagrant/modules/rabbitmq/templates/rabbitmq-env.conf.erb]: Interpolated template /vagrant/modules/rabbitmq/templates/rabbitmq-env.conf.erb in 0.00 seconds
Debug: hiera(): Looking up rabbitmq::service::service_manage in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service::service_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service::service_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: importing '/vagrant/modules/rabbitmq/manifests/install/rabbitmqadmin.pp' in environment production
Debug: Automatically imported rabbitmq::install::rabbitmqadmin from rabbitmq/install/rabbitmqadmin into production
Debug: hiera(): Looking up rabbitmq::install::rabbitmqadmin::management_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: importing '/vagrant/modules/apt/manifests/params.pp' in environment production
Debug: Automatically imported apt::params from apt/params into production
Debug: importing '/vagrant/modules/apt/manifests/update.pp' in environment production
Debug: Automatically imported apt::update from apt/update into production
Debug: Scope(Apt::Source[rabbitmq]): Retrieving template apt/source.list.erb
Debug: template[/vagrant/modules/apt/templates/source.list.erb]: Bound template variables for /vagrant/modules/apt/templates/source.list.erb in 0.00 seconds
Debug: template[/vagrant/modules/apt/templates/source.list.erb]: Interpolated template /vagrant/modules/apt/templates/source.list.erb in 0.00 seconds
Debug: importing '/vagrant/modules/apt/manifests/key.pp' in environment production
Debug: Automatically imported apt::key from apt/key into production
Debug: Scope(Apt::Pin[rabbitmq]): Retrieving template apt/pin.pref.erb
Debug: template[/vagrant/modules/apt/templates/pin.pref.erb]: Bound template variables for /vagrant/modules/apt/templates/pin.pref.erb in 0.00 seconds
Debug: template[/vagrant/modules/apt/templates/pin.pref.erb]: Interpolated template /vagrant/modules/apt/templates/pin.pref.erb in 0.00 seconds
Debug: Adding relationship from Class[Rabbitmq::Repo::Apt] to Package[rabbitmq-server] with 'before'
Debug: Adding relationship from Class[Rabbitmq::Service] to Rabbitmq_user[guest] with 'before'
Debug: Adding relationship from Class[Rabbitmq::Service] to Class[Rabbitmq::Install::Rabbitmqadmin] with 'before'
Debug: Adding relationship from Anchor[rabbitmq::begin] to Class[Rabbitmq::Install] with 'before'
Debug: Adding relationship from Class[Rabbitmq::Install] to Class[Rabbitmq::Config] with 'before'
Debug: Adding relationship from Class[Rabbitmq::Config] to Class[Rabbitmq::Service] with 'notify'
Debug: Adding relationship from Class[Rabbitmq::Service] to Anchor[rabbitmq::end] with 'before'
Debug: Adding relationship from Anchor[apt::key 056E8E56 present] to Anchor[apt::key/Add key: 056E8E56 from Apt::Source rabbitmq] with 'before'
Debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist
Debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist
Debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/sbin/portupgrade does not exist
Debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
Debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist
Debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist
Debug: Puppet::Type::Package::ProviderOpkg: file opkg does not exist
Debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist
Debug: Puppet::Type::Package::ProviderPkgin: file pkgin does not exist
Debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist
Debug: Puppet::Type::Package::ProviderNim: file /usr/bin/lslpp does not exist
Debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist
Debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist
Debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
Debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
Debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist
Debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
Debug: Puppet::Type::Package::ProviderYum: file rpm does not exist
Debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
Debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist
Debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/portupgrade does not exist
Debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not exist
Debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist
Debug: Puppet::Type::Service::ProviderSystemd: file systemctl does not exist
Debug: Puppet::Type::Service::ProviderRedhat: file /sbin/service does not exist
Debug: Puppet::Type::Service::ProviderOpenrc: file /sbin/rc-service does not exist
Debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
Debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
Debug: Creating default schedules
Debug: Using settings: adding file resource 'lastrunreport': 'File[/home/vagrant/.puppet/var/state/last_run_report.yaml]{:backup=>false, :ensure=>:file, :loglevel=>:debug, :links=>:follow, :mode=>"640", :path=>"/home/vagrant/.puppet/var/state/last_run_report.yaml"}'
Debug: Using settings: adding file resource 'publickeydir': 'File[/home/vagrant/.puppet/ssl/public_keys]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/home/vagrant/.puppet/ssl/public_keys"}'
Debug: Using settings: adding file resource 'privatedir': 'File[/home/vagrant/.puppet/ssl/private]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/home/vagrant/.puppet/ssl/private"}'
Debug: Using settings: adding file resource 'statefile': 'File[/home/vagrant/.puppet/var/state/state.yaml]{:backup=>false, :ensure=>:file, :loglevel=>:debug, :links=>:follow, :mode=>"660", :path=>"/home/vagrant/.puppet/var/state/state.yaml"}'
Debug: Using settings: adding file resource 'libdir': 'File[/home/vagrant/.puppet/var/lib]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/home/vagrant/.puppet/var/lib"}'
Debug: Using settings: adding file resource 'confdir': 'File[/home/vagrant/.puppet]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/home/vagrant/.puppet"}'
Debug: Using settings: adding file resource 'certdir': 'File[/home/vagrant/.puppet/ssl/certs]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/home/vagrant/.puppet/ssl/certs"}'
Debug: Using settings: adding file resource 'requestdir': 'File[/home/vagrant/.puppet/ssl/certificate_requests]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/home/vagrant/.puppet/ssl/certificate_requests"}'
Debug: Using settings: adding file resource 'clientyamldir': 'File[/home/vagrant/.puppet/var/client_yaml]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/home/vagrant/.puppet/var/client_yaml"}'
Debug: Using settings: adding file resource 'clientbucketdir': 'File[/home/vagrant/.puppet/var/clientbucket]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/home/vagrant/.puppet/var/clientbucket"}'
Debug: Using settings: adding file resource 'vardir': 'File[/home/vagrant/.puppet/var]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/home/vagrant/.puppet/var"}'
Debug: Using settings: adding file resource 'rundir': 'File[/home/vagrant/.puppet/var/run]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"1777", :path=>"/home/vagrant/.puppet/var/run"}'
Debug: Using settings: adding file resource 'statedir': 'File[/home/vagrant/.puppet/var/state]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"1755", :path=>"/home/vagrant/.puppet/var/state"}'
Debug: Using settings: adding file resource 'lastrunfile': 'File[/home/vagrant/.puppet/var/state/last_run_summary.yaml]{:backup=>false, :ensure=>:file, :loglevel=>:debug, :links=>:follow, :mode=>"644", :path=>"/home/vagrant/.puppet/var/state/last_run_summary.yaml"}'
Debug: Using settings: adding file resource 'ssldir': 'File[/home/vagrant/.puppet/ssl]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"771", :path=>"/home/vagrant/.puppet/ssl"}'
Debug: Using settings: adding file resource 'graphdir': 'File[/home/vagrant/.puppet/var/state/graphs]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/home/vagrant/.puppet/var/state/graphs"}'
Debug: Using settings: adding file resource 'privatekeydir': 'File[/home/vagrant/.puppet/ssl/private_keys]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/home/vagrant/.puppet/ssl/private_keys"}'
Debug: Using settings: adding file resource 'client_datadir': 'File[/home/vagrant/.puppet/var/client_data]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/home/vagrant/.puppet/var/client_data"}'
Debug: Using settings: adding file resource 'logdir': 'File[/home/vagrant/.puppet/var/log]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/home/vagrant/.puppet/var/log"}'
Debug: Failed to load library 'shadow' for feature 'libshadow'
Debug: /File[/home/vagrant/.puppet/var/run]: Autorequiring File[/home/vagrant/.puppet/var]
Debug: /File[/home/vagrant/.puppet/ssl]: Autorequiring File[/home/vagrant/.puppet]
Debug: /File[/home/vagrant/.puppet/var/lib]: Autorequiring File[/home/vagrant/.puppet/var]
Debug: /File[/home/vagrant/.puppet/var/state/last_run_report.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state]
Debug: /File[/home/vagrant/.puppet/ssl/certificate_requests]: Autorequiring File[/home/vagrant/.puppet/ssl]
Debug: /File[/home/vagrant/.puppet/var/state/state.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state]
Debug: /File[/home/vagrant/.puppet/var/state]: Autorequiring File[/home/vagrant/.puppet/var]
Debug: /File[/home/vagrant/.puppet/var/log]: Autorequiring File[/home/vagrant/.puppet/var]
Debug: /File[/home/vagrant/.puppet/var]: Autorequiring File[/home/vagrant/.puppet]
Debug: /File[/home/vagrant/.puppet/var/client_yaml]: Autorequiring File[/home/vagrant/.puppet/var]
Debug: /File[/home/vagrant/.puppet/var/clientbucket]: Autorequiring File[/home/vagrant/.puppet/var]
Debug: /File[/home/vagrant/.puppet/var/state/graphs]: Autorequiring File[/home/vagrant/.puppet/var/state]
Debug: /File[/home/vagrant/.puppet/ssl/private_keys]: Autorequiring File[/home/vagrant/.puppet/ssl]
Debug: /File[/home/vagrant/.puppet/ssl/certs]: Autorequiring File[/home/vagrant/.puppet/ssl]
Debug: /File[/home/vagrant/.puppet/ssl/public_keys]: Autorequiring File[/home/vagrant/.puppet/ssl]
Debug: /File[/home/vagrant/.puppet/var/state/last_run_summary.yaml]: Autorequiring File[/home/vagrant/.puppet/var/state]
Debug: /File[/home/vagrant/.puppet/ssl/private]: Autorequiring File[/home/vagrant/.puppet/ssl]
Debug: /File[/home/vagrant/.puppet/var/client_data]: Autorequiring File[/home/vagrant/.puppet/var]
Debug: /File[/home/vagrant/.puppet/var/state/last_run_report.yaml]/mode: mode changed '0660' to '0640'
Debug: Finishing transaction 70137797797900
Debug: Loaded state in 0.00 seconds
Info: Loading facts in /vagrant/modules/rabbitmq/lib/facter/rabbitmq_erlang_cookie.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /vagrant/modules/stdlib/lib/facter/root_home.rb
Debug: Loaded state in 0.00 seconds
Info: Applying configuration version '1374222538'
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/Exec[a0bd37ed830c586412c890b5b87899757a2b27f8]/before: requires Anchor[apt::key 056E8E56 present]
Debug: /Stage[main]/Rabbitmq::Install/before: requires Class[Rabbitmq::Config]
Debug: /Stage[main]/Rabbitmq/Anchor[rabbitmq::begin]/before: requires Class[Rabbitmq::Install]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Anchor[apt::source::rabbitmq]/require: requires Class[Apt::Update]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/File[rabbitmq.list]/notify: subscribes to Exec[apt_update]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/before: requires File[rabbitmq.list]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/Anchor[apt::key 056E8E56 present]/before: requires Anchor[apt::key/Add key: 056E8E56 from Apt::Source rabbitmq]
Debug: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/require: requires Class[Rabbitmq::Install]
Debug: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Config/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/before: requires Class[Rabbitmq::Install]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/before: requires Package[rabbitmq-server]
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]/require: requires Exec[Download rabbitmqadmin]
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download rabbitmqadmin]/require: requires Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download rabbitmqadmin]/require: requires Rabbitmq_plugin[rabbitmq_management]
Debug: /Stage[main]/Rabbitmq::Service/before: requires Rabbitmq_user[guest]
Debug: /Stage[main]/Rabbitmq::Service/before: requires Class[Rabbitmq::Install::Rabbitmqadmin]
Debug: /Stage[main]/Rabbitmq::Service/before: requires Anchor[rabbitmq::end]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]: Autorequiring File[/etc/rabbitmq]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]: Autorequiring File[/etc/rabbitmq]
Error: Could not apply complete catalog: Found 1 dependency cycle:
(Rabbitmq_user[guest] => Class[Rabbitmq::Config] => Class[Rabbitmq::Service] => Service[rabbitmq-server] => Class[Rabbitmq::Service] => Rabbitmq_user[guest])
Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
Debug: Storing state
Debug: Stored state in 0.00 seconds
Notice: Finished catalog run in 0.28 seconds
Debug: Using settings: adding file resource 'rrddir': 'File[/home/vagrant/.puppet/var/rrd]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/home/vagrant/.puppet/var/rrd"}'
Debug: Finishing transaction 70137793958080
Debug: Received report to process from precise64.wml.local
Debug: Processing report from precise64.wml.local with processor Puppet::Reports::Store

from puppet-rabbitmq.

nfelger avatar nfelger commented on May 26, 2024

Interestingly, when I remove the 'delete_guest_user' option, it works… (Still not with puppet 2.7.19 though.)

I had to add curl as a dependency, which isn't part of my bare-bones Ubuntu box…

manifests/site.pp:

package { 'curl':
  ensure => present
}

class { 'rabbitmq::repo::apt':
  pin => 900,
  before => Class['rabbitmq::install']
}

class { 'rabbitmq':
  port => '5673',
}

Now the output has changed to:

Info: Loading facts in /tmp/vagrant-puppet/modules-0/rabbitmq/lib/facter/rabbitmq_erlang_cookie.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/root_home.rb
Debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/init.pp' in environment production
Debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/install.pp' in environment production
Debug: Automatically imported rabbitmq::install from rabbitmq/install into production
Debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/repo/apt.pp' in environment production
Debug: Automatically imported rabbitmq::repo::apt from rabbitmq/repo/apt into production
Debug: Scope(Class[Rabbitmq::Repo::Apt]): Retrieving template rabbitmq/rabbit.pub.key.erb
Debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb in 0.00 seconds
Debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbit.pub.key.erb in 0.00 seconds
Debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/init.pp' in environment production
Debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/source.pp' in environment production
Debug: Automatically imported apt::source from apt/source into production
Debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/pin.pp' in environment production
Debug: Automatically imported apt::pin from apt/pin into production
Debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/params.pp' in environment production
Debug: Automatically imported rabbitmq::params from rabbitmq/params into production
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(): Looking up rabbitmq::config_cluster in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::cluster_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::cluster_node_type in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::management_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::version in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_provider in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config_mirrored_queues in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::admin_enable in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service_manage in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::erlang_manage in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::env_config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_source in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::manage_service in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::env_config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::cluster_disk_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::node_ip_address in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::wipe_db_on_cookie_change in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::stomp_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::plugin_dir in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::package_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::erlang_cookie in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::delete_guest_user in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config_stomp in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_provider in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_source in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::install::package_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/service.pp' in environment production
Debug: Automatically imported rabbitmq::service from rabbitmq/service into production
Debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/config.pp' in environment production
Debug: Automatically imported rabbitmq::config from rabbitmq/config into production
Debug: hiera(): Looking up rabbitmq::config::config_cluster in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::cluster_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::cluster_node_type in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config_mirrored_queues in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::env_config in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::service_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::env_config_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::cluster_disk_nodes in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::node_ip_address in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::wipe_db_on_cookie_change in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::stomp_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::plugin_dir in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::erlang_cookie in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::delete_guest_user in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::config::config_stomp in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: Scope(Class[Rabbitmq::Config]): Retrieving template rabbitmq/rabbitmq.config.erb
Debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb in 0.00 seconds
Debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq.config.erb in 0.00 seconds
Debug: Scope(Class[Rabbitmq::Config]): Retrieving template rabbitmq/rabbitmq-env.conf.erb
Debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb in 0.00 seconds
Debug: template[/tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/rabbitmq/templates/rabbitmq-env.conf.erb in 0.00 seconds
Debug: hiera(): Looking up rabbitmq::service::service_manage in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service::service_ensure in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up rabbitmq::service::service_name in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: importing '/tmp/vagrant-puppet/modules-0/rabbitmq/manifests/install/rabbitmqadmin.pp' in environment production
Debug: Automatically imported rabbitmq::install::rabbitmqadmin from rabbitmq/install/rabbitmqadmin into production
Debug: hiera(): Looking up rabbitmq::install::rabbitmqadmin::management_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/params.pp' in environment production
Debug: Automatically imported apt::params from apt/params into production
Debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/update.pp' in environment production
Debug: Automatically imported apt::update from apt/update into production
Debug: Scope(Apt::Source[rabbitmq]): Retrieving template apt/source.list.erb
Debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb in 0.00 seconds
Debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/apt/templates/source.list.erb in 0.00 seconds
Debug: importing '/tmp/vagrant-puppet/modules-0/apt/manifests/key.pp' in environment production
Debug: Automatically imported apt::key from apt/key into production
Debug: Scope(Apt::Pin[rabbitmq]): Retrieving template apt/pin.pref.erb
Debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb]: Bound template variables for /tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb in 0.00 seconds
Debug: template[/tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb]: Interpolated template /tmp/vagrant-puppet/modules-0/apt/templates/pin.pref.erb in 0.00 seconds
Debug: Adding relationship from Class[Rabbitmq::Repo::Apt] to Package[rabbitmq-server] with 'before'
Debug: Adding relationship from Class[Rabbitmq::Service] to Class[Rabbitmq::Install::Rabbitmqadmin] with 'before'
Debug: Adding relationship from Anchor[rabbitmq::begin] to Class[Rabbitmq::Install] with 'before'
Debug: Adding relationship from Class[Rabbitmq::Install] to Class[Rabbitmq::Config] with 'before'
Debug: Adding relationship from Class[Rabbitmq::Config] to Class[Rabbitmq::Service] with 'notify'
Debug: Adding relationship from Class[Rabbitmq::Service] to Anchor[rabbitmq::end] with 'before'
Debug: Adding relationship from Anchor[apt::key 056E8E56 present] to Anchor[apt::key/Add key: 056E8E56 from Apt::Source rabbitmq] with 'before'
Debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist
Debug: Puppet::Type::Package::ProviderPkgin: file pkgin does not exist
Debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist
Debug: Puppet::Type::Package::ProviderNim: file /usr/bin/lslpp does not exist
Debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist
Debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
Debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist
Debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
Debug: Puppet::Type::Package::ProviderYum: file rpm does not exist
Debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
Debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist
Debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/pkg_deinstall does not exist
Debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
Debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swlist does not exist
Debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist
Debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/sbin/portinstall does not exist
Debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
Debug: Puppet::Type::Package::ProviderUrpmi: file urpmq does not exist
Debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist
Debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not exist
Debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist
Debug: Puppet::Type::Package::ProviderOpkg: file opkg does not exist
Debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
Debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
Debug: Puppet::Type::Service::ProviderRedhat: file /sbin/chkconfig does not exist
Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist
Debug: Puppet::Type::Service::ProviderSystemd: file systemctl does not exist
Debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
Debug: Puppet::Type::Service::ProviderOpenrc: file /sbin/rc-service does not exist
Debug: Creating default schedules
Debug: Failed to load library 'shadow' for feature 'libshadow'
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: /User[puppet]: Provider useradd does not support features libuser; not managing attribute forcelocal
Debug: Using settings: adding file resource 'publickeydir': 'File[/etc/puppet/ssl/public_keys]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :path=>"/etc/puppet/ssl/public_keys"}'
Debug: Using settings: adding file resource 'privatedir': 'File[/etc/puppet/ssl/private]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :mode=>"750", :path=>"/etc/puppet/ssl/private"}'
Debug: Using settings: adding file resource 'libdir': 'File[/var/lib/puppet/lib]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/lib"}'
Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/etc/puppet"}'
Debug: Using settings: adding file resource 'certdir': 'File[/etc/puppet/ssl/certs]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :path=>"/etc/puppet/ssl/certs"}'
Debug: Using settings: adding file resource 'requestdir': 'File[/etc/puppet/ssl/certificate_requests]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :path=>"/etc/puppet/ssl/certificate_requests"}'
Debug: Using settings: adding file resource 'clientyamldir': 'File[/var/lib/puppet/client_yaml]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/client_yaml"}'
Debug: Using settings: adding file resource 'clientbucketdir': 'File[/var/lib/puppet/clientbucket]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/clientbucket"}'
Debug: Using settings: adding file resource 'vardir': 'File[/var/lib/puppet]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet"}'
Debug: Using settings: adding file resource 'rundir': 'File[/var/lib/puppet/run]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"1777", :path=>"/var/lib/puppet/run"}'
Debug: Using settings: adding file resource 'statedir': 'File[/var/lib/puppet/state]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"1755", :path=>"/var/lib/puppet/state"}'
Debug: Using settings: adding file resource 'ssldir': 'File[/etc/puppet/ssl]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :mode=>"771", :path=>"/etc/puppet/ssl"}'
Debug: Using settings: adding file resource 'graphdir': 'File[/var/lib/puppet/state/graphs]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/state/graphs"}'
Debug: Using settings: adding file resource 'privatekeydir': 'File[/etc/puppet/ssl/private_keys]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :mode=>"750", :path=>"/etc/puppet/ssl/private_keys"}'
Debug: Using settings: adding file resource 'client_datadir': 'File[/var/lib/puppet/client_data]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/client_data"}'
Debug: Puppet::Type::Group::ProviderLdap: true value when expecting false
Debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist
Debug: Puppet::Type::Group::ProviderPw: file pw does not exist
Debug: /Group[puppet]: Provider groupadd does not support features libuser; not managing attribute forcelocal
Debug: Using settings: adding file resource 'logdir': 'File[/var/lib/puppet/log]{:backup=>false, :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/log"}'
Debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
Debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]
Debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
Debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]
Debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl]
Debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
Debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
Debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
Debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
Debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
Debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
Debug: /File[/etc/puppet]/ensure: created
Debug: /File[/etc/puppet/ssl]/ensure: created
Debug: /File[/etc/puppet/ssl/private_keys]/ensure: created
Debug: /File[/var/lib/puppet]/ensure: created
Debug: /File[/var/lib/puppet/client_data]/ensure: created
Debug: /File[/var/lib/puppet/run]/ensure: created
Debug: /File[/var/lib/puppet/state]/ensure: created
Debug: /File[/var/lib/puppet/state/graphs]/ensure: created
Debug: /File[/var/lib/puppet/client_yaml]/ensure: created
Debug: /File[/var/lib/puppet/lib]/ensure: created
Debug: /File[/var/lib/puppet/clientbucket]/ensure: created
Debug: /File[/etc/puppet/ssl/public_keys]/ensure: created
Debug: /File[/etc/puppet/ssl/certs]/ensure: created
Debug: /File[/var/lib/puppet/log]/ensure: created
Debug: /File[/etc/puppet/ssl/private]/ensure: created
Debug: /File[/etc/puppet/ssl/certificate_requests]/ensure: created
Debug: Finishing transaction 70159704062600
Info: Loading facts in /tmp/vagrant-puppet/modules-0/rabbitmq/lib/facter/rabbitmq_erlang_cookie.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /tmp/vagrant-puppet/modules-0/stdlib/lib/facter/root_home.rb
Info: Applying configuration version '1374223442'
Debug: /Stage[main]/Rabbitmq::Service/before: requires Class[Rabbitmq::Install::Rabbitmqadmin]
Debug: /Stage[main]/Rabbitmq::Service/before: requires Anchor[rabbitmq::end]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/File[rabbitmq.list]/notify: subscribes to Exec[apt_update]
Debug: /Stage[main]/Rabbitmq::Install/before: requires Class[Rabbitmq::Config]
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]/require: requires Exec[Download rabbitmqadmin]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Anchor[apt::source::rabbitmq]/require: requires Class[Apt::Update]
Debug: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/require: requires Class[Rabbitmq::Install]
Debug: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/Anchor[apt::key 056E8E56 present]/before: requires Anchor[apt::key/Add key: 056E8E56 from Apt::Source rabbitmq]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download rabbitmqadmin]/require: requires Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download rabbitmqadmin]/require: requires Rabbitmq_plugin[rabbitmq_management]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/Exec[a0bd37ed830c586412c890b5b87899757a2b27f8]/before: requires Anchor[apt::key 056E8E56 present]
Debug: /Stage[main]/Rabbitmq/Anchor[rabbitmq::begin]/before: requires Class[Rabbitmq::Install]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/before: requires Class[Rabbitmq::Install]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/before: requires Package[rabbitmq-server]
Debug: /Stage[main]/Rabbitmq::Config/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]/notify: subscribes to Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/before: requires File[rabbitmq.list]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]: Autorequiring File[/etc/rabbitmq]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]: Autorequiring File[/etc/rabbitmq]
Debug: /Schedule[daily]: Skipping device resources because running on a host
Debug: /Schedule[monthly]: Skipping device resources because running on a host
Debug: /Schedule[hourly]: Skipping device resources because running on a host
Debug: Prefetching apt resources for package
Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
Debug: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n curl'
Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install curl'
Notice: /Stage[main]//Package[curl]/ensure: ensure changed 'purged' to 'present'
Debug: /Stage[main]//Package[curl]: The container Class[Main] will propagate my refresh event
Debug: /Schedule[never]: Skipping device resources because running on a host
Debug: Exec[a0bd37ed830c586412c890b5b87899757a2b27f8](provider=posix): Executing check '/usr/bin/apt-key list | /bin/grep '056E8E56''
Debug: Executing '/usr/bin/apt-key list | /bin/grep '056E8E56''
Debug: Exec[a0bd37ed830c586412c890b5b87899757a2b27f8](provider=posix): Executing 'echo '-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)

mQGiBEaOQ/IRBACs/n609zN+OzlK9qDkFWwYKfPG+BlgqBj5MSy0XE2K8cE3bWSV
2WftTe/TGEfW0hknXt1PyBla0cnO9Up1xCn142vo8bvUug8WjrxLQBBiAf11FAOR
dt9roGe4IWw/Lakgb88re09ZYKmOL9H7MEpvMqtjdWjFSq4zeeGa8rGEswCgnQLb
ZD/MNlUNQwQVCs+vVRdgpzcD+QELSc2EeYl4tef0NiUaZQt+mjFTs3DjQNDTjXao
ETVAqECx4kavcshx5tSE5JbbQPIMiUgh0h9J3z3uZsBVnx6P82aW/QTw+jLhsQry
/i3Z/+pS66mk6EWhAAYF/SPVqM/06BZh0ZvUmeG9WGGJXD9CUN1Wfi2mt42L2zhT
xg3uBACoIs5/GORi0H2i+blLiFSxTroXw+TdxiP+mfjdPho0oXJQTljXBgG70VfX
XW9sWsYtekqXBsmwMcbCZTjZGul/8jAUlUoYfthRw9KpP9N8Q7wB8Flx9jEv0M0H
tV1KTrLuXNZvEAB1sECMa7RRrV1yO4wyYDsOXiZNTL6rYugOU7QwUmFiYml0TVEg
UmVsZWFzZSBTaWduaW5nIEtleSA8aW5mb0ByYWJiaXRtcS5jb20+iGAEExECACAF
AkaOQ/ICGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRD3uM6mBW6OVkymAJ0R
6MwiZNRuTAttgYf1Xe7dK7HpzACfZioV/LqnDh7XvcTJEl+r4GB19by5Ag0ERo5D
+xAIAKu1ZxtAZjwlNLb0L5uwrEP7nTbRTNUYoEtE8+CNDSLLlmRIvBriKYNGicnz
Ebq2kDnAoyH38ACIMNayrkqc6I4l3BD2sv7zPZCd4qAbyFCu6gnewTANTWkVuH60
R65QQ8pM8sM+VZAMSoMkDSP4u248xOzFyGgVYuuWuR/sIRcaA02FW9TGvZQ7fNoF
rf6UbKSYkjpY767IW8q0b68vKzSLw0GQvH+dsvhaj80hjKJ06+IZ9Gdi/b4+AIT2
YWyWmrHo2QhnUmsarNdtusesQGQtiYgZw95PJJkzR0AttuPPfPNGLYZtVJenvOCC
jsK5uUL3/eEQ3UWGs+BKEyA/qLMAAwUH/2kIFCdgCw2DnL87TO+vruhGjsM7NjXf
57F4ojTdblFd6AerjRhMgICdzCF9WkFROdBSyQ/GajoNU81kbHZglxmKyKkVwWEb
G7pmSIc/sk5Z7OP/zrg4h8ZGzvMbRy0XLf86lQhbDE3AcHMeJCcShIWAHAbygnYW
j0KRhZiyqxqx4mrZQDZEWI7S1G9YNvgu1GS9EEKEpmxDEOME9nJZLi9o7mTeD1QV
TyOzWHkpQ42QcgrFuG7RMxDaQK6bdinNTl8aPmMoPamGzotSt4aMoVMiNxjatnlH
pqQ5UJlqbB5FGLnwJ0773WzgRdxIwSIxkFhL/Mq4agf4an8151kqcZCISQQYEQIA
CQUCRo5D+wIbDAAKCRD3uM6mBW6OVhLmAKCYY152B/10n7aUNKejs92NsNAnPACf
ZwbDOKBXGfkCPuRx5j/AGneASNU=
=Ry+c
-----END PGP PUBLIC KEY BLOCK-----
' | /usr/bin/apt-key add -'
Debug: Executing 'echo '-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)

mQGiBEaOQ/IRBACs/n609zN+OzlK9qDkFWwYKfPG+BlgqBj5MSy0XE2K8cE3bWSV
2WftTe/TGEfW0hknXt1PyBla0cnO9Up1xCn142vo8bvUug8WjrxLQBBiAf11FAOR
dt9roGe4IWw/Lakgb88re09ZYKmOL9H7MEpvMqtjdWjFSq4zeeGa8rGEswCgnQLb
ZD/MNlUNQwQVCs+vVRdgpzcD+QELSc2EeYl4tef0NiUaZQt+mjFTs3DjQNDTjXao
ETVAqECx4kavcshx5tSE5JbbQPIMiUgh0h9J3z3uZsBVnx6P82aW/QTw+jLhsQry
/i3Z/+pS66mk6EWhAAYF/SPVqM/06BZh0ZvUmeG9WGGJXD9CUN1Wfi2mt42L2zhT
xg3uBACoIs5/GORi0H2i+blLiFSxTroXw+TdxiP+mfjdPho0oXJQTljXBgG70VfX
XW9sWsYtekqXBsmwMcbCZTjZGul/8jAUlUoYfthRw9KpP9N8Q7wB8Flx9jEv0M0H
tV1KTrLuXNZvEAB1sECMa7RRrV1yO4wyYDsOXiZNTL6rYugOU7QwUmFiYml0TVEg
UmVsZWFzZSBTaWduaW5nIEtleSA8aW5mb0ByYWJiaXRtcS5jb20+iGAEExECACAF
AkaOQ/ICGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRD3uM6mBW6OVkymAJ0R
6MwiZNRuTAttgYf1Xe7dK7HpzACfZioV/LqnDh7XvcTJEl+r4GB19by5Ag0ERo5D
+xAIAKu1ZxtAZjwlNLb0L5uwrEP7nTbRTNUYoEtE8+CNDSLLlmRIvBriKYNGicnz
Ebq2kDnAoyH38ACIMNayrkqc6I4l3BD2sv7zPZCd4qAbyFCu6gnewTANTWkVuH60
R65QQ8pM8sM+VZAMSoMkDSP4u248xOzFyGgVYuuWuR/sIRcaA02FW9TGvZQ7fNoF
rf6UbKSYkjpY767IW8q0b68vKzSLw0GQvH+dsvhaj80hjKJ06+IZ9Gdi/b4+AIT2
YWyWmrHo2QhnUmsarNdtusesQGQtiYgZw95PJJkzR0AttuPPfPNGLYZtVJenvOCC
jsK5uUL3/eEQ3UWGs+BKEyA/qLMAAwUH/2kIFCdgCw2DnL87TO+vruhGjsM7NjXf
57F4ojTdblFd6AerjRhMgICdzCF9WkFROdBSyQ/GajoNU81kbHZglxmKyKkVwWEb
G7pmSIc/sk5Z7OP/zrg4h8ZGzvMbRy0XLf86lQhbDE3AcHMeJCcShIWAHAbygnYW
j0KRhZiyqxqx4mrZQDZEWI7S1G9YNvgu1GS9EEKEpmxDEOME9nJZLi9o7mTeD1QV
TyOzWHkpQ42QcgrFuG7RMxDaQK6bdinNTl8aPmMoPamGzotSt4aMoVMiNxjatnlH
pqQ5UJlqbB5FGLnwJ0773WzgRdxIwSIxkFhL/Mq4agf4an8151kqcZCISQQYEQIA
CQUCRo5D+wIbDAAKCRD3uM6mBW6OVhLmAKCYY152B/10n7aUNKejs92NsNAnPACf
ZwbDOKBXGfkCPuRx5j/AGneASNU=
=Ry+c
-----END PGP PUBLIC KEY BLOCK-----
' | /usr/bin/apt-key add -'
Notice: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/Exec[a0bd37ed830c586412c890b5b87899757a2b27f8]/returns: executed successfully
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/Exec[a0bd37ed830c586412c890b5b87899757a2b27f8]: The container Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq] will propagate my refresh event
Debug: Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]: The container Apt::Source[rabbitmq] will propagate my refresh event
Notice: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/File[rabbitmq.list]/ensure: created
Info: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/File[rabbitmq.list]: Scheduling refresh of Exec[apt_update]
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/File[rabbitmq.list]: The container Apt::Source[rabbitmq] will propagate my refresh event
Debug: Exec[apt_update](provider=posix): Executing '/usr/bin/apt-get update'
Debug: Executing '/usr/bin/apt-get update'
Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
Debug: /Stage[main]/Apt::Update/Exec[apt_update]: The container Class[Apt::Update] will propagate my refresh event
Debug: Class[Apt::Update]: The container Stage[main] will propagate my refresh event
Debug: Apt::Source[rabbitmq]: The container Class[Rabbitmq::Repo::Apt] will propagate my refresh event
Notice: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Pin[rabbitmq]/File[rabbitmq.pref]/ensure: created
Debug: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Pin[rabbitmq]/File[rabbitmq.pref]: The container Apt::Pin[rabbitmq] will propagate my refresh event
Debug: Apt::Pin[rabbitmq]: The container Class[Rabbitmq::Repo::Apt] will propagate my refresh event
Debug: Class[Rabbitmq::Repo::Apt]: The container Stage[main] will propagate my refresh event
Debug: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n rabbitmq-server'
Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install rabbitmq-server'
Notice: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]/ensure: ensure changed 'purged' to 'present'
Debug: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]: The container Class[Rabbitmq::Install] will propagate my refresh event
Info: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]: Scheduling refresh of Class[Rabbitmq::Service]
Debug: Class[Rabbitmq::Install]: The container Stage[main] will propagate my refresh event
Debug: Executing '/usr/sbin/rabbitmq-plugins list -E'
Debug: Executing '/usr/sbin/rabbitmq-plugins enable rabbitmq_management'
Notice: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]/ensure: created
Info: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: Scheduling refresh of Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: The container Class[Rabbitmq] will propagate my refresh event
Notice: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]/ensure: defined content as '{md5}29a16b98a4595bc75ea581e900d9a0ac'
Info: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]: Scheduling refresh of Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]: The container Class[Rabbitmq::Config] will propagate my refresh event
Debug: /Schedule[weekly]: Skipping device resources because running on a host
Debug: /Schedule[puppet]: Skipping device resources because running on a host
Debug: Class[Main]: The container Stage[main] will propagate my refresh event
Notice: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]/ensure: defined content as '{md5}5f889fb13494f570382a6d82f30cceb2'
Info: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]: Scheduling refresh of Class[Rabbitmq::Service]
Debug: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]: The container Class[Rabbitmq::Config] will propagate my refresh event
Info: Class[Rabbitmq::Config]: Scheduling refresh of Class[Rabbitmq::Service]
Debug: Class[Rabbitmq::Config]: The container Stage[main] will propagate my refresh event
Info: Class[Rabbitmq::Service]: Scheduling refresh of Service[rabbitmq-server]
Debug: Service[rabbitmq-server](provider=upstart): Could not find rabbitmq-server.conf in /etc/init
Debug: Service[rabbitmq-server](provider=upstart): Could not find rabbitmq-server.conf in /etc/init.d
Debug: Service[rabbitmq-server](provider=upstart): Could not find rabbitmq-server in /etc/init
Debug: Executing '/etc/init.d/rabbitmq-server status'
Debug: Executing '/etc/init.d/rabbitmq-server status'
Debug: Executing '/etc/init.d/rabbitmq-server restart'
Notice: /Stage[main]/Rabbitmq::Service/Service[rabbitmq-server]: Triggered 'refresh' from 1 events
Debug: /Stage[main]/Rabbitmq::Service/Service[rabbitmq-server]: The container Class[Rabbitmq::Service] will propagate my refresh event
Debug: Class[Rabbitmq::Service]: The container Stage[main] will propagate my refresh event
Debug: Class[Rabbitmq]: The container Stage[main] will propagate my refresh event
Debug: Exec[Download rabbitmqadmin](provider=posix): Executing 'curl http://localhost:15672/cli/rabbitmqadmin -o /var/lib/rabbitmq/rabbitmqadmin'
Debug: Executing 'curl http://localhost:15672/cli/rabbitmqadmin -o /var/lib/rabbitmq/rabbitmqadmin'
Notice: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download rabbitmqadmin]/returns: executed successfully
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download rabbitmqadmin]: The container Class[Rabbitmq::Install::Rabbitmqadmin] will propagate my refresh event
Notice: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]/ensure: defined content as '{md5}0386307032a94a0ca5ec33e67ea9b0d8'
Debug: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]: The container Class[Rabbitmq::Install::Rabbitmqadmin] will propagate my refresh event
Debug: Class[Rabbitmq::Install::Rabbitmqadmin]: The container Stage[main] will propagate my refresh event
Debug: Finishing transaction 70159700989320
Debug: Storing state
Info: Creating state file /var/lib/puppet/state/state.yaml
Debug: Stored state in 0.01 seconds
Notice: Finished catalog run in 58.95 seconds
Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:backup=>false, :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :owner=>"root", :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/rrd"}'
Debug: /File[/var/lib/puppet/rrd]/ensure: created
Debug: Finishing transaction 70159701438560
Debug: Received report to process from precise64.wml.local
Debug: Processing report from precise64.wml.local with processor Puppet::Reports::Store

from puppet-rabbitmq.

apenney avatar apenney commented on May 26, 2024

I think I know what the issue is, and #75 should fix it. It's failing the spec tests so I've still got a little work to do but the restructuring was causing a dependency issue only when the delete_guest user was set (which annoyingly wasn't showing up in testing).

I'll keep working on this PR today and merge it in so you can do some more testing. Annoying to find out about curl, let me have a think about the best way to handle that as I'd like for you to have to do nothing to get this going but include the class. :)

from puppet-rabbitmq.

apenney avatar apenney commented on May 26, 2024

This should be fixed now if you want to retest.

from puppet-rabbitmq.

nfelger avatar nfelger commented on May 26, 2024

Hey sorry, I got distracted with work! :) Works a charm for me now just following the basic instructions in the readme. Thanks for fixing this!

from puppet-rabbitmq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.