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
@fatmcgav
Copy link

fatmcgav commented Oct 9, 2014

Hmm, ok... Did you have glassfish installed before you ran the above test?

As it's missing all the resources that actually install glassfish.

Could you run again on a clean host with --debug...

@dsantanu
Copy link
Author

dsantanu commented Oct 9, 2014

nope, didn't have Glassfish installed beforehand. The only thing changed in your Glassfish module is $glassfish_manage_java = false as I need to use Java 7u45. I'm doing another test on a fresh VM with -d on.

@dsantanu
Copy link
Author

dsantanu commented Oct 9, 2014

some reason, I suddenly started getting this error:

Error: Invalid parameter template on Domain[domain1] at /var/tmp/p1/puppet/modules/glassfish/manifests/create_domain.pp:95 on node p1-sant-services-001.kurtosys.net
Wrapped exception:
Invalid parameter template
Error: Invalid parameter template on Domain[domain1] at /var/tmp/p1/puppet/modules/glassfish/manifests/create_domain.pp:95 on node p1-sant-services-001.kurtosys.net

Have you changed anything recently? it's a fresh copy from the Git.

@dsantanu
Copy link
Author

dsantanu commented Oct 9, 2014

an old copy from my previous download doesn't have this Invalid parameter..... error.

BTW, please find the puppet debug log attached below (using the very same gf_test.pp):

