Module: InfoStatusGPG
- Included in:
- Takeltau::InfoStatus
- Defined in:
- lib/takeltau/info/status/gpg.rb
Overview
tau info status gpg
Instance Method Summary collapse
-
#info_status_gpg ⇒ Boolean
Backend method for info status gpg.
Instance Method Details
#info_status_gpg ⇒ Boolean
Backend method for info status gpg.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/takeltau/info/status/gpg.rb', line 7 def info_status_gpg log.debug 'Check gpg status' unless _info_status_gpg_keys log.error 'gpg keys are not available' return false end unless _info_status_gpg_agent log.error 'gpg agent is not available' return false end log.debug 'gpg is available' true end |