Displaying 20 results from an estimated 5000 matches similar to: "MCO caching Facts from Facter"
2012 Feb 17
2
DatabaseModifiedError on get_data - best practice?
Hi,
I have previously had a problem with getting this error on a get_mset
call, and solved it by subclassing XapianEnquire with a
backoff-and-retry algorithm (as suggested by this list, many thanks!).
However, I now get it intermittently when calling get_data on a
XapianDocument. The same solution doesn't seem to be quite as easy in
this case, because:
1. The document is not instantiated
2013 Jun 07
1
" mco puppet runonce -v" fails when puppet returns code 2 for change
*Not sure if this a feature or a issue, if its a feature is there a way to
configure it in puppet or mcollective?
1st Attempt(Failed)
-------------------------------------------------------------------------------------------------------------------
*
[root@mcqpuppetserver ~]# mco puppet runonce -v
Discovering hosts using the mc method for 2 second(s) .... 1
* [
2012 Jul 10
0
reply: puppet mcollective problem
I find the cause of the problem, because the client and server time not
synchronization.
发件人: 刘亚丹 [mailto:lyflyd@gmail.com]
发送时间: 2012年7月10日 10:10
收件人: ''puppet-users@googlegroups.com''
主题: puppet mcollective problem
Hi,
I am a new puppet user . I had some trouble when I using the
mcollective.
Soft info:
Mcollective :2.0.0
2013 Jul 01
1
Puppet with Mcollective, which modules and how ? (TheForeman)
Hi All,
I have a working installation of a Puppet Master (CA) with Puppet agents,
this using The Foreman. I really see the usage of Puppet this way but
because The Foreman supports pushing your classes/templates to you nodes
(agents) and uses the depricated Run/Kick for it I''m looking into
Mcollective.
Mcollective is supported by The Foreman since 1.2, the version I''m
2011 Dec 06
9
MCollective discovery - we did not discover any nodes
Hi everyone,
I run MCollective 1.2.1 together with ActiveMQ 5.5 under Scientific Linux 6.1 on Amazon EC2. Overall it works like a
charm, but sometimes (eg. 1/30) discovery fails. Still the exit-code of mco will be 0, which is a problem for me as I
use MCollective e.g. to trigger deployments from Jenkins.
I would like to ask for some feedback on the following ideas, that could fix this problem.
2013 Jan 17
2
mcollective puppet plugin not working for centos
I have a test setup like this:
host
=======
*puppet-idc*: Ubuntu 12.04 running ActiveMQ, Mcollective, puppet agent and
server
*puppet-node1*: Ubuntu 12.04 running MCollective and puppet agent
*puppet-node2*: Ubuntu 12.04 running MCollective and puppet agent
*puppet-node3*: CentOS 6.3 running MCollective and puppet agent
I installed the *mcollective-plugins-puppetd plugin* on all *3 Ubuntu
2010 Oct 25
0
Re: MCollective Client Languages (WAS Re: Re: Accessing Facter in other languages than Ruby?)
----- lists@truthisfreedom.org.uk wrote:
> We have a team of system administrators within our organisation who love the
> look and power of MCollective but are currently "unable" to utilise it fully
> as they don''t know ruby (for some reason Python is the language of
> choice here!).
>
> I''m writing a new web interface for our change management
2013 Apr 12
17
MCollective and Puppet with periodic runs disabled
Hi,
I have looked all over the place and can''t seem to find a complete answer
to my query
I am setting up MCollective to run alongside my puppet deployment and am
having some problems getting it to play as I want it to
Basically, I need to make sure that puppet NEVER makes any changes without
them being triggered by someone (I honestly can''t see how anyone would ever
want
2013 Nov 25
2
mcp ping return no responses
I''m trying to install mcollective on an environment for the first time and
I''m having troubles:
MC client (also the puppet master)
activemq.xml
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The
2012 Jun 07
5
MCollective not all nodes answer to commands when using aes_security plugin
Hi,
I deployed MCollective to our Puppet clients. approx. ~ 200. Our
platform requires the most secure setup possible, so PSK as
securityprovider is not an option.
Therefor I changed the security provider to aes_security reusing
puppets certificates in the server.cfg as found in the docs (1)
Our goal is to use mcollective to offload event-driven actions to
agents running on designated nodes from
2013 Jul 18
0
About Facter via YAML and mcollective
I''m looking at
http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML
If my understanding is right, just using this class can be dangerous because if puppet is run with a --tags that dooesn''t match it, it will not be run. But some fact can be changer any way (fqdn, ssh tokens, …)
How guys do you ensure it will always be updated ?
--
You received this
2011 Nov 01
2
Custom fact not set with mc-puppetd
Hello,
I''ve mcollective 1.2.1 with puppet 2.6.12 on rhel5.6, facter 1.6.2
setup from http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML.
Now I''ve create a custom fact in /usr/lib/ruby/site_ruby/1.8/facter/
customer_status.rb.
On the client;
Running facter customer_status works.
Running ''puppet agent --test'' works, customer_status
2012 Dec 03
4
Unnecessary changes when creating facts.yaml
I have set up puppet to create a facts.yaml file for mcollective using the
following line:
content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s =~
/(uptime.*|timestamp|.*free|macaddress.*|ipaddress)/ }.to_yaml %>"),
However, it is creating a lot of unnecessary changes by reordering the
facts in the yaml output as you can see in the diff output between to
2013 Nov 12
1
How to get Puppet Ent Agent for Mac Mountain Lion?
Dear All,
I''m very new to Puppet Enterprise.... I have the following setup so far:
1. Puppet Master (Puppet Ent) on Ubuntu with its own Agent
2. Puppet Agent on MAC Mountain Lion
Everything looked ok but then I noticed this on the MAC (below), which
suggested to me I had the wrong Agent? I''m a little confused on how to get
the Puppet Ent Agent for MAC?
Info: Retrieving
2013 Dec 13
2
New to puppet and recieving mcollective error
Im new to puppet and installed it in my home lab to mess with, when i
installed it i used the hostname rather than FQDN so went back and changed
puppet and reran the certificate tool to regenerate the certificates etc,
the agent works fine now but i am getting an mccollective error i think, is
there anything in the config i need to change for mccollective after
altering the name to the FQDN?
2013 Mar 05
9
Mcollective/Puppet Connector
When attempting to execute the mcollective puppet plugin:
# mco puppet runonce -v
aixl : execution expired
aixj : execution expired
I get an error, ''execution expired'' on some hosts. However, these hosts
respond via mco ping and, I have verified the date/time on the servers.
The puppet agent is also
2013 May 29
5
mcollective setup question
I am currently trying to get mcollective 2.2.4 up and running on RHEL
6 activeqm appears to be running and bound to the correct port, I see
the server and client connections to the activemq box. However when I
run mco ping all "seems to go well" except I get "No responses
recieved" and above that I get the following log messages,
debug 2013/05/29 17:02:12: activemq.rb:233:in
2007 Apr 26
2
[PATCH] facter: add interfaces, default_gateway facts on Linux
Quick and dirty:
--- lib/facter.rb (revision 203)
+++ lib/facter.rb (working copy)
@@ -989,6 +989,18 @@
%x{/usr/sbin/scutil --get LocalHostName}
end
end
+ Facter.add(:interfaces) do
+ confine :kernel => :linux
+ setcode do
+ %x{/sbin/ifconfig -a -s}.split($/)[1..-1].collect {|line|
2011 Jan 26
3
You cannot save facts to the code store; it is only used for getting facts from Facter
I have successfully updated puppet clients from my master using the
built-in WEBrick server. When I updated my setup to using
Apache2+passenger, my clients get this error message:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: You cannot save facts to the code store; it is only used for
getting facts from Facter
warning: Not using cache on failed catalog
err: Could not
2012 Aug 16
2
Custom Facts accessible via Facter
I don''t get it. I just wrote a simple test custom fact in ruby (ugh, I
hate ruby) and was able to access it as a variable on the client side.
However, it doesn''t appear in the facter output. Is is supposed to?
Doug
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to