Guest User

Untitled

a guest
May 23rd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. # vim:syntax=ruby:sts=2:sw=2:ts=2
  2. class tomcat {
  3.  
  4. package { "tomcat5":
  5. ensure => installed,
  6. require => Class["apache2"],
  7. }
  8. apache2::module {
  9. "proxy": ensure => present;
  10. "proxy_ajp": ensure => present;
  11. }
  12. }
  13.  
  14. # fails with :
  15. # warning: Configuration could not be instantiated: Could not find dependency Class[apache2] for # Package[tomcat5] at /etc/puppet/manifests/classes/tomcat:7; using cached catalog
Add Comment
Please, Sign In to add comment