/[adm]/puppet/modules/ii/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/ii/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2263 by misc, Sun Jan 15 13:41:13 2012 UTC revision 2264 by misc, Sun Jan 15 15:09:02 2012 UTC
# Line 24  class ii { Line 24  class ii {
24          service { 'ii':          service { 'ii':
25              provider => base,              provider => base,
26              start => "/usr/local/bin/ii_$nick",              start => "/usr/local/bin/ii_$nick",
             notify => Exec["join channel $nick"],  
27              require => Local_script["ii_$nick"],              require => Local_script["ii_$nick"],
28          }          }
29    
30          exec { "join channel $nick":          exec { "join channel $nick":
31              command => "echo '/j $channel' > /var/lib/ii/$nick/$server/in",              command => "echo '/j $channel' > /var/lib/ii/$nick/$server/in",
32              user => nobody,              user => nobody,
33              refreshonly => true,              unless => "test -d /var/lib/ii/$nick/$server/$channel",
34                require => Service['ii'],
35          }          }
36      }      }
37  }  }

Legend:
Removed from v.2263  
changed lines
  Added in v.2264

  ViewVC Help
Powered by ViewVC 1.1.30