Hi All,I have puppet server and client ready. I found JBOSS module and manifests under https://github.com/example42/puppet-jboss/ and imported it through git.I am encountering these isse while I run :--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/iaYlyzVcuLUJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I have the same error.I am using puppet-jboss module from example42 and trying to install it on clean ubuntu 12.04 server.User jboss does not exists before (so and after) I run puppet agent.Here is part of output:Debug: Executing '/usr/sbin/groupadd jboss' Notice: /Stage[main]/Jboss::User/Group[jboss]/ensure: created Debug: /Stage[main]/Jboss::User/Group[jboss]: The container Class[Jboss::User] will propagate my refresh event Debug: Executing '/usr/sbin/useradd -p ! -c jboss user -d /opt/jboss -s /bin/bash jboss' Error: Could not create user jboss: Execution of '/usr/sbin/useradd -p ! -c jboss user -d /opt/jboss -s /bin/bash jboss' returned 9: useradd: group jboss exists - if you want to add this user to that group, use -g. Error: /Stage[main]/Jboss::User/User[jboss]/ensure: change from absent to present failed: Could not create user jboss: Execution of '/usr/sbin/useradd -p ! -c jboss user -d /opt/jboss -s /bin/bash jboss' returned 9: useradd: group jboss exists - if you want to add this user to that group, use -g. Debug: Class[Jboss::User]: The container Stage[main] will propagate my refresh event
Hi,
I am a big fan of example42 modules and using most of them, currently I am facing issues with the Jboss module
I ma using the latest jboss build from example42 and latest puppi modules as well.. but still getting the following errors
info: Caching catalog for ABC
info: Applying configuration version '1358506111'
notice: /Stage[main]/Jboss::User/User[jboss]/ensure: created
notice: /Stage[main]/Jboss::Install/File[jboss_link]/ensure: created
notice: /Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Retrieve http://download.jboss.org/jbossas/6.1/jboss-as-distribution-6.1.0.Final.zip]/returns: executed successfully
notice:
/Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Extract
jboss-as-distribution-6.1.0.Final.zip]/returns: executed successfully
info:
/Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Extract
jboss-as-distribution-6.1.0.Final.zip]: Scheduling refresh of
Exec[PostExtract jboss-as-distribution-6.1.0.Final.zip]
info:
/Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Extract
jboss-as-distribution-6.1.0.Final.zip]: Scheduling refresh of
Exec[Chown jboss-as-distribution-6.1.0.Final.zip]
err:
/Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[PostExtract
jboss-as-distribution-6.1.0.Final.zip]: Failed to call refresh: Working
directory '/opt/jboss-as-distribution-6.1.0.Final' does not exist
err:
/Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Chown
jboss-as-distribution-6.1.0.Final.zip]: Failed to call refresh: chown
-R root:root /opt/jboss-as-distribution-6.1.0.Final returned 1 instead
of one of [0] at /etc/puppet/modules/puppi/manifests/netinstall.pp:118
notice: /Stage[main]/Jboss::Service/File[jboss.init]/ensure: created
notice: /Stage[main]/Jboss::Service/Service[jboss]/ensure: ensure changed 'stopped' to 'running'
my node manifest is
node 'ABC' {
class { 'jboss':
Currently I am trying the module on centos but will need it immediately for suse/ubuntu and rhel as well....
please help..
Thanks in advance...
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/bEbgEyHTkd0J.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/m6jRBVqehYcJ.