Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems that the download of JPackage is incompatible with Fedora 19 #26

Open
henk52 opened this issue Nov 9, 2013 · 2 comments
Open

Comments

@henk52
Copy link

henk52 commented Nov 9, 2013

When running this manifest:

sudo puppet module install llehmijo/tomcat7_rhel

sudo puppet apply llehmijo_tomcat7_rhel.pp

$manage_java = false

jvm_envs here because the module requires this to be set.

default from: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

user { 'webuser':
ensure => present,
}

tomcat7_rhel::tomcat_application { "source":
application_root => "/opt",
tomcat_user => "webuser",
tomcat_port => "8080",
smoke_test_path => "/health-check",
jvm_envs => "-XX:NumberOfGClogFiles=1",
require => User [ 'webuser' ],
}

I get the following output:

Notice: /Stage[main]/Tomcat7_rhel::Jpackage_repo/Yumrepo[jpackage]/descr: descr changed '' to 'JPackage project'
Notice: /Stage[main]/Tomcat7_rhel::Jpackage_repo/Yumrepo[jpackage]/baseurl: baseurl changed '' to 'ftp://jpackage.hmdc.harvard.edu/JPackage/6.0/generic/free/'
Notice: /Stage[main]/Tomcat7_rhel::Jpackage_repo/Yumrepo[jpackage]/enabled: enabled changed '' to '1'
Notice: /Stage[main]/Tomcat7_rhel::Jpackage_repo/Yumrepo[jpackage]/gpgcheck: gpgcheck changed '' to '1'
Notice: /Stage[main]/Tomcat7_rhel::Jpackage_repo/Yumrepo[jpackage]/gpgkey: gpgkey changed '' to 'http://www.jpackage.org/jpackage.asc'
Error: Execution of '/bin/yum -d 0 -e 0 -y install tomcat7' returned 1: Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Error: Package: tomcat7-lib-7.0.34-3.jpp6.noarch (jpackage)
Requires: apache-commons-collections-tomcat5
Available: apache-commons-collections-tomcat5-3.2.1-6.jpp6.noarch (jpackage)
apache-commons-collections-tomcat5 = 3.2.1-6.jpp6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Error: /Stage[main]/Tomcat7_rhel/Package[tomcat7]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install tomcat7' returned 1: Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Package apache-commons-collections-tomcat5 is obsoleted by apache-commons-collections, but obsoleting package does not provide for requirements
Error: Package: tomcat7-lib-7.0.34-3.jpp6.noarch (jpackage)
Requires: apache-commons-collections-tomcat5
Available: apache-commons-collections-tomcat5-3.2.1-6.jpp6.noarch (jpackage)
apache-commons-collections-tomcat5 = 3.2.1-6.jpp6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Notice: /File[/etc/init.d/source]: Dependency Package[tomcat7] has failures: true
Warning: /File[/etc/init.d/source]: Skipping because of failed dependencies
Notice: /File[/opt/source/logs]/ensure: created
Notice: /Stage[main]//Tomcat7_rhel::Tomcat_application[source]/Service[source]: Dependency Package[tomcat7] has failures: true
Warning: /Stage[main]//Tomcat7_rhel::Tomcat_application[source]/Service[source]: Skipping because of failed dependencies
Notice: Finished catalog run in 278.25 seconds

architecture => x86_64
operatingsystem => Fedora
operatingsystemrelease => 19
osfamily => RedHat
puppetversion => 3.1.1
rubyversion => 2.0.0

@laurilehmijoki
Copy link
Owner

Hi, maybe somebody (you?) can submit a pull request that fixes this issue.

@laurilehmijoki
Copy link
Owner

Unfortunately I can no longer maintain this project. For more info, please see the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants