Module: Jamf::Client::JamfBinary
- Included in:
- Jamf::Client
- Defined in:
- lib/jamf/client/jamf_binary.rb
Overview
Module for working with the Jamf Binary on a managed client mac This should be included into Jamf::Client
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- JAMF_BINARY =
The path to the jamf binary
Pathname.new '/usr/local/jamf/bin/jamf'
- ROOTLESS_JAMF_COMMANDS =
These jamf commands don’t need root privs (most do)
%i[ about checkJSSConnection getARDFields getComputerName help listUsers version ].freeze
- JAMF_VERBOSE_OPT =
the option that makes the jamf binary verbose
' -verbose'.freeze
Class Method Summary collapse
-
.included(includer) ⇒ Object
when this module is included, also extend our Class Methods.
Class Method Details
.included(includer) ⇒ Object
when this module is included, also extend our Class Methods
52 53 54 55 |
# File 'lib/jamf/client/jamf_binary.rb', line 52 def self.included(includer) Jamf.load_msg "--> #{includer} is including Jamf::Client::JamfBinary" includer.extend(ClassMethods) end |