Ajeet Raina
2012-Aug-25 10:58 UTC
[Puppet Users] JBOSS installation and Configuration through puppet
Hi All, I have puppet server and client ready. I found JBOSS module and manifests under https://github.com/example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and imported it through git. I am encountering these isse while I run : http://pastebin.com/S67JqmSK -- 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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
wen1023 wu
2012-Aug-27 00:58 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
the user jobss is exists in you system! 2012/8/25 Ajeet Raina <ajeetraina@gmail.com>> Hi All, > > I have puppet server and client ready. I found JBOSS module and manifests > under https://github.com/example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and > imported it through git. > I am encountering these isse while I run : > > http://pastebin.com/S67JqmSK > > -- > 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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Andrey Kouznetsov
2013-Jan-10 19:30 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
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 On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote:> > > the user jobss is exists in you system! > > 2012/8/25 Ajeet Raina <ajeet...@gmail.com <javascript:>> > >> Hi All, >> >> I have puppet server and client ready. I found JBOSS module and manifests >> under https://github.com/example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and >> imported it through git. >> I am encountering these isse while I run : >> >> http://pastebin.com/S67JqmSK >> >> -- >> 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<javascript:> >> . >> To unsubscribe from this group, send email to >> puppet-users...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > >-- 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/-/n6KiYY427rUJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Alessandro Franceschi
2013-Jan-11 17:12 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
There were some bugs in the module for some not well tested installation options (the module can install version 4, 5, 6 and 7 either via package, upstream source or puppi (from upstream files) and I personally used only one of these combinations). These problem should have been now be fixed, find the updated version on GitHub: https://github.com/example42/puppet-jboss Please let me know if there are other issues you find with the module. For quicker replies on problems with Example42 modules I suggest to open issues via GitHub. Best regards Alessandro Franceschi / Example42 Il giorno giovedì 10 gennaio 2013 20:30:12 UTC+1, Andrey Kouznetsov ha scritto:> > 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 > > > On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote: >> >> >> the user jobss is exists in you system! >> >> 2012/8/25 Ajeet Raina <ajeet...@gmail.com> >> >>> Hi All, >>> >>> I have puppet server and client ready. I found JBOSS module and >>> manifests under https://github.com/example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and >>> imported it through git. >>> I am encountering these isse while I run : >>> >>> http://pastebin.com/S67JqmSK >>> >>> -- >>> 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. >>> >> >>-- 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/-/bEbgEyHTkd0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Rakesh Kathpal
2013-Jan-18 11:39 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
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'' notice: Finished catalog run in 49.37 seconds 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... On Fri, Jan 11, 2013 at 10:42 PM, Alessandro Franceschi <al@lab42.it> wrote:> There were some bugs in the module for some not well tested installation > options (the module can install version 4, 5, 6 and 7 either via package, > upstream source or puppi (from upstream files) and I personally used only > one of these combinations). > > These problem should have been now be fixed, find the updated version on > GitHub: https://github.com/example42/puppet-jboss > Please let me know if there are other issues you find with the module. > > For quicker replies on problems with Example42 modules I suggest to open > issues via GitHub. > > Best regards > Alessandro Franceschi / Example42 > > Il giorno giovedì 10 gennaio 2013 20:30:12 UTC+1, Andrey Kouznetsov ha > scritto: > >> 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 >> >> >> On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote: >>> >>> >>> the user jobss is exists in you system! >>> >>> 2012/8/25 Ajeet Raina <ajeet...@gmail.com> >>> >>>> Hi All, >>>> >>>> I have puppet server and client ready. I found JBOSS module and >>>> manifests under https://github.com/**example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and >>>> imported it through git. >>>> I am encountering these isse while I run : >>>> >>>> http://pastebin.com/S67JqmSK >>>> >>>> -- >>>> 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<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<http://groups.google.com/group/puppet-users?hl=en> >>>> . >>>> >>> >>> -- > 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/-/bEbgEyHTkd0J. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Alessandro Franceschi
2013-Jan-24 13:24 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
Hi Rakesh, I just would like to know if the latest commits on GitHub have solved your problem. Best regards, al On Friday, January 18, 2013 12:39:47 PM UTC+1, Rakesh K wrote:> > 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'' > notice: Finished catalog run in 49.37 seconds > > 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... > > > On Fri, Jan 11, 2013 at 10:42 PM, Alessandro Franceschi <a...@lab42.it<javascript:> > > wrote: > >> There were some bugs in the module for some not well tested installation >> options (the module can install version 4, 5, 6 and 7 either via package, >> upstream source or puppi (from upstream files) and I personally used only >> one of these combinations). >> >> These problem should have been now be fixed, find the updated version on >> GitHub: https://github.com/example42/puppet-jboss >> Please let me know if there are other issues you find with the module. >> >> For quicker replies on problems with Example42 modules I suggest to open >> issues via GitHub. >> >> Best regards >> Alessandro Franceschi / Example42 >> >> Il giorno giovedì 10 gennaio 2013 20:30:12 UTC+1, Andrey Kouznetsov ha >> scritto: >> >>> 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 >>> >>> >>> On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote: >>>> >>>> >>>> the user jobss is exists in you system! >>>> >>>> 2012/8/25 Ajeet Raina <ajeet...@gmail.com> >>>> >>>>> Hi All, >>>>> >>>>> I have puppet server and client ready. I found JBOSS module and >>>>> manifests under https://github.com/**example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and >>>>> imported it through git. >>>>> I am encountering these isse while I run : >>>>> >>>>> http://pastebin.com/S67JqmSK >>>>> >>>>> -- >>>>> 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<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<http://groups.google.com/group/puppet-users?hl=en> >>>>> . >>>>> >>>> >>>> -- >> 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/-/bEbgEyHTkd0J. >> >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> puppet-users...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > >-- 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/-/m6jRBVqehYcJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Rakesh Kathpal
2013-Jan-24 13:36 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
Hi, Have you made any changes recently in last 2 days or so... I haven''t pulled the module after the netinstall fix you have done... The init.d startup issue still persists.. rest all has been fixed. Also there issues if unzip or wget are not installed on the client machine. Thanks & Regards, Rakesh K. On Thu, Jan 24, 2013 at 6:54 PM, Alessandro Franceschi <al@lab42.it> wrote:> Hi Rakesh, > I just would like to know if the latest commits on GitHub have solved your > problem. > Best regards, > al > > On Friday, January 18, 2013 12:39:47 PM UTC+1, Rakesh K wrote: > >> 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:<http://download.jboss.org/jbossas/6.1/jboss-as-distribution-6.1.0.Final.zip%5D/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'' >> notice: Finished catalog run in 49.37 seconds >> >> 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... >> >> >> On Fri, Jan 11, 2013 at 10:42 PM, Alessandro Franceschi <a...@lab42.it>wrote: >> >>> There were some bugs in the module for some not well tested installation >>> options (the module can install version 4, 5, 6 and 7 either via package, >>> upstream source or puppi (from upstream files) and I personally used only >>> one of these combinations). >>> >>> These problem should have been now be fixed, find the updated version on >>> GitHub: https://github.com/example42/**puppet-jboss<https://github.com/example42/puppet-jboss> >>> Please let me know if there are other issues you find with the module. >>> >>> For quicker replies on problems with Example42 modules I suggest to >>> open issues via GitHub. >>> >>> Best regards >>> Alessandro Franceschi / Example42 >>> >>> Il giorno giovedì 10 gennaio 2013 20:30:12 UTC+1, Andrey Kouznetsov ha >>> scritto: >>> >>>> 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 >>>> >>>> >>>> On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote: >>>>> >>>>> >>>>> the user jobss is exists in you system! >>>>> >>>>> 2012/8/25 Ajeet Raina <ajeet...@gmail.com> >>>>> >>>>>> Hi All, >>>>>> >>>>>> I have puppet server and client ready. I found JBOSS module and >>>>>> manifests under https://github.com/**examp**le42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and >>>>>> imported it through git. >>>>>> I am encountering these isse while I run : >>>>>> >>>>>> http://pastebin.com/S67JqmSK >>>>>> >>>>>> -- >>>>>> 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/ >>>>>> **ms**g/puppet-users/-/**iaYlyzVcuLUJ<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.**c**om. >>>>>> For more options, visit this group at http://groups.google.com/** >>>>>> group**/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en> >>>>>> . >>>>>> >>>>> >>>>> -- >>> 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/-/**bEbgEyHTkd0J<https://groups.google.com/d/msg/puppet-users/-/bEbgEyHTkd0J> >>> . >>> >>> 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<http://groups.google.com/group/puppet-users?hl=en> >>> . >>> >> >> >> -- > 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/-/m6jRBVqehYcJ. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Rakesh Kathpal
2013-Jan-24 13:42 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
err: /Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Extract jboss-as-distribution-6.1.0.Final.zip]/returns: change from notrun to 0 failed: sh: 1: unzip: not found On Thu, Jan 24, 2013 at 7:06 PM, Rakesh Kathpal <rkathpal@gmail.com> wrote:> Hi, > > Have you made any changes recently in last 2 days or so... > > I haven''t pulled the module after the netinstall fix you have done... > > The init.d startup issue still persists.. rest all has been fixed. > > Also there issues if unzip or wget are not installed on the client machine. > > Thanks & Regards, > > Rakesh K. > > > On Thu, Jan 24, 2013 at 6:54 PM, Alessandro Franceschi <al@lab42.it>wrote: > >> Hi Rakesh, >> I just would like to know if the latest commits on GitHub have solved >> your problem. >> Best regards, >> al >> >> On Friday, January 18, 2013 12:39:47 PM UTC+1, Rakesh K wrote: >> >>> 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:<http://download.jboss.org/jbossas/6.1/jboss-as-distribution-6.1.0.Final.zip%5D/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'' >>> notice: Finished catalog run in 49.37 seconds >>> >>> 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... >>> >>> >>> On Fri, Jan 11, 2013 at 10:42 PM, Alessandro Franceschi <a...@lab42.it>wrote: >>> >>>> There were some bugs in the module for some not well tested >>>> installation options (the module can install version 4, 5, 6 and 7 either >>>> via package, upstream source or puppi (from upstream files) and I >>>> personally used only one of these combinations). >>>> >>>> These problem should have been now be fixed, find the updated version >>>> on GitHub: https://github.com/example42/**puppet-jboss<https://github.com/example42/puppet-jboss> >>>> Please let me know if there are other issues you find with the module. >>>> >>>> For quicker replies on problems with Example42 modules I suggest to >>>> open issues via GitHub. >>>> >>>> Best regards >>>> Alessandro Franceschi / Example42 >>>> >>>> Il giorno giovedì 10 gennaio 2013 20:30:12 UTC+1, Andrey Kouznetsov ha >>>> scritto: >>>> >>>>> 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 >>>>> >>>>> >>>>> On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote: >>>>>> >>>>>> >>>>>> the user jobss is exists in you system! >>>>>> >>>>>> 2012/8/25 Ajeet Raina <ajeet...@gmail.com> >>>>>> >>>>>>> Hi All, >>>>>>> >>>>>>> I have puppet server and client ready. I found JBOSS module and >>>>>>> manifests under https://github.com/**examp**le42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and >>>>>>> imported it through git. >>>>>>> I am encountering these isse while I run : >>>>>>> >>>>>>> http://pastebin.com/S67JqmSK >>>>>>> >>>>>>> -- >>>>>>> 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/**ms**g/puppet-users/-/**iaYlyzVcuLUJ<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.**c**om. >>>>>>> For more options, visit this group at http://groups.google.com/** >>>>>>> group**/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en> >>>>>>> . >>>>>>> >>>>>> >>>>>> -- >>>> 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/-/**bEbgEyHTkd0J<https://groups.google.com/d/msg/puppet-users/-/bEbgEyHTkd0J> >>>> . >>>> >>>> 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<http://groups.google.com/group/puppet-users?hl=en> >>>> . >>>> >>> >>> >>> -- >> 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/-/m6jRBVqehYcJ. >> >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Alessandro Franceschi
2013-Jan-24 13:54 UTC
Re: [Puppet Users] JBOSS installation and Configuration through puppet
Yes, unzip would be installed by the Puppi module , but is not installed by default by the puppi::netinstall define that is used by the jboss module. It''s a too generic dependency, imho, to be placed in a module. Anyway thanks for the info. I still have to look at the startup issue on some distros. al On Thursday, January 24, 2013 2:36:07 PM UTC+1, Rakesh K wrote:> > Hi, > > Have you made any changes recently in last 2 days or so... > > I haven''t pulled the module after the netinstall fix you have done... > > The init.d startup issue still persists.. rest all has been fixed. > > Also there issues if unzip or wget are not installed on the client machine. > > Thanks & Regards, > > Rakesh K. > > On Thu, Jan 24, 2013 at 6:54 PM, Alessandro Franceschi <a...@lab42.it<javascript:> > > wrote: > >> Hi Rakesh, >> I just would like to know if the latest commits on GitHub have solved >> your problem. >> Best regards, >> al >> >> On Friday, January 18, 2013 12:39:47 PM UTC+1, Rakesh K wrote: >> >>> 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:<http://download.jboss.org/jbossas/6.1/jboss-as-distribution-6.1.0.Final.zip%5D/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'' >>> notice: Finished catalog run in 49.37 seconds >>> >>> 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... >>> >>> >>> On Fri, Jan 11, 2013 at 10:42 PM, Alessandro Franceschi <a...@lab42.it>wrote: >>> >>>> There were some bugs in the module for some not well tested >>>> installation options (the module can install version 4, 5, 6 and 7 either >>>> via package, upstream source or puppi (from upstream files) and I >>>> personally used only one of these combinations). >>>> >>>> These problem should have been now be fixed, find the updated version >>>> on GitHub: https://github.com/example42/**puppet-jboss<https://github.com/example42/puppet-jboss> >>>> Please let me know if there are other issues you find with the module. >>>> >>>> For quicker replies on problems with Example42 modules I suggest to >>>> open issues via GitHub. >>>> >>>> Best regards >>>> Alessandro Franceschi / Example42 >>>> >>>> Il giorno giovedì 10 gennaio 2013 20:30:12 UTC+1, Andrey Kouznetsov ha >>>> scritto: >>>> >>>>> 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 >>>>> >>>>> >>>>> On Monday, August 27, 2012 4:58:40 AM UTC+4, skylove wrote: >>>>>> >>>>>> >>>>>> the user jobss is exists in you system! >>>>>> >>>>>> 2012/8/25 Ajeet Raina <ajeet...@gmail.com> >>>>>> >>>>>>> Hi All, >>>>>>> >>>>>>> I have puppet server and client ready. I found JBOSS module and >>>>>>> manifests under https://github.com/**examp**le42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and >>>>>>> imported it through git. >>>>>>> I am encountering these isse while I run : >>>>>>> >>>>>>> http://pastebin.com/S67JqmSK >>>>>>> >>>>>>> -- >>>>>>> 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/**ms**g/puppet-users/-/**iaYlyzVcuLUJ<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.**c**om. >>>>>>> For more options, visit this group at http://groups.google.com/** >>>>>>> group**/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en> >>>>>>> . >>>>>>> >>>>>> >>>>>> -- >>>> 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/-/**bEbgEyHTkd0J<https://groups.google.com/d/msg/puppet-users/-/bEbgEyHTkd0J> >>>> . >>>> >>>> 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<http://groups.google.com/group/puppet-users?hl=en> >>>> . >>>> >>> >>> >>> -- >> 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/-/m6jRBVqehYcJ. >> >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> puppet-users...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > >-- 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/-/0l7ee2iayRQJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.