similar to: Identifying host OS in an ENC

Displaying 20 results from an estimated 20000 matches similar to: "Identifying host OS in an ENC"

2012 Sep 26
6
Puppet 2.7, hiera 1.0 and hiera as an ENC
This is the situation I have: All my hosts are the* same OS.* All my host are in the* same puppet environment,* so I cannot use %{environment} I have a module that sets all the *basic* functionality for the OS, resolution, authentication, security, packages, etc I have a module for each application hosted. At the moment all the ''data'' is in Puppet, mostly in parametrised
2012 Jun 14
8
inventory service in Puppet-dashboard
Hi there, I installed puppet-dashboard, which works just fine, and trying to activate *inventory-services *but get this error on the agent: err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Please install the mysql adapter: `gem install activerecord-mysql-adapter` > (Could not find RubyGem mysql (~> 2.8.1) > on the master, these are the packages I got
2011 Jul 23
2
Dashboard not retrieving inventory
Hi All, Puppet-dashboard appears to be having some trouble. Under inventory, it says: "Could not retrieve facts from inventory service: Permission denied - certs/dashboard.private_key.pem" When I run: curl -k -H "Accept: yaml" https://puppet:8140/production/facts/host.domain I get the expected dump of facts. Versions: puppet-dashboard is 1.1.0 (using passenger) puppet-master
2012 Dec 12
8
puppet dashboard inventory
I have a puppet master install which uses puppetdb. I also have puppet dashboard installed with the inventory service running. I want multiple puppet masters using a single puppetDB server. Puppetdb is installed on separate vm. How can I get the dashboard inventory to use the puppetdb server to get the inventory records? Where do I configure the dashboard inventory so it uses puppetdb? I
2011 Mar 18
4
Inventory service and dashboard 1.1.0 rc1
I just set up the latest dashboard release candidate in hopes of trying out the new inventory service. After modifying the puppet- dashboard config to use the inventory service and after changing my auth.conf I gave it a whirl but ran into some issues.. I initially tried using fact_terminus = yaml and was able to do some queries via curl. I''m currently using storeconfigs so setting up
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 Apr 20
1
PuppetDB / inventory service configuration problem
Hi, I''ve just been configuring my new Puppet 3.1.1 / Dashboard setup with Passenger to use PuppetDB for the inventory service. I configured it via the puppetdb forge module, and it all seems to be configured correctly as far as the docs describe. When I look at a node in the dashboard, under the inventory section, I just see: Could not retrieve facts from inventory service: 404
2011 Oct 12
4
Python yaml help
Sorry for being off topic. am trying the following and yaml fails to construct the object: The inventory document, from Puppet dashboard inventory service, looks like: --- !ruby/object:Puppet::Node::Facts name: pirates.uis.example.com values: productname: VMware Virtual Platform kernelmajversion: "2.6" My code: class PuppetFacts(yaml.YAMLObject): yaml_tag =
2012 Oct 04
4
Puppet 3.0 + Inventory search
Hello, I am having problems with Puppet since upgrading to 3.0.0. When I call an inventory search I get a Error 400. I have used dashboard + Perl Oct 4 08:58:43 puppet01 puppet-master[7008]: Handling request: GET /production/facts_search/search?facts.lsbdistcodename.eq=lenny Oct 4 08:58:43 puppet01 puppet-master[7008]: header too long ii facter
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
I''m having some trouble with getting an ENC to work alongside site.pp: Even with a ''default'' node definition, and an ENC that only returns 0, regardless of input, consistently results in a ''cannot find node'' error. I''m wondering what I''ve missed here. I''ve tried to reduce everything to a ''base case'': and
2007 Dec 20
9
Puppet Reports
Hello All, We are investigating writing a custom puppet report that would be a web app to show a change log for each host. The issue we are running into stems from how we run puppet. We run a daily cronjob in noop and report mode and fix inconsistency''s either by hand or by puppet depending on the host. This should change some what in the future as our puppet environment matures
2011 Sep 21
11
Software inventory
Howdy, Before I go about writing one myself, anyone out there written a software inventory module/fact for gathering a list of all installed rpms/debs on a system? Got a few ideas floating around in my head, but wanted to see if/what other folks have done .. -- I''ve seen things you people wouldn''t believe. Attack ships on fire off the shoulder of Orion. I watched C-beams
2009 Apr 26
5
Factor questions
Hello, I''m new to puppet and facter. Initially we are planning on using facter/puppet to inventory machines (Mac, Ubuntu, and RHEL). We plan on writing a number of custom facts. Obviouly some of the facts will only be specific to some OSs. I know there is a "confine" method, but it confuses me. It seems the confine statement in some of the recipes and in the Turnbull book is
2012 Jun 02
5
error trying ENC.
Hello, I''m trying to use External Node classification and I have not idea what is my mistake. I getting the following error : err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `downcase'' for ["hola", {"mens"=>"HOLA"}]:Array on node casa I have a very simple parameter class : class hola( $mens =
2012 Jul 18
1
create_resources function and puppet enc
Hi, I am trying to create multiple users using puppet. I have created a ENC and trying to use class wrapped defined types with create_resources function. For some reason things are falling apart. I would really appreciate some help on these Here are the details about my classes and configuration http://serverfault.com/questions/409001/create-resources-function-and-puppet-enc -- You
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
2013 Oct 31
1
Undo changes from removed class (ENC)
Hey guys, i hope someone has an idea for me. At this time im using Puppet Dashboard as enc for a masterless puppet infrastructure.No im searching for a best practise to undo the changes from a removed class. Example: In the enc I´ve added the class auth::test to a node. The class will be loaded on the next puppet apply, works fine. But now if i remove the class from the node in the enc, how
2011 Jun 22
2
environment ENC vs cmdline
Hi all, I am using puppet with an ENC script. In this scripts YAML output the environment (generally "production") is set. For testing purposes I would like to start puppet runs from the cmdline of a managed host like: $ puppet agent --onetime --no-daemonize --verbose --no-splay --environment development The problem is the --environment Parameter is not being used if an environment
2013 Mar 14
1
One Dashboard for Multiple Masters
I''m trying to connect multiple masters to one dashboard and I''m having trouble with Facter. I started out initially with one master connected to the dashboard and that one works perfectly fine. Then I added a second master by setting the reporturl to point to the dashboard. The new nodes appeared and it shows the run results without any problems. The issue I''m
2013 Sep 18
1
ENC paramater interpolation in ENC, and inline templates
I''m in the process of rolling out a new homegrown ENC (we''ve decided on using an ENC over hiera; I know it''s not the way a lot of you are going, but it''s right for us) and am running into some issues with variable interpolation in ENC data. To give a concrete example, I''m using modules to configure puppetdb, puppet master, and puppet clients. So,