resources/repository.rb
#
# Idempotently install the `cswpki` and import the keys.
#
Idempotently install the `cswpki` and import the keys.
Idempotently install the ` cswpki ` and import the keys .
def ensure_verification_enabled!
    node.run_state[:verification_enabled] ||= begin
      execute 'enable-cryptographic-verification' do
        command <<-EOH.gsub(/ ^{12}/, '')
          pkgutil -y -i cswpki
          cswpki --import --force
        EOH
        not_if 'gpg --homedir=/var/opt/csw/pki  --list-keys | grep board@opencsw.org'
      end
      true
    end
  end
def ensure_verification_enabled! node . run_state [ :verification_enabled ] ||= begin execute 'enable-cryptographic-verification' do command <<-EOH . gsub ( /  ^{12} / , '' ) 
          pkgutil -y -i cswpki
          cswpki --import --force
         EOH not_if 'gpg --homedir=/var/opt/csw/pki  --list-keys | grep board@opencsw.org' end true end end
Idempotently install the `cswpki` and import the keys.
Idempotently install the ` cswpki ` and import the keys .