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

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

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

revision 2642 by misc, Sun Feb 19 17:45:20 2012 UTC revision 2643 by misc, Mon Mar 19 20:36:12 2012 UTC
# Line 4  class xinetd { Line 4  class xinetd {
4      service { 'xinetd':      service { 'xinetd':
5          subscribe => Package['xinetd']          subscribe => Package['xinetd']
6      }      }
   
     define service($content) {  
         include xinetd  
         file { "/etc/xinetd.d/$name":  
             require => Package['xinetd'],  
             content => $content,  
             notify  => Service['xinetd']  
         }  
     }  
7  }  }
     

Legend:
Removed from v.2642  
changed lines
  Added in v.2643

  ViewVC Help
Powered by ViewVC 1.1.28