Group
Extension

Matches 1

Puppet-Orchestrator ( M/MQ/MQTECH/Puppet-Orchestrator-0.002.tar.gz, MQTECH, 2019; MetaCPAN )
Puppet-Orchestrator/lib/Puppet/Orchestrator.pm ( view source; MetaCPAN )
onnects to the Puppet Orchestrator API (i.e. Puppet Tasks)




package Puppet::Orchestrator;

use JSON;
use LWP::UserAgent;
use HTTP::Request;
use Log::MixedColor;
use 5.10.0;
use Moose;
use Moose::Ex
ge' )){
    require MooseX::Storage;
    MooseX::Storage->import();
    with Storage('format' => 'JSON', 'io' => 'File', traits => ['DisableCycleDetection']);
}
my $log = Log::MixedColor->new;




has
opts );
    if( $type eq 'POST' ){
        $data = encode_json( $data ) if ref $data;
        $req->header( 'Content-Type' => 'application/json' );
        $req->content( $data );
    }
    my $respon

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.