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

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

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

revision 1965 by boklm, Sun Nov 21 20:54:45 2010 UTC revision 1966 by misc, Fri Aug 19 12:31:32 2011 UTC
# Line 14  class testvm Line 14  class testvm
14          gid => $vmtest_login,          gid => $vmtest_login,
15          shell => "/bin/bash",          shell => "/bin/bash",
16      }      }
17        
18        file { "$testvmdir/bin/":
19            ensure => directory,
20            require => User[$testvm_login],
21        }
22    
23      file { "$testvmdir/bin/_vm":      file { "$testvmdir/bin/_vm":
24          ensure => present,          ensure => present,
# Line 21  class testvm Line 26  class testvm
26          group => root,          group => root,
27          mode => 644,          mode => 644,
28          source => "puppet:///modules/testvm/_vm",          source => "puppet:///modules/testvm/_vm",
29            require => File["$testvmdir/bin"],
30      }      }
31    
32      file { "$testvmdir/bin/vm-jonund":      file { "$testvmdir/bin/vm-jonund":
# Line 29  class testvm Line 35  class testvm
35          group => $testvm_login,          group => $testvm_login,
36          mode => 750,          mode => 750,
37          source => "puppet:///modules/testvm/vm-jonund",          source => "puppet:///modules/testvm/vm-jonund",
38            require => File["$testvmdir/bin"],
39      }      }
40  }  }

Legend:
Removed from v.1965  
changed lines
  Added in v.1966

  ViewVC Help
Powered by ViewVC 1.1.28