On Sun, Sep 9, 2012 at 5:59 AM, Balasubramaniam Natarajan < [email protected]> wrote:
> > > On Sun, Sep 9, 2012 at 5:46 AM, Balasubramaniam Natarajan < > [email protected]> wrote: > >> >> This has occurred once again, When I tried to "# puppet apply >> break_ssh.pp" the puppet terminal just hangs and it does not complete the >> job please at least point me where I have to start looking for answers. >> >> root@nscbose:/home/bala/puppet# cat 10.ssh_break.pp >> file{'/etc/ssh/sshd_config': >> ensure => present, >> mode => 600, >> source => '/etc/puppet/files/sshd_config', >> } >> service{'sshd': >> ensure => running, >> enable => true, >> subscribe => File['/etc/ssh/sshd_config'], >> } >> root@nscbose:/home/bala/puppet# puppet apply 10.ssh_break.pp >> >> After this command puppet terminal just hangs, from an another terminal I >> am able to confirm that puppet apply is indeed running. Nothing on the log >> files either :-( >> >> >> root@nscbose:/home/bala/puppet# ps aux | grep -i puppet >> puppet 766 2.3 5.1 38504 25960 ? Ssl 00:47 7:02 >> /usr/bin/ruby1.8 /usr/bin/puppet master --masterport=8140 >> root 7962 9.3 3.8 31484 19580 pts/2 Sl+ 05:39 0:29 >> /usr/bin/ruby1.8 /usr/bin/puppet apply 10.ssh_break.pp >> root 8170 0.0 0.1 4364 848 pts/0 S+ 05:44 0:00 grep >> --color=auto -i puppet >> <http://www.etutorshop.com/moodle/> >> > > > I tried looking at what are the files which puppet is currently using with > lsof the same is give here. > > http://pastebin.com/Nvn39aBq > > > Super found out what the problem was, Under service I had to mention 'ssh' instead of sshd, may be the documentation over here<http://docs.puppetlabs.com/learning/ordering.html>needs to be updated. root@nscbose:/home/bala/puppet# puppet apply 10.ssh_break.pp warning: Could not retrieve fact fqdn notice: /Stage[main]//File[/etc/ssh/sshd_config]/content: content changed '{md5}02b40cbe1d41aebe5dc32e8af41f7d1c' to '{md5}e819ed2e2da115fe9dbc28dcaa280287' notice: /Stage[main]//Service[ssh]: Triggered 'refresh' from 1 events notice: Finished catalog run in 2.66 seconds root@nscbose:/home/bala/puppet# cat 10.ssh_break.pp file{'/etc/ssh/sshd_config': ensure => present, mode => 600, source => '/etc/puppet/files/sshd_config', } service{'ssh': ensure => running, enable => true, subscribe => File['/etc/ssh/sshd_config'], hasstatus => true, } root@nscbose:/home/bala/puppet# -- Regards, Balasubramaniam Natarajan www.etutorshop.com/moodle/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
