Questions tagged [puppet-foreman]

29 questions
3
votes
1 answer

What services do I have to restart to effect config changes in puppet.conf when using foreman?

I have puppet 3.8.4 installed via the latest foreman installer. I enabled the $facts['fact_name'] hash by putting these lines in my puppet.conf: trusted_node_data = true trusted_server_facts = true I restarted some services to try to affect the…
red888
  • 4,183
  • 18
  • 64
  • 111
2
votes
1 answer

Remove Host from Foreman

In Foreman 1.12 I deleted a VM from the VMware web client, but cannot delete its record from foreman. I got the below error: Error: Failed to destroy a compute VMware (VMware) instance *************: ERF56-4248 [Foreman::FingerprintException]: The…
agamil
  • 33
  • 6
2
votes
1 answer

How to query Foreman for hosts with a specific Global Parameter?

We make some use of the Global Parameters in Foreman, and I need to list all hosts, which have the Global Parameter foo set to "bar". Can I do that with the REST API or via some other method? Going through the list of API-calls, I do not find…
Mikhail T.
  • 2,338
  • 1
  • 24
  • 55
2
votes
1 answer

Puppet/Foreman: Nodes are out of sync

I got a little problem: I installed puppet agent on some nodes. I'm managing the nodes with foreman. Now some nodes are "out of sync" until I run puppet agent -t on the node manually. The service is running on the nodes: root@node1:/var/log# ps aux…
MyFault
  • 913
  • 3
  • 15
  • 36
1
vote
0 answers

Foreman manifest - Trigger action on Puppet class parameters change

I am new to Puppet and I do support a small windows environment with mostly web services and console apps, all managed by Foreman/Puppet. I've managed to write several manifests, which keep those apps up and running fine. For the Web Console apps,…
c4sane
  • 23
  • 1
  • 4
1
vote
0 answers

Puppet server - Is it OK to delete files inside /var/lib/pgsql/data/base/?

We have a puppet server running 3.8.7 on RHEL 6.10. It experienced an OOM event this morning then the server recovered without intervention. While looking into this I noticed the server became very slow to respond. I saw that it suddenly had over…
user53029
  • 629
  • 3
  • 14
  • 36
1
vote
1 answer

Puppet Run on hostgroup in UI results in: Failed to apply catalog: Broken pipe -

When attempting a "run puppet" from the UI (1.11.0 - thanks for the improved UI speed, btw) on a hostgroup (same config/installs/OS, etc), the result will be a "Failed to apply catalog: Broken pipe - " error. All hosts are Ubuntu Trusty. Here's a…
Travis
  • 123
  • 8
1
vote
2 answers

Puppet: Error 400 on SERVER: Permission denied

I would like to use DOCSF-module (from github). If I try to use it I'm getting this result: Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Permission denied -…
MyFault
  • 913
  • 3
  • 15
  • 36
1
vote
1 answer

Duplicate host records in Foreman when VM is created by Foreman in OpenStack

I managed to connect Foreman and OpenStack, so that I can create VMs in OpenStack using Foreman web interface. I am using cloud-init, or how Foreman calls it, user data provisioning template in order to provision a newly created instance. For test…
1
vote
2 answers

Other vhost aliases next to Foreman

After installing foreman on default URL, other aliases like /phpmyadmin or /ganglia don´t work anymore; "Page not found". What´s the best way to get them working again next to the foreman GUI and installation, especially if the foreman master server…
crowTU-BS
  • 21
  • 3
1
vote
1 answer

Foreman - Using Global / Host Variables in YAML Config

I'm having a little trouble working with the Global Variables in Foreman. I have a global variable called ALLOW_AD_USERS which I can see in the facts section against the host. I'm trying to use this variable with in the YAML config associated with a…
jamboNum5
  • 361
  • 1
  • 2
  • 10
0
votes
1 answer

How do you test/troubleshoot hiera in a Puppet environment

I'm using Puppet alongside Foreman to provision hosts, and I've currently got all of Puppet config as modules in a repository. I'd like to use Hiera but I've never been able to get even the simplest thing to pull from one of the .yaml files that I…
geoffjay
  • 131
  • 5
0
votes
2 answers

SOLVED - Unable to install foreman-proxy on CentOS 6.9

Puppet [root@ns1 ~]# puppet --version 4.10.1 Repositories (used Foreman 1.12 as the next versions are not supported in Centos 6) [root@ns1 ~]# yum repolist enabled Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base:…
Oleksandr
  • 1
  • 3
0
votes
1 answer

Debian 8 + Foreman Not Loading

I'm working on giving foreman a try, I installed it on Debian 8 per the tutorial on the site. However, when I try to load foreman I get: Sinatra doesn’t know this ditty. # in usr/share/foreman-proxy/modules/root/root_api.rb class Proxy::RootApi …
Aaron A
  • 239
  • 2
  • 14
0
votes
0 answers

Unable to install foreman in ubuntu 12.04

I am trying to install foreman in ubuntu 12.04, After adding apt source and executing foreman-installer command giving me the below error. /usr/lib/ruby/vendor_ruby/kafo/puppet_module_parser.rb:21:in `initialize': uninitialized constant…
Kenshin
  • 109
  • 5
1
2