Red Hat Enterprise Linux Server release 7.1 (Maipo)
puppet agent -t
Warning: Local environment: "production" doesn't match server specified node environment "tst3", switching agent to "tst3".
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for client1.server.com
Info: Applying configuration version '1435929538'
Error: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Reload Server domain]: Could not evaluate: can't convert Fixnum into String
Notice: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Restart Server domain]: Dependency Jboss_exec[Reload Server domain] has failures: true
Warning: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Restart Server domain]: Skipping because of failed dependencies
Notice: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Check Server Up After domain]: Dependency Jboss_exec[Reload Server domain] has failures: true
Warning: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Check Server Up After domain]: Skipping because of failed dependencies
Notice: /Stage[main]/Jboss_config/User[jboss]: Dependency Jboss_exec[Reload Server domain] has failures: true
Warning: /Stage[main]/Jboss_config/User[jboss]: Skipping because of failed dependencies
Notice: /Stage[main]/Jboss_config/File[/etc/jbossas]: Dependency Jboss_exec[Reload Server domain] has failures: true
Warning: /Stage[main]/Jboss_config/File[/etc/jbossas]: Skipping because of failed dependencies
Notice: /Stage[main]/Jboss_64/Service[jbossas-domain]: Dependency Jboss_exec[Reload Server domain] has failures: true
Warning: /Stage[main]/Jboss_64/Service[jbossas-domain]: Skipping because of failed dependencies
Notice: Finished catalog run in 0.94 seconds
Issue
Setting the following configuration, lets puppet fail with the following message: Could not evaluate: can't convert Fixnum into String
Help to fix this issue would be very much appreciated.
configuration
boss_admin::server {'domain': base_path => '/usr/share/jbossas' }
ruby -version
ruby 2.0.0p598 (2014-11-13) [x86_64-linux]
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
puppet agent -t
Warning: Local environment: "production" doesn't match server specified node environment "tst3", switching agent to "tst3". Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts
Info: Caching catalog for client1.server.com Info: Applying configuration version '1435929538'
Error: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Reload Server domain]: Could not evaluate: can't convert Fixnum into String Notice: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Restart Server domain]: Dependency Jboss_exec[Reload Server domain] has failures: true Warning: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Restart Server domain]: Skipping because of failed dependencies Notice: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Check Server Up After domain]: Dependency Jboss_exec[Reload Server domain] has failures: true Warning: /Stage[main]/Jboss_rpm_install/Jboss_admin::Server[domain]/Jboss_admin::Cleanup[domain]/Jboss_exec[Check Server Up After domain]: Skipping because of failed dependencies Notice: /Stage[main]/Jboss_config/User[jboss]: Dependency Jboss_exec[Reload Server domain] has failures: true Warning: /Stage[main]/Jboss_config/User[jboss]: Skipping because of failed dependencies Notice: /Stage[main]/Jboss_config/File[/etc/jbossas]: Dependency Jboss_exec[Reload Server domain] has failures: true Warning: /Stage[main]/Jboss_config/File[/etc/jbossas]: Skipping because of failed dependencies Notice: /Stage[main]/Jboss_64/Service[jbossas-domain]: Dependency Jboss_exec[Reload Server domain] has failures: true Warning: /Stage[main]/Jboss_64/Service[jbossas-domain]: Skipping because of failed dependencies Notice: Finished catalog run in 0.94 seconds