Module: PuppetX::Cups::Shell

Defined in:
lib/puppet_x/cups/shell.rb

Overview

Namespace encapsulating helper functions for command line executions

Defined Under Namespace

Classes: ShellOut

Class Method Summary collapse

Class Method Details

.ipptool(switch, resource, request) ⇒ Object


8
9
10
# File 'lib/puppet_x/cups/shell.rb', line 8

def self.ipptool(switch, resource, request)
  ShellOut.new("ipptool #{switch} ipp://localhost#{resource} /dev/stdin", request)
end