Skip to content

Instantly share code, notes, and snippets.

@dsantanu
Created October 8, 2014 22:37
Show Gist options
  • Save dsantanu/bb281165bc494cea15af to your computer and use it in GitHub Desktop.
Save dsantanu/bb281165bc494cea15af to your computer and use it in GitHub Desktop.
puppet log for fatmcgav-glassfish on Ubuntu 12.04
root@p1-sant-services-001:/etc/puppet# cat gf_test.pp
include java7u45
Exec { path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin' }
package { 'unzip':
ensure => present,
before => Class['glassfish']
}
class { 'glassfish':
create_domain => true,
domain_name => 'domain1',
portbase => '8000',
service_name => 'glassfish',
require => Class['java7u45'],
}
root@p1-sant-services-001:/etc/puppet# puppet apply -tv --modulepath=/var/tmp/p1/puppet/modules gf_test.pp
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1117:in `issue_deprecation_warning')
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for p1-sant-services-001.kurtosys.net in environment production in 0.74 seconds
Info: Applying configuration version '1412805584'
Notice: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/Exec[wget-fetch_java]/returns: executed successfully
Notice: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/File[/tmp/jdk-7u45-linux-x64.tgz]/ensure: defined content as '{md5}0500d7884b58eecfe9753d2790b43e1e'
Notice: /Stage[main]/Java7u45::Install/File[/usr/local/jdk]/ensure: created
Info: /Stage[main]/Java7u45::Install/File[/usr/local/jdk]: Scheduling refresh of Exec[untar_java]
Notice: /Stage[main]/Java7u45::Install/Exec[untar_java]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Java7u45::Install/File[lnk_java]/ensure: created
Notice: /Stage[main]/Java7u45::Install/Exec[alternate_java]/returns: executed successfully
Notice: /Stage[main]/Java7u45::Install/Exec[alternate_jar]/returns: executed successfully
Notice: /Stage[main]/Java7u45::Install/Exec[alternate_javac]/returns: executed successfully
Notice: /Stage[main]/Glassfish/Glassfish::Create_domain[domain1]/Glassfish::Create_service[domain1]/Exec[stop_domain1]: Dependency Domain[domain1] has failures: true
Warning: /Stage[main]/Glassfish/Glassfish::Create_domain[domain1]/Glassfish::Create_service[domain1]/Exec[stop_domain1]: Skipping because of failed dependencies
Notice: /Stage[main]/Glassfish/Glassfish::Create_domain[domain1]/Glassfish::Create_service[domain1]/File[domain1_servicefile]: Dependency Domain[domain1] has failures: true
Warning: /Stage[main]/Glassfish/Glassfish::Create_domain[domain1]/Glassfish::Create_service[domain1]/File[domain1_servicefile]: Skipping because of failed dependencies
Notice: /Stage[main]/Glassfish/Glassfish::Create_domain[domain1]/Glassfish::Create_service[domain1]/Service[glassfish]: Dependency Domain[domain1] has failures: true
Warning: /Stage[main]/Glassfish/Glassfish::Create_domain[domain1]/Glassfish::Create_service[domain1]/Service[glassfish]: Skipping because of failed dependencies
Error: Could not find a suitable provider for domain
Notice: Finished catalog run in 18.22 seconds
@dsantanu
Copy link
Author

Any update? Or did you able to find out anything yet?

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