Skip to content

Instantly share code, notes, and snippets.

@zbskii
Created August 5, 2013 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zbskii/6160338 to your computer and use it in GitHub Desktop.
Save zbskii/6160338 to your computer and use it in GitHub Desktop.
class apps::tomcat7::tomcat7flow inherits apps::tomcat7::serverconf {
$ip_address = '127.0.0.1'
File['/var/lib/tomcat7/conf/server.xml']{
ensure => 'present',
content => template('apps/flowservice/server7.erb'),
notify => Service['tomcat7'],
}
}
@zbskii
Copy link
Author

zbskii commented Aug 5, 2013

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: File[/etc/default/tomcat7] is already declared in file /etc/puppet/modules/apps/manifests/tomcat7/serverconf.pp at line 13; cannot redeclare at /etc/puppet/modules/apps/manifests/tomcat7.pp:9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment