~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to src/lint/linter/__tests__/puppet-lint/site.lint-test

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2014-11-01 23:20:06 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20141101232006-mvlnp0cil67tsboe
Tags: upstream-0~git20141101/arcanist
Import upstream version 0~git20141101, component arcanist

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import 'classes/*'
 
2
import 'nodes.pp'
 
3
 
 
4
Exec['apt-get-update'] -> Package <| |>
 
5
 
 
6
Exec {
 
7
  path => '/usr/bin:/usr/sbin:/bin',
 
8
}
 
9
 
 
10
exec { 'apt-get-update':
 
11
  command => '/usr/bin/apt-get update',
 
12
  require => File['/etc/apt/apt.conf.d/01proxy'],
 
13
}
 
14
 
 
15
file { '/etc/apt/apt.conf.d/01proxy':
 
16
  ensure => 'file',
 
17
  source => '/tmp/vagrant-puppet/manifests/files/apt-conf',
 
18
}
 
19
~~~~~~~~~~