Christoph Hartmann
|
8fff2ee989
|
add author header
|
2015-10-06 18:55:44 +02:00 |
|
Dominik Richter
|
938d13a7dc
|
switch from open4 -> mixlib-shellout
|
2015-10-04 23:24:17 +02:00 |
|
Dominik Richter
|
212f11243b
|
simplify and fix stat handling
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-30 01:42:04 +02:00 |
|
Dominik Richter
|
c3fa247e6a
|
bugfix: local file owner
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 14:24:22 +02:00 |
|
Dominik Richter
|
0b7eb60028
|
File.exists? is deprecated in ruby 2.1
See:
http://ruby-doc.org/core-2.1.0/File.html#method-c-exists-3F
Same for Dir:
http://ruby-doc.org/core-2.1.0/Dir.html#method-c-exists-3F
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:27:03 +02:00 |
|
Dominik Richter
|
50dd82e150
|
feature: OS detection
|
2015-09-22 02:27:02 +02:00 |
|
Christoph Hartmann
|
e06eed2178
|
Merge pull request #19 from chef/improvements
Improvements
|
2015-09-22 02:27:01 +02:00 |
|
Dominik Richter
|
535bddd944
|
move out local file user/group name
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:27:01 +02:00 |
|
Dominik Richter
|
6c29580de0
|
enforce file content encoding to utf8
this is also in line with specinfra compatibility
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:27:00 +02:00 |
|
Dominik Richter
|
d16f76c9ce
|
pull in selinux label on local backend runner
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:26:58 +02:00 |
|
Dominik Richter
|
7f19111b1b
|
bugfix: catch lstat errors on local backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:25:52 +02:00 |
|
Dominik Richter
|
e0b89e6ae2
|
bugfix: return nil on file content read errors
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:17:30 +02:00 |
|
Dominik Richter
|
5f472d9735
|
use lstat for local backend to read symlinks
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:17:30 +02:00 |
|
Dominik Richter
|
3e16407454
|
rename file link_target -> link_path
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:17:30 +02:00 |
|
Dominik Richter
|
534a9ce57a
|
bugfix: always return file stat
|
2015-09-22 02:17:29 +02:00 |
|
Dominik Richter
|
c86a68950a
|
improvement: add optimized local file module
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:17:29 +02:00 |
|
Dominik Richter
|
275039dead
|
more rubocop
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:15:41 +02:00 |
|
Dominik Richter
|
13bc7f4015
|
move linux file handling to separate class
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 02:15:40 +02:00 |
|
Dominik Richter
|
0abef702fc
|
initialize @stat in local backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 01:42:26 +02:00 |
|
Dominik Richter
|
ea91af6da1
|
lint
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 01:23:08 +02:00 |
|
Dominik Richter
|
93a3bc8e58
|
dont reference backend in local command
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 01:23:08 +02:00 |
|
Dominik Richter
|
1d1220983a
|
feature: local backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
|
2015-09-22 01:23:08 +02:00 |
|