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

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

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

revision 2661 by misc, Thu Feb 9 15:35:52 2012 UTC revision 2662 by misc, Tue Mar 20 17:36:19 2012 UTC
# Line 10  class sudo { Line 10  class sudo {
10          mode    => '0440',          mode    => '0440',
11          content => template('sudo/sudoers'),          content => template('sudo/sudoers'),
12      }      }
   
     define sudoers_config($content) {  
         file { "/etc/sudoers.d/$name":  
             mode    => '0440',  
             content => $content,  
         }  
     }  
13  }  }

Legend:
Removed from v.2661  
changed lines
  Added in v.2662

  ViewVC Help
Powered by ViewVC 1.1.30