/[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 776 - (hide annotations) (download)
Thu Jan 13 18:12:27 2011 UTC (13 years, 3 months ago) by misc
File size: 708 byte(s)
fix bcd problem of variable missing
1 boklm 765 class bcd {
2 misc 776 class variable {
3 boklm 765
4 misc 776 $bcd_login = 'bcd'
5     $bcd_home = '/home/bcd'
6     }
7 boklm 765
8 misc 776 class base inherits variable {
9     include sudo
10    
11 boklm 765 buildsystem::sshuser { $bcd_login:
12     homedir => $bcd_home,
13     comment => "User for creating ISOs",
14     }
15    
16     package { bcd:
17     ensure => 'installed',
18     }
19    
20     file { "/etc/sudoers.d/bcd":
21     owner => root,
22     group => root,
23     mode => 440,
24     content => template("bcd/sudoers.bcd")
25     }
26     }
27    
28     define ssh_access($type, $key) {
29 misc 776 include bcd::variable
30     ssh_authorized_key{$name:
31     type => $type,
32     key => $key,
33     user => $bcd_login,
34     }
35 boklm 765 }
36     }

  ViewVC Help
Powered by ViewVC 1.1.30