remove file ctime

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-09-03 15:43:30 +02:00
parent 708fa8485d
commit 29a143a67f
3 changed files with 2 additions and 6 deletions

View file

@ -15,7 +15,7 @@ module Vulcano::Resources
type exists? file? block_device? character_device? socket? directory?
symlink? pipe?
mode mode? owner owned_by? group grouped_into? link_target linked_to?
content mtime ctime size selinux_label
content mtime size selinux_label
mounted? immutable? product_version file_version version?
md5sum sha256sum
}.each do |name|

View file

@ -220,10 +220,6 @@ module Vulcano::Backends
Specinfra::Runner.get_file_mtime(@path).stdout.strip
end
def ctime
Specinfra::Runner.get_file_ctime(@path).stdout.strip
end
def size
Specinfra::Runner.get_file_size(@path).stdout.strip.to_i
end

View file

@ -25,7 +25,7 @@ module Vulcano::Plugins
# interface methods: these fields should be implemented by every
# backend File
%w{
exists? mode owner group link_target content mtime ctime size
exists? mode owner group link_target content mtime size
selinux_label product_version file_version
}