~ubuntu-branches/ubuntu/oneiric/puppet/oneiric-security

« back to all changes in this revision

Viewing changes to test/data/snippets/componentrequire.pp

  • Committer: Bazaar Package Importer
  • Author(s): Micah Anderson
  • Date: 2008-07-26 15:43:45 UTC
  • mto: (3.1.1 lenny) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20080726154345-1fmgo76b4l72ulvc
ImportĀ upstreamĀ versionĀ 0.24.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
define testfile($mode) {
 
2
    file { $name: mode => $mode, ensure => present }
 
3
}
 
4
 
 
5
testfile { "/tmp/testing_component_requires2": mode => 755 }
 
6
 
 
7
file { "/tmp/testing_component_requires1": mode => 755, ensure => present,
 
8
    require => Testfile["/tmp/testing_component_requires2"] }