소스 검색

fix(ntp): Fix the guardfile

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 년 전
부모
커밋
179bfb2ead
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cookbooks/gateway/recipes/_ntp.rb

+ 1 - 1
cookbooks/gateway/recipes/_ntp.rb

@@ -11,5 +11,5 @@ execute 'timedatectl set-ntp true' do
 end
 
 execute 'timedatectl set-timezone Europe/Paris' do
-  not_if '[ "$(readlink -f /etc/localtime)" == "/usr/share/zoneinfo/Europe/Paris" ]'
+  not_if '[ "$(readlink -f /etc/localtime)" = "/usr/share/zoneinfo/Europe/Paris" ]'
 end