similar to: Problems With Facts

Displaying 20 results from an estimated 30000 matches similar to: "Problems With Facts"

2013 Nov 01
1
Facts and Stored Configs
So finally playing with PuppetDB and have to say its impressive. Planning on extending it slightly to be a CMDB. With that in mind, we produce test systems for developers to test the equipment they are developing on. So these systems are rapidly deployed then torn down. A requirement has been given to me to keep a snap shot of the systems and there configuration, so identical systems can be
2013 Jun 24
4
Disable certain facter facts?
We found out, the hard way, that version 1.7 of Facter adds facts for mounted linux file systems. This is nice for normal servers. For a server hosting Oracle not so good. We went from about 100 facts per server to well over 3,000 (our Oracle boxes have quite a few volumes mounted). Of course, this choked our ENC (Foreman) having this many facts pumped into it and required us to downgrade
2013 Aug 27
7
The Foreman: Query facts from ENC PuppetDB?
I''ve been using PuppetDB as an ENC for a while, but I haven''t really utilized it for stored configs or anything. I was mostly interested in replacing Dashboard''s reporting capabilities, but PuppetDB doesn''t yet do anything (that I can see) with reports. So I''m currently looking into setting up a separate Foreman server. I saw the script mentioned
2013 Jun 19
0
How can an ENC get the --environment value specified on a puppet agent commandline?
Is there any way to pass puppet run details to an ENC. Most importantly I want to know the Environment value the puppet Agent is asking for. More generally is it possible to query the puppet configuration values? One thought I had is to turn the puppet config into FACTS. Then the ENC can get the latest values from either Inventory Services or Foreman. But off hand I don''t know how
2013 Aug 07
1
Adding Foreman to an existing Puppet master
Greetings: Sorry for cross-posting this question, but I haven''t gotten any love over on the Google Forum for Foreman users<https://groups.google.com/forum/#!forum/foreman-users> (their forum isn''t as active as this one). I only recently learned about The Foreman and I''d like to deploy it on a 64-bit Ubuntu 12.04 LTS workstation to provision/manage a bunch of
2013 Dec 02
1
Class parameter flexibility with ENC, hiera or both
Dear puppetteers, I am having a philosophical question about parametrized classes. When building modules, one wants to be as flexible as possible, to try to target as many puppet flavors as possible. This is our target: - Foreman users, using foreman as an ENC with smart variables (or potentially any other ENC, but I would say this is the most widespread one). - Pure Puppet''s site.pp
2011 Oct 18
2
puppet-foreman
Hi, I created a centOS6 EC2 instance last night and ran the foreman puppet module but it came back with a few years. Was hoping somebody could help me understand these errors. [root@ip-10-170-77-129 config]# echo include foreman | puppet --modulepath /root/puppet-foreman/ err: /Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml/foreman]/ensure: change from absent to directory failed:
2014 Jan 04
0
The Future - ENCs vs Hiera?
After digressing into this discussion on #puppet last night, I was wondering what the community feelings are on ENCs vs Hiera... I know that Dashboard/Console still exists, but have heard rumors (for years) of it being either replaced by something else, or totally rewritten. Then there's Foreman, and a bunch of us with homegrown ENCs. On the other hand, it seems that the bleeding edge of the
2013 May 07
2
Foreman and Puppet managing templates question
Hi, I have just started to use Foreman 1.1. I have been using Puppet for a while and have some custom modules and ones that have been dragged down from git etc. I am using nodes.pp in Puppet to assign classes and template entries to hosts. So is Foreman meant to eliminate my need for a nodes.pp? How do I manage my erb templates in Puppet without a nodes.pp? Thanks, -- You received
2012 Aug 09
1
hiera scope and hiera-foreman
Hey all, I''ve been messing around with the hiera-foreman backend to see if it would let me migrate to hiera and use foreman and an ENC. https://github.com/torrancew/hiera-foreman It works by querying each node''s yaml file from foreman. Currently this code works when called from the hiera command line with the -m (mcollective option). It uses the mcollective facts to pull
2013 Oct 16
2
Exported resources not in the catalog
Hi, I''m trying to use Puppet ability to export and collect resources using PuppetDB. My PuppetDB and Puppet Master are running on the same host and I used the PuppetDB puppet module to install PuppetDB and configure the Puppet master. Each time the puppet agent runs on a client, the facts and the catalog are being pushed in PuppetDB and I can query the PuppetDB server to get
2013 Feb 20
0
Help needed in setting up a simple ENC
puppet maser conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [master] classfile = $vardir/classes.txt localconfig = $vardir/localconfig user = root group = root fileserverconfig = /etc/puppet/fileserver.conf reportdir = /home/logs/puppet/reports masterhttplog = /home/logs/puppet/masterhttp.log masterlog =
2013 Jul 25
2
No reports in foreman
Dear all I am trying to set up reports in foreman, but foreman tells me to configure it. What am I doing wrong? I have on the puppet master: /var/lib/puppet/reports/foreman.rb with $foreman_url=http://rh6-puppet-master Do I need the port? /etc/puppet/puppet.conf with in [main] reports = log, foreman I restarted the service service puppetmaster restart in /var/log/messages I find: No
2011 Jul 20
0
parameters in a string for ENC
I am hoping that someone could post a working example of how they use a ''define'' has in a parameter string because I have been working on this for days to no avail (and googling & checking documentation on puppet & foreman sites. What I am trying to accomplish is to define things within foreman ENC and duplicate the functionality I can get from just using node
2013 Jun 17
2
Puppet Management with Dual Boot Workstation
Hi everyone, I''m trying to figure out what is the best way to handle a single system that dual boots with a puppet client running in each. In this case we are talking about Ubuntu 12.04 and Windows 8. Should I just copy the certificate from one OS to the other? Should I have a different certificate for each OS? In this case can they have the same hostname, as it is the same IP
2012 Jan 09
0
node parameters
I''ve been using foreman as an ENC and assigning node parameters for some time and it was clearly working but it apparently broke somewhere along the way and I can''t tell why. Here''s part of the modules/sudoers/manifests/sudoers_hostgroup.pp class sudoers::hostgroup { case hostgroup { default: { file{"/etc/sudoers.d/admins_web": ensure
2013 Mar 28
4
Custom fact or function ? looking for opinion
Hi, I''m in the progress of writing custom facts to retrieve our network configuration for the nodes from the openldap ENC. Now, since the puppetmaster has also access to the ldap server, I''m thinking to move the custom facts to a function, so it runs on the puppetmaster only, end not on every node. I just wanted to here some other opinions about this issue. Thx Johan
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
2013 Oct 09
6
Could not retrieve catalog from remote server: Error 400 on SERVER: cannot generate tempfile `/var/lib/puppet/yaml/facts/vagrant1.localdomain.yaml20131009-16545-8oie5i-9'
Hi, i''m a newbie about Puppet( 1 month ~) i got error on generate temp file, i''ll explain my situation: -i have a puppetmaster(version: 3.3.0),executed on root and a puppet agent(version 2.7) provisioning by vagrant,executed on root -my site.pp, where webserv is a parametrized class, and typews is a parameter to choice nginx or lamp module, -i have my Enc node with path
2013 Sep 02
4
puppetdb - getting a list of specific facts for specific hosts?
I''m trying to query puppetdb for a list of hosts maching a certain regex (on hostname) and only returns 2 facts (ipaddress and hostname) I''m trying to follow: http://docs.puppetlabs.com/puppetdb/latest/api/query/tutorial.html and I''m not even quite sure, wether or not, I should use a facts or a nodes, or a resources query ? I get some of the queries to return just