~ubuntu-branches/ubuntu/wily/puppet/wily

« back to all changes in this revision

Viewing changes to spec/fixtures/releases/jamtur01-apache/lib/puppet/provider/a2mod/debian.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2014-01-07 12:04:39 UTC
  • mfrom: (3.1.57 sid)
  • Revision ID: package-import@ubuntu.com-20140107120439-42anap22xfs9260x
Tags: 3.4.2-1
ImportedĀ upstreamĀ releaseĀ 3.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
    def exists?
18
18
        mod= "/etc/apache2/mods-enabled/" + resource[:name] + ".load"
19
 
        File.exists?(mod)
 
19
        Puppet::FileSystem::File.exist?(mod)
20
20
    end
21
21
end