Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

puppetlabs-tomcat staging issue

$
0
0
My working environment needs to deploy latest tomcat along with latest java version. I am trying to use puppetlabs-tomcat to accomplish them. However, I ran into an issue. puppetlabs-tomcat depends on nanliu-staging module. When I ran a test modules coming from staging module, I got the below error: # puppet apply --test --debug /home/xinhuan/puppet/staging/tests/file.pp Error: Cannot alias File[/tmp/staging/] to ["/tmp/staging"] at /home/xinhuan/puppet/staging/manifests/file.pp:39; resource ["File", "/tmp/staging"] already declared at /home/xinhuan/puppet/staging/manifests/init.pp:23 Here is my environment: CentOS 6.7 puppet-agent-1.5.0-1.el6.x86_64 nanliu-staging: 1.0.3 puppetlabs-tomcat: 1.5.0 puppet: 4.5.0 facter: 3.2.0 hiera: 3.2.0 ruby: ruby 2.1.9p490 (2016-03-30 revision 54437) [x86_64-linux] If staging module does not work, how come puppetlabs-tomcat module work? Do I need to subclass staging module to work around the duplicate resource declaration? - xinhuan

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>