File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def action_enable
9090 # if /var/log/vault exists and is not a link, move to /var/log/vault.[created_at timestamp]
9191 path = '/var/log/vault'
9292 if ::File . directory? ( path ) && !::File . symlink? ( path )
93- created_at = ::File . birthtime ( path ) . strftime ( '%Y%m%d%H%M%S' )
93+ created_at = ::File . ctime ( path ) . strftime ( '%Y%m%d%H%M%S' )
9494 new_path = "#{ path } .#{ created_at } "
9595 ::FileUtils . mv ( path , new_path )
9696 end
Original file line number Diff line number Diff line change 66long_description 'Application cookbook for installing and configuring Vault.'
77issues_url 'https://github.com/johnbellone/vault-cookbook/issues'
88source_url 'https://github.com/johnbellone/vault-cookbook/'
9- version '1002.7.10 '
9+ version '1002.7.11 '
1010
1111supports 'ubuntu' , '>= 12.04'
1212supports 'redhat' , '>= 6.4'
You can’t perform that action at this time.
0 commit comments