summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/resource/reference.rb2
-rw-r--r--lib/puppet/util/selinux.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/resource/reference.rb b/lib/puppet/parser/resource/reference.rb
index cf7e997d8..0c28cf0df 100644
--- a/lib/puppet/parser/resource/reference.rb
+++ b/lib/puppet/parser/resource/reference.rb
@@ -1,5 +1,5 @@
# A reference to a resource. Mostly just the type and title.
-require 'puppet/resource_reference'
+require 'puppet/resource/reference'
require 'puppet/file_collection/lookup'
# A reference to a resource. Mostly just the type and title.
diff --git a/lib/puppet/util/selinux.rb b/lib/puppet/util/selinux.rb
index cd3b2ac1a..f13600680 100644
--- a/lib/puppet/util/selinux.rb
+++ b/lib/puppet/util/selinux.rb
@@ -153,7 +153,7 @@ module Puppet::Util::SELinux
# Internal helper function to read and parse /proc/mounts
def read_mounts
begin
- mountfh = File.open("/proc/mounts", NONBLOCK)
+ mountfh = File.open("/proc/mounts", File::NONBLOCK)
mounts = mountfh.read
mountfh.close
rescue