Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The topics from your activemq, /topic/mcollective_dev/...
- $mcollective_prefix = "mcollective";
- # Path to your SSL private key and what it's called so the
- # mcollectived will load yours
- $ssl_private_key = "/etc/mcollective/ssl/john-private.pem";
- $ssl_private_key_name = "john";
- # A string representing your sending host
- $mcollective_client_identity = "SERVER_FQDN";
- # Stomp connection parameters
- $stomp_host = "SERVER_FQDN";
- $stomp_port = 61613;
- $stomp_user = "mcollective";
- $stomp_password = "PASSWORD";
- $YAML::Syck::ImplicitTyping = 1;
- $request{":msgtime"} = time();
- $request{":filter"}{"identity"} = [];
- $request{":filter"}{"fact"} = [];
- $request{":filter"}{"agent"} = [];
- $request{":filter"}{"cf_class"} = [];
- $request{":requestid"} = md5_hex(time() . $$);
- $request{":callerid"} = "cert=${ssl_private_key_name}";
- $request{":senderid"} = $mcollective_client_identity;
- $request{":body"} = Dump("ping");
- $request{":msgtarget"} = "/topic/${mcollective_prefix}.discovery.command";
- $key = "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement