Tagged Questions

Foreman is a complete lifecycle management tool for physical and virtual servers.

learn more… | top users | synonyms

0
votes
1answer
43 views

How use global parameters in Forman?

I'm new in Foreman, and I want to use a parameter for all my hosts managed by puppet and I think to use the global parameters it's a good way. But I can't understand how use it. For exmple if I take ...
5
votes
1answer
207 views

Managing puppet modules with git

I have a puppet/foreman server running on Debian 7 for managing my systems. I use the community version 3.7 of puppet and foreman 1.6.0. I use directory environments. At the moment I use a rather ...
0
votes
1answer
97 views

How to install Foreman on Centos 6?

Attempt According to this documentation, Puppet should be installed before installing Foreman. Puppet sudo rpm -ivh ...
0
votes
1answer
137 views

How to get Run Puppet button working on Foreman?

First of all, I know there is already a very similar question here on serverfault, but it doesn't quite answers my problem. So, my setup is the following: I have one server, running Ubuntu 14.04 LTS ...
1
vote
0answers
56 views

Server provisioning without PXE

I have a lot of servers in different data centers which should be reinstalled from time to time. I am familiar with Puppet so I am able to configure the O/S after it boots up but I can't perform an ...
0
votes
0answers
22 views

Querying node information from Foreman is very slow and I'd like to optimize it

I'm trying to set up Rundeck to query Foreman for node information. For example, the curl query: curl -k -u rundeckuser:rundeckpassword "https://foreman/hosts?rundeck=true&format=yaml" takes ...
1
vote
1answer
40 views

After Foreman install, my Icinga interface is not working

I installed Foreman now my nagios (Icinga actually) is not working. The URL is /icinga/ but it just says: The page you were looking for doesn't exist. You may have mistyped the address or the page ...
0
votes
0answers
164 views

Foreman-Installer failed to install - puppet cert --generate FQDN returned 23 instead of one of [0] - Ubuntu 14.04

I tried to install Foreman serveral times at my Ubuntu 14.04 Server. Foreman 1.5 and 1.6 always fail at the same time with following error : /usr/bin/puppet cert --generate ubuntutest.domain.com ...
0
votes
1answer
102 views

foreman assign mutiple hosts to a config group

On foreman 1.6.0 is it possible to easily assign multiple hosts to a config group (Under the Configure->Puppet->Config Groups menu)? I've had a pretty good look around the web interface and hammer ...
0
votes
0answers
43 views

Deploy a server in Foreman with provision type image trough the API

I'm trying to deploy a server using an image on VMware trough the V2 API. From the GUI it works without any problem but when I try to deploy with the API using image_id and provision_method=image it ...
1
vote
1answer
16 views

How to tell if plugin were added to a Foreman installation

I am planning a migration from an old Foreman install to a new version and a new server. I wish to know how can I find out if any plugins were added to the old installation and so that I can install ...
0
votes
1answer
101 views

Foreman errors out when provisioning using an ms-dhcp/dns smart proxy

Im running foreman, with smart-proxy on a win2k12 r2 box running ad/dhcp/dns. When i try to provision smart proxy dumps this to the logs: Changed the current scope context to 192.168.20.0 scope. ...
1
vote
1answer
205 views

The Foreman Provisioning Preseed default finish wget erroring

im new to foreman and puppet. I'm not sure what I changed but now my provisioning templates aren't running. Ubuntu installation fails with exit code 8 with the following screen: i found out that ...
0
votes
1answer
190 views

Foreman install on RHEL7 missing ruby(abi) dependency

I'm trying to use yum to install the foreman-installer package on a RHEL7 image. Ruby and rubygems are installed. Ruby is version 2.0.0p353. The yum install fails with several rubygem packages ...
0
votes
0answers
159 views

Foreman DNS Error ERF12-2357 [ProxyAPI::ProxyException]: Unable to set DNS entry

after setting up the foreman enviroment I'm getting the error: "Unable to save Create Reverse DNS record for mydomain.de task failed with the following error: ERF12-2357 [ProxyAPI::ProxyException]: ...
0
votes
1answer
140 views

Foreman install not working under vanilla install

I'm new to foreman and am having trouble gettin this working on a rhel (6.5) server. Here's the error I get when running "foreman-installer -v": [ INFO 2014-08-04 15:25:42 verbose] Running validation ...
0
votes
0answers
21 views

Foreman Parameters accents not allowed

I'm using foreman to manage my servers launching "Run puppet" from theforeman interface. My classes use some values defined as foreman "parameters" to work. Everything works fine, but not when a ...
2
votes
1answer
331 views

“Run Puppet” function in Foreman works inconsistently

First, a quick overview of our setup: We have a Foreman instance running properly, let's call it foreman. The Puppet master works well, let's call it puppetmaster. There are two hosts contactable ...
1
vote
1answer
678 views