root@p1-sant-services-001:/etc/puppet# puppet apply -td --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')
Debug: Runtime environment: run_mode=user, ruby_version=1.8.7, puppet_version=3.7.1
Info: Loading facts
Debug: Loading facts from /var/tmp/p1/puppet/modules/newman/lib/facter/ks_nman_installed.rb
Info: Loading facts
Debug: Loading facts from /var/tmp/p1/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Debug: Loading facts from /var/tmp/p1/puppet/modules/stdlib/lib/facter/pe_version.rb
Debug: Loading facts from /var/tmp/p1/puppet/modules/stdlib/lib/facter/root_home.rb
Debug: Loading facts from /var/tmp/p1/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts
Debug: Loading facts from /var/tmp/p1/puppet/modules/ostype/lib/facter/ks_ostype.rb
Info: Loading facts
Debug: Loading facts from /var/tmp/p1/puppet/modules/memsql/lib/facter/ks_memsql_nodeid.rb
Info: Loading facts
Info: Loading facts
Debug: Loading facts from /var/tmp/p1/puppet/modules/common/lib/facter/ks_shellshock_status.rb
Debug: Loading facts from /var/tmp/p1/puppet/modules/common/lib/facter/ks_runninginst.rb
Error loading fact /var/tmp/p1/puppet/modules/memsql/lib/facter/ks_memsql_nodeid.rb: no such file to load -- mysql
Error loading fact /var/tmp/p1/puppet/modules/memsql/lib/facter/ks_memsql_nodeid.rb: no such file to load -- mysql
Debug: importing '/var/tmp/p1/puppet/modules/java7u45/manifests/init.pp' in environment production
Debug: Automatically imported java7u45 from java7u45 into production
Debug: importing '/var/tmp/p1/puppet/modules/java7u45/manifests/install.pp' in environment production
Debug: Automatically imported java7u45::install from java7u45/install into production
Debug: importing '/var/tmp/p1/puppet/modules/wget/manifests/init.pp' in environment production
Debug: importing '/var/tmp/p1/puppet/modules/wget/manifests/fetch.pp' in environment production
Debug: Automatically imported wget::fetch from wget/fetch into production
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/init.pp' in environment production
Debug: Automatically imported glassfish from glassfish into production
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/params.pp' in environment production
Debug: Automatically imported glassfish::params from glassfish/params into production
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(): Looking up glassfish::manage_java in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::asadmin_password in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::version in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::java_ver in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::install_method in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::enable_secure_admin in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::domain_template in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::parent_dir in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::create_service in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::add_path in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::start_domain in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::package_prefix in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::install_dir in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::manage_accounts in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::gms_enabled in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::gms_multicast_address in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::gms_multicast_port in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::asadmin_passfile in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::user in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::group in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::create_passfile in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::tmp_dir in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: hiera(): Looking up glassfish::asadmin_user in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: Scope(Class[Glassfish]): Retrieving template glassfish/passwordfile
Debug: template[/var/tmp/p1/puppet/modules/glassfish/templates/passwordfile]: Bound template variables for /var/tmp/p1/puppet/modules/glassfish/templates/passwordfile in 0.00 seconds
Debug: template[/var/tmp/p1/puppet/modules/glassfish/templates/passwordfile]: Interpolated template /var/tmp/p1/puppet/modules/glassfish/templates/passwordfile in 0.00 seconds
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/create_domain.pp' in environment production
Debug: Automatically imported glassfish::create_domain from glassfish/create_domain into production
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/create_node.pp' in environment production
Debug: Automatically imported glassfish::create_node from glassfish/create_node into production
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/install.pp' in environment production
Debug: Automatically imported glassfish::install from glassfish/install into production
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/path.pp' in environment production
Debug: Automatically imported glassfish::path from glassfish/path into production
Debug: Scope(Class[Glassfish::Path]): Retrieving template glassfish/glassfish-profile-deb.erb
Debug: template[/var/tmp/p1/puppet/modules/glassfish/templates/glassfish-profile-deb.erb]: Bound template variables for /var/tmp/p1/puppet/modules/glassfish/templates/glassfish-profile-deb.erb in 0.00 seconds
Debug: template[/var/tmp/p1/puppet/modules/glassfish/templates/glassfish-profile-deb.erb]: Interpolated template /var/tmp/p1/puppet/modules/glassfish/templates/glassfish-profile-deb.erb in 0.00 seconds
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/create_cluster.pp' in environment production
Debug: Automatically imported glassfish::create_cluster from glassfish/create_cluster into production
Debug: hiera(): Looking up wget::version in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
Debug: template[inline]: Bound template variables for inline template in 0.00 seconds
Debug: template[inline]: Interpolated template inline template in 0.00 seconds
Debug: template[inline]: Bound template variables for inline template in 0.00 seconds
Debug: template[inline]: Interpolated template inline template in 0.00 seconds
Debug: Reloading asadmin domain provider
Debug: importing '/var/tmp/p1/puppet/modules/glassfish/manifests/create_service.pp' in environment production
Debug: Automatically imported glassfish::create_service from glassfish/create_service into production
Debug: Scope(Glassfish::Create_service[ks_domain1]): Retrieving template glassfish/glassfish-init-domain-debian.erb
Debug: template[/var/tmp/p1/puppet/modules/glassfish/templates/glassfish-init-domain-debian.erb]: Bound template variables for /var/tmp/p1/puppet/modules/glassfish/templates/glassfish-init-domain-debian.erb in 0.00 seconds
Debug: template[/var/tmp/p1/puppet/modules/glassfish/templates/glassfish-init-domain-debian.erb]: Interpolated template /var/tmp/p1/puppet/modules/glassfish/templates/glassfish-init-domain-debian.erb in 0.00 seconds
Debug: Adding relationship from Wget::Fetch[fetch_java] to File[/usr/local/jdk] with 'before'
Debug: Adding relationship from File[/usr/local/jdk] to Exec[untar_java] with 'before'
Debug: Adding relationship from Exec[untar_java] to File[lnk_java] with 'before'
Debug: Adding relationship from File[lnk_java] to Exec[alternate_java] with 'before'
Debug: Adding relationship from File[lnk_java] to Exec[alternate_jar] with 'before'
Debug: Adding relationship from File[lnk_java] to Exec[alternate_javac] with 'before'
Debug: Adding relationship from Exec[alternate_java] to Alternatives[java] with 'before'
Debug: Adding relationship from Exec[alternate_java] to Alternatives[jar] with 'before'
Debug: Adding relationship from Exec[alternate_java] to Alternatives[javac] with 'before'
Debug: Adding relationship from Exec[alternate_jar] to Alternatives[java] with 'before'
Debug: Adding relationship from Exec[alternate_jar] to Alternatives[jar] with 'before'
Debug: Adding relationship from Exec[alternate_jar] to Alternatives[javac] with 'before'
Debug: Adding relationship from Exec[alternate_javac] to Alternatives[java] with 'before'
Debug: Adding relationship from Exec[alternate_javac] to Alternatives[jar] with 'before'
Debug: Adding relationship from Exec[alternate_javac] to Alternatives[javac] with 'before'
Debug: Adding relationship from File[asadmin_passfile] to Glassfish::Create_domain[ks_domain1] with 'before'
Debug: Adding relationship from User[glassfish] to Exec[change-ownership] with 'before'
Debug: Adding relationship from Class[Glassfish::Install] to Glassfish::Create_domain[ks_domain1] with 'before'
Debug: Adding relationship from File[/usr/local] to Class[Glassfish::Install] with 'before'
Debug: Adding relationship from Class[Glassfish::Path] to Glassfish::Create_domain[ks_domain1] with 'before'
Debug: Adding relationship from Class[Glassfish::Path] to Glassfish::Create_domain[ks_domain1] with 'before'
Debug: Exec[untar_java]: Adding default for path
Debug: Exec[alternate_java]: Adding default for path
Debug: Exec[alternate_jar]: Adding default for path
Debug: Exec[alternate_javac]: Adding default for path
Notice: Compiled catalog for p1-sant-services-001.kurtosys.net in environment production in 0.79 seconds
Debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
Debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
Debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
Debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_delete does not exist
Debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
Debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist
Debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist
Debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist
Debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist
Debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist
Debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/sbin/pkg_info does not exist
Debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist
Debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist
Debug: Puppet::Type::Package::ProviderYum: file yum does not exist
Debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_delete does not exist
Debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist
Debug: Puppet::Type::Package::ProviderSun: file /usr/sbin/pkgrm does not exist
Debug: Puppet::Type::Package::ProviderPkgin: file pkgin does not exist
Debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
Debug: Puppet::Type::Package::ProviderOpkg: file opkg does not exist
Debug: Puppet::Type::Package::ProviderGem: file gem does not exist
Debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist
Debug: Puppet::Type::Package::ProviderPorts: file /usr/sbin/pkg_info does not exist
Debug: /Package[unzip]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
Debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist
Debug: Puppet::Type::Group::ProviderPw: file pw does not exist
Debug: Failed to load library 'ldap' for feature 'ldap'
Debug: Puppet::Type::Group::ProviderLdap: feature ldap is missing
Debug: /Group[glassfish]: Provider groupadd does not support features libuser; not managing attribute forcelocal
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: Failed to load library 'ldap' for feature 'ldap'
Debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
Debug: /User[glassfish]: Provider useradd does not support features libuser; not managing attribute forcelocal
Debug: /Package[wget]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
Debug: Puppet::Type::Service::ProviderOpenrc: file /bin/rc-status does not exist
Debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
Debug: Puppet::Type::Service::ProviderRedhat: file /sbin/service does not exist
Debug: Puppet::Type::Service::ProviderSystemd: file systemctl does not exist
Debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
Debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
Debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svstat does not exist
Debug: Creating default schedules
Debug: /User[puppet]: Provider useradd does not support features libuser; not managing attribute forcelocal
Debug: /Group[puppet]: Provider groupadd does not support features libuser; not managing attribute forcelocal
Debug: Using settings: adding file resource 'certdir': 'File[/var/lib/puppet/ssl/certs]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"755", :path=>"/var/lib/puppet/ssl/certs", :ensure=>:directory}'
Debug: Using settings: adding file resource 'clientyamldir': 'File[/var/lib/puppet/client_yaml]{:backup=>false, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/client_yaml", :ensure=>:directory}'
Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:backup=>false, :loglevel=>:debug, :links=>:follow, :path=>"/etc/puppet", :ensure=>:directory}'
Debug: Using settings: adding file resource 'publickeydir': 'File[/var/lib/puppet/ssl/public_keys]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"755", :path=>"/var/lib/puppet/ssl/public_keys", :ensure=>:directory}'
Debug: Using settings: adding file resource 'plugindest': 'File[/var/lib/puppet/lib]{:backup=>false, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/lib", :ensure=>:directory}'
Debug: Using settings: adding file resource 'clientbucketdir': 'File[/var/lib/puppet/clientbucket]{:backup=>false, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/clientbucket", :ensure=>:directory}'
Debug: Using settings: adding file resource 'privatekeydir': 'File[/var/lib/puppet/ssl/private_keys]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/ssl/private_keys", :ensure=>:directory}'
Debug: Using settings: adding file resource 'pluginfactdest': 'File[/var/lib/puppet/facts.d]{:backup=>false, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/facts.d", :ensure=>:directory}'
Debug: Using settings: adding file resource 'graphdir': 'File[/var/lib/puppet/state/graphs]{:backup=>false, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/state/graphs", :ensure=>:directory}'
Debug: Using settings: adding file resource 'rundir': 'File[/var/run/puppet]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"755", :path=>"/var/run/puppet", :ensure=>:directory}'
Debug: Using settings: adding file resource 'logdir': 'File[/var/log/puppet]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"750", :path=>"/var/log/puppet", :ensure=>:directory}'
Debug: Using settings: adding file resource 'ssldir': 'File[/var/lib/puppet/ssl]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"771", :path=>"/var/lib/puppet/ssl", :ensure=>:directory}'
Debug: Using settings: adding file resource 'client_datadir': 'File[/var/lib/puppet/client_data]{:backup=>false, :loglevel=>:debug, :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/client_data", :ensure=>:directory}'
Debug: Using settings: adding file resource 'vardir': 'File[/var/lib/puppet]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :path=>"/var/lib/puppet", :ensure=>:directory}'
Debug: Using settings: adding file resource 'requestdir': 'File[/var/lib/puppet/ssl/certificate_requests]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"755", :path=>"/var/lib/puppet/ssl/certificate_requests", :ensure=>:directory}'
Debug: Using settings: adding file resource 'statedir': 'File[/var/lib/puppet/state]{:backup=>false, :loglevel=>:debug, :links=>:follow, :mode=>"1755", :path=>"/var/lib/puppet/state", :ensure=>:directory}'
Debug: Using settings: adding file resource 'privatedir': 'File[/var/lib/puppet/ssl/private]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/ssl/private", :ensure=>:directory}'
Debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/facts.d]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
Debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/facts.d]/ensure: created
Debug: /File[/var/lib/puppet/ssl]/ensure: created
Debug: /File[/var/lib/puppet/ssl/private_keys]/ensure: created
Debug: /File[/var/lib/puppet/ssl/public_keys]/ensure: created
Debug: /File[/var/lib/puppet/ssl/certs]/ensure: created
Debug: /File[/var/run/puppet]/mode: mode changed '0750' to '0755'
Debug: /File[/var/lib/puppet/client_data]/ensure: created
Debug: /File[/var/lib/puppet/state]/mode: mode changed '0755' to '1755'
Debug: /File[/var/lib/puppet/state/graphs]/ensure: created
Debug: /File[/var/lib/puppet/client_yaml]/ensure: created
Debug: /File[/var/lib/puppet/ssl/private]/ensure: created
Debug: /File[/var/lib/puppet/lib]/ensure: created
Debug: /File[/var/lib/puppet/clientbucket]/ensure: created
Debug: /File[/var/lib/puppet/ssl/certificate_requests]/ensure: created
Debug: Finishing transaction 70069307450480
Debug: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/require: requires Class[Glassfish::Install]
Debug: /Stage[main]/Glassfish/require: requires Class[Java7u45]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_java]/before: requires Alternatives[java]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_java]/before: requires Alternatives[jar]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_java]/before: requires Alternatives[javac]
Debug: /Stage[main]/Glassfish::Install/Exec[change-mode]/require: requires Exec[change-ownership]
Debug: /Stage[main]/Glassfish::Install/File[remove-domain1]/require: requires Exec[move-glassfish3]
Debug: /Stage[main]/Glassfish::Install/File[remove-domain1]/before: requires Anchor[glassfish::install::end]
Debug: /Stage[main]/Glassfish::Install/Exec[change-ownership]/require: requires Exec[unzip-downloaded]
Debug: /Stage[main]/Glassfish/File[asadmin_passfile]/before: requires Glassfish::Create_domain[ks_domain1]
Debug: /Stage[main]/Main/Package[unzip]/before: requires Class[Glassfish]
Debug: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/File[ks_domain1_servicefile]/notify: subscribes to Service[glassfish]
Debug: /Stage[main]/Glassfish::Path/require: requires Class[Glassfish::Install]
Debug: /Stage[main]/Glassfish::Path/before: requires Glassfish::Create_domain[ks_domain1]
Debug: /Stage[main]/Glassfish::Path/before: requires Glassfish::Create_domain[ks_domain1]
Debug: /Stage[main]/Glassfish::Install/Exec[move-glassfish3]/require: requires Exec[change-mode]
Debug: /Stage[main]/Glassfish::Install/Exec[download_glassfish-3.1.2.2.zip]/require: requires File[/tmp]
Debug: /Stage[main]/Java7u45::Install/Exec[untar_java]/require: requires Wget::Fetch[fetch_java]
Debug: /Stage[main]/Java7u45::Install/Exec[untar_java]/before: requires File[lnk_java]
Debug: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/Exec[stop_ks_domain1]/before: requires Service[glassfish]
Debug: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/require: requires Domain[ks_domain1]
Debug: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/Exec[wget-fetch_java]/require: requires Class[Wget]
Debug: /Stage[main]/Glassfish::Path/File[/etc/profile.d/glassfish.sh]/require: requires Class[Glassfish::Install]
Debug: /Stage[main]/Glassfish::Install/User[glassfish]/require: requires Group[glassfish]
Debug: /Stage[main]/Glassfish::Install/User[glassfish]/before: requires Exec[change-ownership]
Debug: /Stage[main]/Java7u45::Install/File[lnk_java]/require: requires Exec[untar_java]
Debug: /Stage[main]/Java7u45::Install/File[lnk_java]/before: requires Exec[alternate_java]
Debug: /Stage[main]/Java7u45::Install/File[lnk_java]/before: requires Exec[alternate_jar]
Debug: /Stage[main]/Java7u45::Install/File[lnk_java]/before: requires Exec[alternate_javac]
Debug: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/before: requires Exec[untar_java]
Debug: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/before: requires File[/usr/local/jdk]
Debug: /Stage[main]/Glassfish::Install/File[/tmp]/require: requires Anchor[glassfish::install::start]
Debug: /Stage[main]/Glassfish::Install/before: requires Glassfish::Create_domain[ks_domain1]
Debug: /Stage[main]/Java7u45::Install/File[/usr/local/jdk]/before: requires Exec[untar_java]
Debug: /Stage[main]/Java7u45::Install/File[/usr/local/jdk]/notify: subscribes to Exec[untar_java]
Debug: /Stage[main]/Glassfish::Install/Exec[unzip-downloaded]/require: requires Exec[download_glassfish-3.1.2.2.zip]
Debug: /Stage[main]/Glassfish/File[/usr/local]/before: requires Class[Glassfish::Install]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_javac]/before: requires Alternatives[java]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_javac]/before: requires Alternatives[jar]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_javac]/before: requires Alternatives[javac]
Debug: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/File[/tmp/jdk-7u45-linux-x64.tgz]/require: requires Exec[wget-fetch_java]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_jar]/before: requires Alternatives[java]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_jar]/before: requires Alternatives[jar]
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_jar]/before: requires Alternatives[javac]
Debug: /Stage[main]/Glassfish::Install/File[remove-domain1]: Autorequiring File[/usr/local]
Debug: /Stage[main]/Glassfish/File[asadmin_passfile]: Autorequiring Group[glassfish]
Debug: /Stage[main]/Glassfish/File[asadmin_passfile]: Autorequiring User[glassfish]
Debug: /Stage[main]/Glassfish::Install/Exec[move-glassfish3]: Autorequiring File[/tmp]
Debug: /Stage[main]/Java7u45::Install/Exec[untar_java]: Autorequiring File[/tmp]
Debug: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/Exec[stop_ks_domain1]: Autorequiring User[glassfish]
Debug: /Stage[main]/Java7u45::Install/File[lnk_java]: Autorequiring File[/usr/local]
Debug: /Stage[main]/Java7u45::Install/File[/usr/local/jdk]: Autorequiring File[/usr/local]
Debug: /Stage[main]/Glassfish::Install/Exec[unzip-downloaded]: Autorequiring File[/tmp]
Debug: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/File[/tmp/jdk-7u45-linux-x64.tgz]: Autorequiring File[/tmp]
Debug: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Domain[ks_domain1]: Autorequiring File[asadmin_passfile]
Debug: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Domain[ks_domain1]: Autorequiring User[glassfish]
Info: Applying configuration version '1412853135'
Debug: Prefetching apt resources for package
Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
Debug: Executing '/usr/sbin/groupadd glassfish'
Notice: /Stage[main]/Glassfish::Install/Group[glassfish]/ensure: created
Debug: /Group[glassfish]: The container Class[Glassfish::Install] will propagate my refresh event
Debug: Executing '/usr/sbin/useradd -c Glassfish user account -g glassfish -m glassfish'
Notice: /Stage[main]/Glassfish::Install/User[glassfish]/ensure: created
Debug: /User[glassfish]: The container Class[Glassfish::Install] will propagate my refresh event
Notice: /Stage[main]/Glassfish/File[asadmin_passfile]/ensure: created
Debug: /Stage[main]/Glassfish/File[asadmin_passfile]: The container Class[Glassfish] will propagate my refresh event
Debug: Exec[download_glassfish-3.1.2.2.zip](provider=posix): Executing 'wget -q http://download.java.net/glassfish/3.1.2.2/release/glassfish-3.1.2.2.zip -O /tmp/glassfish-3.1.2.2.zip'
Debug: Executing 'wget -q http://download.java.net/glassfish/3.1.2.2/release/glassfish-3.1.2.2.zip -O /tmp/glassfish-3.1.2.2.zip'
Notice: /Stage[main]/Glassfish::Install/Exec[download_glassfish-3.1.2.2.zip]/returns: executed successfully
Debug: /Stage[main]/Glassfish::Install/Exec[download_glassfish-3.1.2.2.zip]: The container Class[Glassfish::Install] will propagate my refresh event
Debug: Exec[unzip-downloaded](provider=posix): Executing 'unzip /tmp/glassfish-3.1.2.2.zip'
Debug: Executing 'unzip /tmp/glassfish-3.1.2.2.zip'
Notice: /Stage[main]/Glassfish::Install/Exec[unzip-downloaded]/returns: executed successfully
Debug: /Stage[main]/Glassfish::Install/Exec[unzip-downloaded]: The container Class[Glassfish::Install] will propagate my refresh event
Debug: Exec[change-ownership](provider=posix): Executing 'chown -R glassfish:glassfish /tmp/glassfish3'
Debug: Executing 'chown -R glassfish:glassfish /tmp/glassfish3'
Notice: /Stage[main]/Glassfish::Install/Exec[change-ownership]/returns: executed successfully
Debug: /Stage[main]/Glassfish::Install/Exec[change-ownership]: The container Class[Glassfish::Install] will propagate my refresh event
Debug: Exec[change-mode](provider=posix): Executing 'chmod -R g+rwX /tmp/glassfish3'
Debug: Executing 'chmod -R g+rwX /tmp/glassfish3'
Notice: /Stage[main]/Glassfish::Install/Exec[change-mode]/returns: executed successfully
Debug: /Stage[main]/Glassfish::Install/Exec[change-mode]: The container Class[Glassfish::Install] will propagate my refresh event
Debug: Exec[move-glassfish3](provider=posix): Executing 'mv /tmp/glassfish3 /usr/local/glassfish-3.1.2.2'
Debug: Executing 'mv /tmp/glassfish3 /usr/local/glassfish-3.1.2.2'
Notice: /Stage[main]/Glassfish::Install/Exec[move-glassfish3]/returns: executed successfully
Debug: /Stage[main]/Glassfish::Install/Exec[move-glassfish3]: The container Class[Glassfish::Install] will propagate my refresh event
Debug: /Stage[main]/Glassfish::Install/File[remove-domain1]: Removing existing directory for replacement with absent
Notice: /Stage[main]/Glassfish::Install/File[remove-domain1]/ensure: removed
Debug: /Stage[main]/Glassfish::Install/File[remove-domain1]: The container Class[Glassfish::Install] will propagate my refresh event
Debug: Class[Glassfish::Install]: The container Stage[main] will propagate my refresh event
Notice: /Stage[main]/Glassfish::Path/File[/etc/profile.d/glassfish.sh]/ensure: created
Debug: /Stage[main]/Glassfish::Path/File[/etc/profile.d/glassfish.sh]: The container Class[Glassfish::Path] will propagate my refresh event
Debug: Exec[wget-fetch_java](provider=posix): Executing check 'test -s /tmp/jdk-7u45-linux-x64.tgz'
Debug: Executing 'test -s /tmp/jdk-7u45-linux-x64.tgz'
Debug: Exec[wget-fetch_java](provider=posix): Executing 'wget --no-verbose -N -P '/var/cache/wget' 'https://s3.amazonaws.com/kurtosys-engineering/DevOps/Applications/java/jdk-7u45-linux-x64.tgz''
Debug: Executing 'wget --no-verbose -N -P '/var/cache/wget' 'https://s3.amazonaws.com/kurtosys-engineering/DevOps/Applications/java/jdk-7u45-linux-x64.tgz''
Notice: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/Exec[wget-fetch_java]/returns: executed successfully
Debug: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/Exec[wget-fetch_java]: The container Wget::Fetch[fetch_java] will propagate my refresh event
Notice: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/File[/tmp/jdk-7u45-linux-x64.tgz]/ensure: defined content as '{md5}0500d7884b58eecfe9753d2790b43e1e'
Debug: /Stage[main]/Java7u45::Install/Wget::Fetch[fetch_java]/File[/tmp/jdk-7u45-linux-x64.tgz]: The container Wget::Fetch[fetch_java] will propagate my refresh event
Debug: Wget::Fetch[fetch_java]: The container Class[Java7u45::Install] will propagate my refresh event
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]
Debug: /Stage[main]/Java7u45::Install/File[/usr/local/jdk]: The container Class[Java7u45::Install] will propagate my refresh event
Debug: Exec[untar_java](provider=posix): Executing '/bin/tar -C /usr/local/jdk -xzf jdk-7u45-linux-x64.tgz'
Debug: Executing '/bin/tar -C /usr/local/jdk -xzf jdk-7u45-linux-x64.tgz'
Notice: /Stage[main]/Java7u45::Install/Exec[untar_java]: Triggered 'refresh' from 1 events
Debug: /Stage[main]/Java7u45::Install/Exec[untar_java]: The container Class[Java7u45::Install] will propagate my refresh event
Debug: Class[Glassfish::Path]: The container Stage[main] will propagate my refresh event
Notice: /Stage[main]/Java7u45::Install/File[lnk_java]/ensure: created
Debug: /Stage[main]/Java7u45::Install/File[lnk_java]: The container Class[Java7u45::Install] will propagate my refresh event
Debug: Exec[alternate_java](provider=posix): Executing check 'update-alternatives --query java'
Debug: Executing 'update-alternatives --query java'
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_java]/unless: update-alternatives: error: no alternatives for java.
Debug: Exec[alternate_java](provider=posix): Executing 'update-alternatives --install /usr/bin/java java /usr/local/java/bin/java 1'
Debug: Executing 'update-alternatives --install /usr/bin/java java /usr/local/java/bin/java 1'
Notice: /Stage[main]/Java7u45::Install/Exec[alternate_java]/returns: executed successfully
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_java]: The container Class[Java7u45::Install] will propagate my refresh event
Debug: Exec[alternate_jar](provider=posix): Executing check 'update-alternatives --query jar'
Debug: Executing 'update-alternatives --query jar'
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_jar]/unless: update-alternatives: error: no alternatives for jar.
Debug: Exec[alternate_jar](provider=posix): Executing 'update-alternatives --install /usr/bin/jar jar /usr/local/java/bin/jar 1'
Debug: Executing 'update-alternatives --install /usr/bin/jar jar /usr/local/java/bin/jar 1'
Notice: /Stage[main]/Java7u45::Install/Exec[alternate_jar]/returns: executed successfully
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_jar]: The container Class[Java7u45::Install] will propagate my refresh event
Debug: Exec[alternate_javac](provider=posix): Executing check 'update-alternatives --query javac'
Debug: Executing 'update-alternatives --query javac'
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_javac]/unless: update-alternatives: error: no alternatives for javac.
Debug: Exec[alternate_javac](provider=posix): Executing 'update-alternatives --install /usr/bin/javac javac /usr/local/java/bin/javac 1'
Debug: Executing 'update-alternatives --install /usr/bin/javac javac /usr/local/java/bin/javac 1'
Notice: /Stage[main]/Java7u45::Install/Exec[alternate_javac]/returns: executed successfully
Debug: /Stage[main]/Java7u45::Install/Exec[alternate_javac]: The container Class[Java7u45::Install] will propagate my refresh event
Debug: Executing '/usr/sbin/update-alternatives --get-selections'
Debug: Executing '/usr/sbin/update-alternatives --get-selections'
Debug: Executing '/usr/sbin/update-alternatives --get-selections'
Debug: Class[Java7u45::Install]: The container Stage[main] will propagate my refresh event
Notice: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/Exec[stop_ks_domain1]: Dependency Domain[ks_domain1] has failures: true
Warning: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/Exec[stop_ks_domain1]: Skipping because of failed dependencies
Notice: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/File[ks_domain1_servicefile]: Dependency Domain[ks_domain1] has failures: true
Warning: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/File[ks_domain1_servicefile]: Skipping because of failed dependencies
Notice: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/Service[glassfish]: Dependency Domain[ks_domain1] has failures: true
Warning: /Stage[main]/Glassfish/Glassfish::Create_domain[ks_domain1]/Glassfish::Create_service[ks_domain1]/Service[glassfish]: Skipping because of failed dependencies
Debug: Class[Glassfish]: The container Stage[main] will propagate my refresh event
Error: Could not find a suitable provider for domain
Debug: Finishing transaction 70069306909720
Debug: Storing state
Info: Creating state file /var/lib/puppet/state/state.yaml
Debug: Stored state in 0.01 seconds
Notice: Finished catalog run in 20.76 seconds
Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :links=>:follow, :mode=>"750", :path=>"/var/lib/puppet/rrd", :ensure=>:directory}'
Debug: /File[/var/lib/puppet/rrd]/ensure: created
Debug: Finishing transaction 70069306943040
Debug: Received report to process from p1-sant-services-001.kurtosys.net
Debug: Processing report from p1-sant-services-001.kurtosys.net with processor Puppet::Reports::Store

@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