Issue #23147 has been reported by Andrew Parker.

----------------------------------------
Bug #23147: Error: Cannot add aliases without a catalog
https://projects.puppetlabs.com/issues/23147

* Author: Andrew Parker
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 3.4.0
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
During PE installation, Puppet fails with the following new error:

<pre>
[root@centos6 ~]# /opt/puppet/bin/puppet apply --no-report --modulepath 
/opt/puppet/share/puppet/modules -v --exec "class { pe_postgresql: version => 
'9.2', config_hash => { listen_addresses => 'localhost', 
ip_mask_allow_all_users => '0.0.0.0/0' } }" --trace
Info: Loading facts in 
/opt/puppet/share/puppet/modules/auth_conf/lib/facter/custom_auth_conf.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/pe_puppetdb/lib/facter/puppetdb_server_status.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/pe_common/lib/facter/windows.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/firewall/lib/facter/ip6tables_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
Notice: Compiled catalog for centos6 in environment production in 2.25 seconds
Error: Parameter alias failed on 
File[/opt/puppet/var/lib/pgsql/9.2/data/pg_hba.conf]: Munging failed for value 
"concat_/opt/puppet/var/lib/pgsql/9.2/data/pg_hba.conf" in class alias: Cannot 
add aliases without a catalog at 
/opt/puppet/share/puppet/modules/concat/manifests/init.pp:228
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/type.rb:1347:in `block (2 levels) 
in <class:Type>'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/parameter.rb:432:in `munge'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/parameter.rb:502:in `value='
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/type.rb:653:in `[]='
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/type.rb:2267:in `block in 
set_parameters'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/type.rb:2261:in `each'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/type.rb:2261:in `set_parameters'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/type.rb:2217:in `initialize'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/type/file.rb:402:in `initialize'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource.rb:307:in `new'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource.rb:307:in `to_ral'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:502:in `block 
in to_catalog'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:495:in `each'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:495:in 
`to_catalog'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/resource/catalog.rb:397:in `to_ral'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/apply.rb:207:in `main'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/apply.rb:146:in 
`run_command'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:364:in `block (2 
levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:470:in `plugin_hook'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:364:in `block in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:485:in `exit_on_fail'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:364:in `run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:132:in `run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:86:in `execute'
/opt/puppet/bin/puppet:4:in `<main>'
</pre>

Obviously during puppet apply there should be a catalog, so this isn't a 
problem with the module.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to