example42 / puppet-jboss

Jboss Puppet Module
http://www.example42.com
Other
15 stars 25 forks source link

Problem installing jboss on Ubuntu #4

Closed onsails closed 11 years ago

onsails commented 11 years ago

I am trying to setup jboss on clean machine with Ubuntu 12.04. My manifest is quite simple and contains only emacs install instructions and

class { 'jboss':                                                                                                                                                                
    install => 'puppi'                                                                                                                                                            } 

Here is output of puppet agent -t -d -v command between Applying configuration xxxx and the error:

Debug: /Stage[main]/Puppi::Extras/Puppi::Check[System_Load]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[System_Load]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/File[/etc/puppi/projects/jboss/initialize]/require: requires File[/etc/puppi/projects/jboss]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Skel/File[puppi_projectsdir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Puppi::Skel/File[puppi_logdir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Deploy]/File[/etc/puppi/projects/jboss/deploy/40-jboss-Deploy]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss/require: requires Class[Jboss::Install]
Debug: /Stage[main]/Jboss/require: requires Class[Jboss::Service]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Report[jboss-Mail_Notification]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[system]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[system]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Emacs/Apt::Ppa[ppa:cassou/emacs]/Exec[add-apt-repository-ppa:cassou/emacs]/require: requires File[sources.list.d]
Debug: /Stage[main]/Emacs/Apt::Ppa[ppa:cassou/emacs]/Exec[add-apt-repository-ppa:cassou/emacs]/require: requires Package[python-software-properties]
Debug: /Stage[main]/Emacs/Apt::Ppa[ppa:cassou/emacs]/Exec[add-apt-repository-ppa:cassou/emacs]/notify: subscribes to Exec[apt_update]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Local_Mail_Queue]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Local_Mail_Queue]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[packages]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[packages]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Local_Mail_Queue]/File[Puppi_check_default_10_Local_Mail_Queue]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Rollback[jboss-Recover_Files_To_Deploy]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Rollback[jboss-Recover_Files_To_Deploy]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Connected_Users]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Connected_Users]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Rollback[jboss-Run_POST-Checks]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Rollback[jboss-Run_POST-Checks]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info::Module[puppi]/File[/etc/puppi/info/puppi]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Skel/File[puppi_helpersdir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Jboss::Install/require: requires Class[Jboss::User]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Backup_existing_Files]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Backup_existing_Files]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/File[/etc/puppi/projects/jboss/check]/require: requires File[/etc/puppi/projects/jboss]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[disks]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[disks]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Skel/File[puppi_infodir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[packages]/File[/etc/puppi/info/packages]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Skel/File[puppi_readmedir]/require: requires File[puppi_libdir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_PRE-Checks]/File[/etc/puppi/projects/jboss/deploy/10-jboss-Run_PRE-Checks]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Service/File[jboss.init]/require: requires Class[Jboss::Install]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb]/require: requires User[wb]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-PreDeploy_Archive]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-PreDeploy_Archive]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[NTP_Sync]/File[Puppi_check_default_20_NTP_Sync]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::One/File[puppi.conf]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[disks]/File[/etc/puppi/info/disks]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Disks_Usage]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Disks_Usage]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Zombie_Processes]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Zombie_Processes]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Skel/File[puppi_archivedir]/require: requires File[puppi_libdir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/File[/etc/puppi/projects/jboss/deploy]/require: requires File[/etc/puppi/projects/jboss]
Debug: /Stage[main]/Puppi::Skel/File[puppi_libdir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Puppi::Skel/File[puppi_tododir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Zombie_Processes]/File[Puppi_check_default_10_Zombie_Processes]/require: requires Class[Puppi]
Debug: /Stage[main]/Emacs/Apt::Ppa[ppa:cassou/emacs]/File[/etc/apt/sources.list.d/cassou-emacs-precise.list]/require: requires Exec[add-apt-repository-ppa:cassou/emacs]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_POST-Checks]/File[/etc/puppi/projects/jboss/deploy/80-jboss-Run_POST-Checks]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info::Module[puppi]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info::Module[puppi]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Jboss::Service/Service[jboss]/require: requires File[jboss.init]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[auth]/File[/etc/puppi/logs/auth]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Skel/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Deploy]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Deploy]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[DNS_Resolution]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[DNS_Resolution]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::One/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Skel/File[puppi_checksdir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/File[/etc/puppi/projects/jboss/config]/require: requires File[/etc/puppi/projects/jboss]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[auth]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[auth]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_POST-Checks]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_POST-Checks]/require: requires Class[Puppi::Params]
Debug: /Stage[main]//Node[ci.onsails.com]/Download[/tmp/teamcity.tar.gz]/Exec[download http://download.jetbrains.com/teamcity/TeamCity-7.1.3.tar.gz]/require: requires Package[wget]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/require: requires User[jboss]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/File[/etc/puppi/projects/jboss/report]/require: requires File[/etc/puppi/projects/jboss]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Retrieve_Archive]/File[/etc/puppi/projects/jboss/deploy/20-jboss-Retrieve_Archive]/require: requires Class[Puppi]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb/.bash_history]/require: requires File[/home/wb]
Debug: /Stage[main]/Puppi::Skel/File[puppi_datadir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[network]/File[/etc/puppi/info/network]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Skel/File[puppi_workdir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Retrieve_Archive]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Retrieve_Archive]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Apt/File[sources.list.d]/notify: subscribes to Exec[apt_update]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Disks_Usage]/File[Puppi_check_default_10_Disks_Usage]/require: requires Class[Puppi]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/User[wb]/require: requires Group[wb]
Debug: /Stage[main]/Puppi::Dependencies/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[hardware]/File[/etc/puppi/info/hardware]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[hardware]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[hardware]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[System_Load]/File[Puppi_check_default_10_System_Load]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[users]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[users]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Apt/File[sources.list]/notify: subscribes to Exec[apt_update]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[network]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[network]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Skel/File[puppi_logsdir]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Emacs/Apt::Ppa[ppa:cassou/emacs]/Anchor[apt::ppa::ppa:cassou/emacs]/require: requires Class[Apt::Update]
Debug: /Stage[main]/Apt/Anchor[apt::update]/require: requires Class[Apt::Update]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Connected_Users]/File[Puppi_check_default_10_Connected_Users]/require: requires Class[Puppi]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb/.ssh]/require: requires File[/home/wb]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_PRE-Checks]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_PRE-Checks]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[DNS_Resolution]/File[Puppi_check_default_15_DNS_Resolution]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[mail]/File[/etc/puppi/logs/mail]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[perf]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[perf]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[system]/File[/etc/puppi/logs/system]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[NTP_Sync]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[NTP_Sync]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[perf]/File[/etc/puppi/info/perf]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::User/User[jboss]/require: requires Group[jboss]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[mail]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[mail]/require: requires Class[Puppi::Params]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[users]/File[/etc/puppi/info/users]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-PreDeploy_Archive]/File[/etc/puppi/projects/jboss/deploy/25-jboss-PreDeploy_Archive]/require: requires Class[Puppi]
Debug: /Stage[main]/Puppi::One/File[puppi]/require: requires File[puppi_basedir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Backup_existing_Files]/File[/etc/puppi/projects/jboss/deploy/30-jboss-Backup_existing_Files]/require: requires Class[Puppi]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/File[/etc/puppi/projects/jboss/rollback]/require: requires File[/etc/puppi/projects/jboss]
Debug: /Stage[main]/Emacs/Package[emacs24]/require: requires Apt::Ppa[ppa:cassou/emacs]
Debug: /Stage[main]//Node[default]/Ssh_authorized_key[wb]: Autorequiring User[wb]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Report[jboss-Mail_Notification]/File[/etc/puppi/projects/jboss/report/20-jboss-Mail_Notification]: Autorequiring File[/etc/puppi/projects/jboss/report]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Deploy]/File[/etc/puppi/projects/jboss/deploy/40-jboss-Deploy]: Autorequiring File[/etc/puppi/projects/jboss/deploy]
Debug: /Stage[main]/Puppi::Skel/File[puppi.scripts]: Autorequiring File[puppi_basedir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Local_Mail_Queue]/File[Puppi_check_default_10_Local_Mail_Queue]: Autorequiring File[puppi_checksdir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info::Module[puppi]/File[/etc/puppi/info/puppi]: Autorequiring File[puppi_infodir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[packages]/File[/etc/puppi/info/packages]: Autorequiring File[puppi_infodir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_PRE-Checks]/File[/etc/puppi/projects/jboss/deploy/10-jboss-Run_PRE-Checks]: Autorequiring File[/etc/puppi/projects/jboss/deploy]
Debug: /Stage[main]/Puppi/File[puppi.link]: Autorequiring File[puppi]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb]: Autorequiring Group[wb]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[NTP_Sync]/File[Puppi_check_default_20_NTP_Sync]: Autorequiring File[puppi_checksdir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[disks]/File[/etc/puppi/info/disks]: Autorequiring File[puppi_infodir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Rollback[jboss-Recover_Files_To_Deploy]/File[/etc/puppi/projects/jboss/rollback/40-jboss-Recover_Files_To_Deploy]: Autorequiring File[/etc/puppi/projects/jboss/rollback]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Zombie_Processes]/File[Puppi_check_default_10_Zombie_Processes]: Autorequiring File[puppi_checksdir]
Debug: /Stage[main]/Emacs/Apt::Ppa[ppa:cassou/emacs]/File[/etc/apt/sources.list.d/cassou-emacs-precise.list]: Autorequiring File[sources.list.d]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Run_POST-Checks]/File[/etc/puppi/projects/jboss/deploy/80-jboss-Run_POST-Checks]: Autorequiring File[/etc/puppi/projects/jboss/deploy]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[auth]/File[/etc/puppi/logs/auth]: Autorequiring File[puppi_logsdir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Rollback[jboss-Run_POST-Checks]/File[/etc/puppi/projects/jboss/rollback/80-jboss-Run_POST-Checks]: Autorequiring File[/etc/puppi/projects/jboss/rollback]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Retrieve_Archive]/File[/etc/puppi/projects/jboss/deploy/20-jboss-Retrieve_Archive]: Autorequiring File[/etc/puppi/projects/jboss/deploy]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb/.bash_history]: Autorequiring Group[wb]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb/.bash_history]: Autorequiring User[wb]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[network]/File[/etc/puppi/info/network]: Autorequiring File[puppi_infodir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Disks_Usage]/File[Puppi_check_default_10_Disks_Usage]: Autorequiring File[puppi_checksdir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[hardware]/File[/etc/puppi/info/hardware]: Autorequiring File[puppi_infodir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[System_Load]/File[Puppi_check_default_10_System_Load]: Autorequiring File[puppi_checksdir]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb/.ssh]: Autorequiring Group[wb]
Debug: /Stage[main]/Baseclass/Users::Massuseraccount[admins]/Users::Lookup[wb]/Users::Useraccount[wb]/File[/home/wb/.ssh]: Autorequiring User[wb]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[Connected_Users]/File[Puppi_check_default_10_Connected_Users]: Autorequiring File[puppi_checksdir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Check[DNS_Resolution]/File[Puppi_check_default_15_DNS_Resolution]: Autorequiring File[puppi_checksdir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[system]/File[/etc/puppi/logs/system]: Autorequiring File[puppi_logsdir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Log[mail]/File[/etc/puppi/logs/mail]: Autorequiring File[puppi_logsdir]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[perf]/File[/etc/puppi/info/perf]: Autorequiring File[puppi_infodir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-PreDeploy_Archive]/File[/etc/puppi/projects/jboss/deploy/25-jboss-PreDeploy_Archive]: Autorequiring File[/etc/puppi/projects/jboss/deploy]
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[users]/File[/etc/puppi/info/users]: Autorequiring File[puppi_infodir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Project[jboss]/File[/etc/puppi/projects/jboss]: Autorequiring File[puppi_projectsdir]
Debug: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Deploy[jboss-Backup_existing_Files]/File[/etc/puppi/projects/jboss/deploy/30-jboss-Backup_existing_Files]: Autorequiring File[/etc/puppi/projects/jboss/deploy]
Debug: /Schedule[daily]: Skipping device resources because running on a host
Debug: /Schedule[monthly]: Skipping device resources because running on a host
Debug: /Schedule[hourly]: Skipping device resources because running on a host
Debug: Prefetching apt resources for package
Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
Debug: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n python-software-properties'
Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-software-properties'
Notice: /Stage[main]/Emacs/Package[python-software-properties]/ensure: ensure changed 'purged' to 'present'
Debug: /Stage[main]/Emacs/Package[python-software-properties]: The container Class[Emacs] will propagate my refresh event
Debug: /Schedule[never]: Skipping device resources because running on a host
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
Debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson
alvagante commented 11 years ago

Hi, thanks for bug filing. I've just pushed some commits that should fix the issue (and eventually leave you the option to provide the jboss user out of the module). The versions/installation method matrix is somehow tricky and actually, to be honest, I just tested the source installation for version 7 (by default it makes a source installation of version 6). Please submit any other problem or suggestion you may find for the module.

onsails commented 11 years ago

Thanks for fast reply! The problem has gone but now I have another: again on clean ubuntu 12.04 I get this error:

Notice: /Stage[main]/Puppi::Extras/Puppi::Info[network]/File[/etc/puppi/info/network]/ensure: created
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[network]/File[/etc/puppi/info/network]: The container Puppi::Info[network] will propagate my refresh event
Debug: Puppi::Info[network]: The container Class[Puppi::Extras] will propagate my refresh event
Debug: Exec[Run_Puppi_jboss](provider=posix): Executing 'puppi deploy jboss && touch /var/lib/puppi/archive/puppirun_jboss'
Debug: Executing 'puppi deploy jboss && touch /var/lib/puppi/archive/puppirun_jboss'
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[  OK  ]Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: ci.onsails.com Deploy: 20-jboss-Retrieve_Archive
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: stdin: is not a tty
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: 
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[  OK  ]Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: ci.onsails.com Deploy: 25-jboss-PreDeploy_Archive
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: stdin: is not a tty
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: 
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[  OK  ]Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: ci.onsails.com Deploy: 30-jboss-Backup_existing_Files
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: stdin: is not a tty
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: /etc/puppi/scripts/archive.sh: line 113: rsync: command not found
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: 
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[FAILED]Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: ci.onsails.com Deploy: 40-jboss-Deploy
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: stdin: is not a tty
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: /etc/puppi/scripts/deploy_files.sh: line 63: rsync: command not found
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: 
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: Reporting: 20-jboss-Mail_Notification
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: REPORT FOR PUPPI - STATUS ERROR
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: Summary of operations is: /var/log/puppi/jboss/20130111-175353/summary 
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: Details are in: /var/log/puppi/jboss/20130111-175353/
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: Temporary workdir has been: /tmp/puppi/jboss/ (Will be rewritten at the next puppi run)
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: Runtime config file is: /tmp/puppi/jboss/config
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: Files have been archived in: /var/lib/puppi/archive/jboss/20130111-175353
Error: puppi deploy jboss && touch /var/lib/puppi/archive/puppirun_jboss returned 1 instead of one of [0]
Error: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: change from notrun to 0 failed: puppi deploy jboss && touch /var/lib/puppi/archive/puppirun_jboss returned 1 instead of one of [0]
onsails commented 11 years ago

Seems module's manifest need to specify dependence on rsync

alvagante commented 11 years ago

That's a puppi dependency. Let me sugget you to use install => source as installation method (which is actually the default).

alvagante commented 11 years ago

In case you want to use puppi as installation method and have rsync (and a lot of other stuff) provided, you can just add an include puppi in your manifest (suppose that's something that the jboss module should do by itself, but I preferred to avoid the inclusion of the whole puppi stuff).

onsails commented 11 years ago

I want to use puppi (2 gen) but still getting some errors. Am I doing something wrong?

  class { 'puppi':                                                                                                                                                                
    version => '2',                                                                                                                                                               
  }                                                                                                                                                                               

  class { 'jboss':                                                                                                                                                                
    install => 'puppi',                                                                                                                                                           
    require => Class['puppi']                                                                                                                                                     
  }  
Notice: /Stage[main]/Puppi::Extras/Puppi::Info[network]/File[/etc/puppi/info/network]/ensure: created
Debug: /Stage[main]/Puppi::Extras/Puppi::Info[network]/File[/etc/puppi/info/network]: The container Puppi::Info[network] will propagate my refresh event
Debug: Puppi::Info[network]: The container Class[Puppi::Extras] will propagate my refresh event
Error: Could not find command 'puppi'
Error: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: change from notrun to 0 failed: Could not find command 'puppi'
Notice: /File[/etc/puppi/scripts/git.sh]/ensure: defined content as '{md5}9276bb790bf1e35266b20e30a6418ea9'
onsails commented 11 years ago

one more error at the end of puppet agent output:

Debug: Puppet::Type::Package::ProviderGem: file gem does not exist
Error: /Stage[main]/Puppi::Two/Package[puppi]: Provider gem is not functional on this host
alvagante commented 11 years ago

Puppi 2 (the gem) is still VERY experimental , you can hardly do useful things with it at the moment. The problem anyway is that you probably don't have rubygems installed on your host, so Puppet can't install gems. I'll probably add this dependency when the gem will be more usable but I'm also consider to provide puppi 2 as a Puppet face, that's definitively a work in progress, sorry.

onsails commented 11 years ago

Thanks! I have just installed jboss without any errors. Thank you and all example42 team for your awesome works in puppet community!

onsails commented 11 years ago

Ah, crap. My fault. There still are errors. puppi didn't installed rsync by itself:

Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: 
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[FAILED]Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: ci.onsails.com Deploy: 40-jboss-Deploy
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: stdin: is not a tty
Notice: /Stage[main]/Jboss::Install/Puppi::Project::Archive[jboss]/Puppi::Run[jboss]/Exec[Run_Puppi_jboss]/returns: /etc/puppi/scripts/deploy_files.sh: line 63: rsync: command not found

My manifest is below:

  class { 'puppi': }                                                                                                                                                              

  class { 'jboss':                                                                                                                                                                
    install => 'puppi',                                                                                                                                                           
    require => Class['puppi']                                                                                                                                                     
  } 

Should I define rsync dependance by myself?

alvagante commented 11 years ago

No, it should be done by puppi here: https://github.com/example42/puppi/blob/master/manifests/dependencies.pp which is included if the install_dependencies parameters is set to true (which is the default). This is strange: Are you using an updated version of puppi?

onsails commented 11 years ago

Yes, I am using latest puppi version from master. I discovered that rsync is being installed but after puppet-jboss's error

alvagante commented 11 years ago

Ok, I suppose that can be considered more a puppi problem, going to close this ticket...