puppet-master/foreman “undefined method `[]' for nil:NilClass on node” after update

After updating my puppet-master from 2.7 to 3.6.2 I get the following message when running puppet agent on a node: err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined ...
1
vote
2answers
617 views

Using foreman to provision a vm with static ip

I am trying to provision a vm with Centos6.5 on vmware with a static ip address using Foreman 1.5.1. However, the vm's keeps getting provisioned with a dhcp address. Im doing a network based install. ...
0
votes
1answer
457 views

Foreman environment import

I have foreman installed on an ubuntu 14.04 server. Now following problems: I have installed many puppetlab modules (puppetlabs/apt, puppetlabs/ntp, etc). After a click on "Import from..." I were ...
0
votes
3answers
517 views

Foreman installation on amazon ec2 instance

Hi there and thank you for reading, I am currently in the process of setting up a puppet service for our ec2 instances and decided to give foreman a try (node certificate management and automatic ...
1
vote
1answer
492 views

foreman-installer on wheezy fails

I'm trying to install foreman on a Debian Wheezy machine. When I follow the guide on theforeman.org, I get the following error from the installer: root@server:/tmp# foreman-installer ...
0
votes
0answers
147 views

Cannot run puppet agent on vanilla Foreman install

I've just installed Foreman 1.5 onto a CentOS 6.4 VM for evaluation. Following the installation instructions on the Foreman website, I got everything installed and working, up until I tried to run ...
1
vote
0answers
77 views

Foreman and ESX Integration, docs and examples; rolling out VMs

We're seeking a scripted/automated solution to facilitate rollouts of VMs in a uniform manner. Since we use Puppet, Foreman is of interest. However, there doesn't appear to be documentation (yet?) ...
6
votes
6answers
314 views

Version Controlling Foreman & Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
0
votes
1answer
31 views

How to have foreman 1.4 to dispay long puppet class names

I have long puppet class names in my module. Like: my_cluster_module::role::java::services::some_service_name. When trying to add such role to a virtual machine via the "Puppet Classes" tab, only the ...
0
votes
1answer
290 views

Default path for exec resource with forman and puppet

I'm using Foreman (1.4) and Puppet (3.4.3). I just started using Foreman and Puppet like 4 weeks ago, so I'm new. What I want to do is set a default path for exec resources. According to many howtos ...
0
votes
1answer
155 views

How do I configure virtual hosts on instances? [closed]

I've created a host type with puppet classes suitable for a web server and have successfully built a server with this. However, I can't see how to configure a vhost on that server (without actually ...
0
votes
0answers
155 views

theforeman 1.4: foreman-proxied external dns/dhcp server puts provisioned domainname twice in dns server

I have a strange problem with our foreman. we use .localdomain as our internal domainname (eg. a host gets the fqdn test.localdomain) we use the standard dhcpd and named from CentOS6, both on the ...
3
votes
0answers
220 views

Minimum Privileges for vmware user for Foreman 1.4 Compute Resource

I am currently trying to add a ESXi cluster I have into Foreman 1.4.1, and am running into a problem with permissions. Currently, I've given a service account the following rights: Datacenter-Level: ...
1
vote
0answers
128 views

Unable to set up an instance on GCE with Foreman

I am working on GCE and I would like to use foreman. I installed it on Debian 7 with foreman-installer. I followed these instructions. I put GCE in my compute resource and then I tried to create a ...
1
vote
1answer
85 views

How do you upgrade puppet on Apache / passenger on EL6.4?

I have a Scientific Linux 6.4 server running apache / passenger with puppet-server installed. Also installed is Foreman 1.4. When I upgraded my agents to 3.4.2, they started all logging: Using less ...
3
votes
2answers
1k views

Basic puppet: Writing infrastructure configuration with an ENC, style, how-to?

I barely know enough Puppet to ask this question. I think I understand that the configuration for a particular node would consist of a collection of modules, with some node-specific glue. From the ...
0
votes
2answers
243 views

The Foreman EC2 Auto Scaling Cleanup

OK, so I have setup in the user-data section of my launch configuration, a way for an instance to automatically register itself with Foreman, and put itself into the correct host group through API ...
1
vote
1answer
372 views

Foreman-Installer change certificate

Looking to install Foreman for a puppet deployment in my environment. I ran foreman-installer with defaults at first and didn't care for the SSL certificates and URLs being server01.example.com I ...
0
votes
2answers
410 views

Foreman Unattended Installation

I am currently hard coding a preseed configuration to install foreman on a new machine together with Ubuntu 12.04. The intention is to be able to reproducably create a foreman installation which ...
1
vote
1answer
444 views

Can I use variables in The Foreman as a Puppet ENC?

Is it possible to set variables like server_role=webserver, allow_root=false in The Foreman as a Puppet ENC? And does the Foreman as an ENC support hierarchies? E.g. make a group of webservers, that ...
0
votes
1answer
99 views

foreman undefined method active_record

i am trying to install foreman manually on centos 6 database.yml production: adapter: mysql database: foreman username: foreman1 password: foreman host: localhost socket: ...
6
votes
2answers
2k views

How to define different stop/restart signals with upstart

I am starting to convert all of our systems to using upstart to manage our various application processes. One thing that I am constantly missing is the ability to send a different signal to the ...