Changeset 161
- Timestamp:
- Apr 27, 2009, 6:57:51 PM (15 years ago)
- Location:
- trunk/puppet/manifests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/manifests/classes/ltsp.pp
r159 r161 1 1 # 2 2 # Example usage: 3 # The following creates the repository at /var/lib/svn/puppet 4 # 5 # svnrepo { puppet: path => "/var/lib/svn" } 6 # 7 # The following checks out the repository at /var/lib/puppet 8 # 9 # svnserve { puppet: source => "file:///var/lib/svn", path => "/var/lib/puppet" } 3 # ltsp::buildclient { dist: 4 # mirror => "test", 5 # securitymirror => "test" 6 # } 10 7 11 class ltsp {8 class ltsp::common { 12 9 package { "ltsp-server": ensure => installed } 13 10 } 14 11 15 12 define ltsp::buildclient ( $mirror, $securitymirror ) { 13 include ltsp::common 14 exec { "ltsp-build-client": 15 command => "ltsp-build-client --mirror=$mirror --security-mirror=$securitymirror &>/dev/null", 16 path => "/bin:/usr/sbin:/usr/bin", 17 creates => "/opt/ltsp/i386", 18 } 19 } -
trunk/puppet/manifests/site.pp
r159 r161 18 18 include test_class 19 19 include matrix::cronapt 20 include ltsp21 20 include estacion-de-trabajo 21 22 ltsp::buildclient { dist: 23 mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu", 24 securitymirror => "http://debproxy:3142/security.ubuntu.com" 25 } 26 22 27 } 23 28
Note: See TracChangeset
for help on using the changeset viewer.