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

Annotation of /puppet/modules/bcd/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 766 - (hide annotations) (download)
Wed Jan 12 16:49:39 2011 UTC (13 years, 3 months ago) by boklm
File size: 573 byte(s)
typo in filename
1 boklm 765 class bcd {
2     $bcd_login = 'bcd'
3     $bcd_home = '/home/bcd'
4    
5     class base {
6     include sudo
7    
8     buildsystem::sshuser { $bcd_login:
9     homedir => $bcd_home,
10     comment => "User for creating ISOs",
11     }
12    
13     package { bcd:
14     ensure => 'installed',
15     }
16    
17     file { "/etc/sudoers.d/bcd":
18     owner => root,
19     group => root,
20     mode => 440,
21     content => template("bcd/sudoers.bcd")
22     }
23     }
24    
25     define ssh_access($type, $key) {
26     ssh_authorized_key{$name:
27     type => $type,
28     key => $key,
29     user => $bcd_login,
30     }
31     }
32     }

  ViewVC Help
Powered by ViewVC 1.1.30