biemond / puppet

Puppet modules
Other
59 stars 64 forks source link

jrockit failure on puppet enterprise #45

Closed pdehlke closed 9 years ago

pdehlke commented 9 years ago

Using the jrockit module on Puppet Enterprise 3.3.2, CentOS 6.5, the sample configuration of

include jrockit

jrockit::installrockit {'jrockit-1.6.0_45': version => '1.6.0_45-R28.2.7-4.1.0', x64 => 'true', downloadDir => "/install/", installSource => 'true', }

Produces this from 'puppet agent --test':

[root@first ~]# puppet --version 3.6.2 (Puppet Enterprise 3.3.2) [root@first ~]# puppet agent --test Info: Retrieving plugin Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/oracle_middleware_homes.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/platform_tag.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_build.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_postgres_default_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_puppetdb_server_status.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_http_get.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/oracle_database_homes.rb Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/install/jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin] { require => File[/install/] }, because File[/install/] doesn't seem to be in the catalog Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run [root@first ~]#

The same site.pp run on the same puppet master and client, but with puppet open source 3.6.2 or 3.7.3 works perfectly.

WTF.

rlhatcher commented 9 years ago

I suspect this has to do with the trailing slash in the filename but I will have to test with the latest PE ...

pdehlke commented 9 years ago

Indeed, if I pull out the trailing slash, PE loves me. Weird.