Re: [foreman-users] discovery hosts with "manage" and "work" interfaces, "work" should be static defined and bonded

2016-10-11 Thread Lukas Zapletal
> Hey, > 1. "managed" send dhcp request, receive ip and boot discovery image > 2. host will reigstred in foreman THats ok, we call "manage" interface "Provisioning interfaces". > 3. after registration will triggered hook and assign to second-"work" > interface free ip address. ipam will registe

Re: [foreman-users] foreman-rake "Don't know how to build task 'templates:purge'"

2016-10-11 Thread Dominic Cleal
On 11/10/16 02:44, Stefan Lasiewski wrote: > I'm running CentOS 6 with SCL, and we're still on Foreman 1.11. > > I'm trying to work with foreman_templates > to update my > templates. I installed foreman_templates a few weeks ago using > `foreman-in

Re: [foreman-users] Sharing common puppet modules between multiple environments in Foreman

2016-10-11 Thread Dominic Cleal
On 10/10/16 21:36, 'Konstantin Orekhov' via Foreman users wrote: > Hello all! > > I have a "common" environment with some non-app-related modules (OS > repos, DNS, NTP, things of that nature), and several other environments, > which are application-specific - for example, "production". > Most of t

Re: [foreman-users] Foreman in a container

2016-10-11 Thread Lukas Zapletal
Justin Garrison píše v Pá 07. 10. 2016 v 07:14 -0700: > Is anyone running Foreman in production in a container? I'm working > on a new installation and I'd much rather get it running in a > container than on a VM. > > I see some containers on Docker hub (there's a foreman nightly build > https://

Re: [foreman-users] Smart-proxy template setup problem

2016-10-11 Thread Lukas Zapletal
> Is there some some setting or some feature I'm missing here? Should > the template_url be the foreman-prime server or the proxy? I've tried > both (also configured the http_port 8000 on the foreman-prime for > that test) but neither worked for what it's worth.  It needs to be either https://for

Re: [foreman-users] Re: Adding discovery proxies to subnets using Hammer

2016-10-11 Thread Lukas Zapletal
Marcus Torres píše v Čt 06. 10. 2016 v 07:00 -0700: > Did you ever figure this out out ? I'm running into the same issue > myself Please file a bug. We don't have that. -- Later,  Lukas "lzap" Zapletal -- You received this message because you are subscribed to the Google Groups "Foreman users

[foreman-users] Re: Sharing common puppet modules between multiple environments in Foreman

2016-10-11 Thread Juan Pablo Lorier
Hi, I've had a similar issue since a couple of years. Every brand new foreman/katello install I make works fine with the defined common module path (/etc/puppet/modules/) but after I upgrade it stops working and I have to import the classes to every environment. I never filled a bug because I ne

[foreman-users] problem with external certmonger ssl certifcates

2016-10-11 Thread Jorick Astrego
Hi, We have freeipa attached to Katello/foreman and now I want to use the certmonger ssl certificates for Katello/foreman/puppet. After reading several manuals, blogposts and other info (most of it is a bit outdated); I found a solution that appears to work. The webserver has a new certificate

[foreman-users] Re: problem with external certmonger ssl certifcates

2016-10-11 Thread Jorick Astrego
On 10/11/2016 01:11 PM, Jorick Astrego wrote: > > Hi, > > We have freeipa attached to Katello/foreman and now I want to use the > certmonger ssl certificates for Katello/foreman/puppet. > > After reading several manuals, blogposts and other info (most of it is > a bit outdated); I found a soluti

[foreman-users] Prevent foreman discovery from registering the host if the host is already defined?

2016-10-11 Thread Andrew Blatt
Hi, I came across an issue when someone accidentally deleted the tftp/macfile and rebooted a server into network boot after an installation. The server was re-added into discovery, even though the host is already defined in the host table. Is there a way to prevent this from happening? Now if

Re: [foreman-users] Re: Adding discovery proxies to subnets using Hammer

2016-10-11 Thread Lukas Zapletal
Think this patch fixed it (will be in 1.14): https://github.com/theforeman/foreman/pull/3904 The change in API will allow setting any proxy via ID options. LZ Lukas Zapletal píše v Út 11. 10. 2016 v 09:50 +0200: > > Did you ever figure this out out ? I'm running into the same issue > > myself >

Re: [foreman-users] Sharing common puppet modules between multiple environments in Foreman

2016-10-11 Thread 'Konstantin Orekhov' via Foreman users
> > > The module should be at /etc/puppet/environments/common/ntp/ or > /etc/puppet/modules/ntp/. What are the paths of the modules you've added? > > Hmm, since my common environment is a real environment, its modules are under /etc/puppet/environments/common/*modules*/. The same directory stru

Re: [foreman-users] foreman-rake "Don't know how to build task 'templates:purge'"

2016-10-11 Thread Stefan Lasiewski
On Tue, Oct 11, 2016 at 12:08 AM, Dominic Cleal wrote: > On 11/10/16 02:44, Stefan Lasiewski wrote: > > [root@puppet ~]# foreman-rake templates:purge > > rake aborted! > > Don't know how to build task 'templates:purge' > > It's unlikely that the version you have installed contains this feature. >

[foreman-users] foreman/katello add host via hammer

2016-10-11 Thread Einar Næss Jensen
I'm able to add hosts via the hammer discovery module. almost: # hammer discovery provision --id 43 --domain-id 2 --enabled yes --name "compute-0-2" --interface --hostgroup "compute hosts" --architecture "x86_64" --environment "production" --operatingsystem "CentOS 7.2" --puppet-ca-proxy-id 1 -

Re: [foreman-users] Foreman Development getting started

2016-10-11 Thread Greg Sutcliffe
In case anyone else is wondering the same sort of things - Denis has found his answers on the foreman-dev mailing list[1], which is absolutely the right place for development questions :) [1] https://groups.google.com/forum/#!forum/foreman-dev Cheers, Greg -- You received this message because y

[foreman-users] How should I keep my templates up to date?

2016-10-11 Thread Stefan Lasiewski
We recently discovered that some of our provisioning templates in Foreman are out of date compared to the -stable branches at https://github.com/theforeman/community-templates/branches . In some cases, we're concerned that the templates are way out of date, possibly since we started with Forema

[foreman-users] foreman-ansible use cases review

2016-10-11 Thread sureshkumar thirugnanasambandan
Hello everyone, In the next few days, I will spend some time testing foreman-ansible plugin. As a start, I created some use cases which I think are applicable for this plugin. I documented them in [1]. I know some of you are already using this plugin extensively. Can you please spend few minute

Re: [foreman-users] Problems with provisioning setup

2016-10-11 Thread Ustun Kaya
Sorry for the delay on this, I am merely running foreman-installer. Anyways the issue is installer doesn't source the profile script: [ukaya@foreman1.devmlp ~]$ cat /etc/profile.d/puppet-agent.sh # Add /opt/puppetlabs/bin to the path for sh compatible users if ! echo $PATH | grep -q /opt/puppetl

Re: [foreman-users] foreman/katello add host via hammer

2016-10-11 Thread Lukas Zapletal
I'm able to add hosts via the hammer discovery module. almost: > # hammer discovery provision --id 43 --domain-id 2 --enabled yes -- > name "compute-0-2" --interface  --hostgroup "compute hosts" -- > architecture "x86_64" --environment "production" --operatingsystem > "CentOS 7.2" --puppet-ca-proxy

Re: [foreman-users] Puppet Server Stop After OS Update

2016-10-11 Thread Paul Bailey
Just ran into this issue upgrading from Foreman 1.12 to 1.13 as the test node also had the puppetlabs-pc1 repo installed. Setting the puppetserver version worked like a charm. Thanks! On Thursday, September 15, 2016 at 3:01:07 AM UTC-5, Dominic Cleal wrote: > > On 14/09/16 18:23, Marcio Costa w

[foreman-users] trusted_puppetmaster_hosts.. must be an array??

2016-10-11 Thread Ben Hart
Having trouble finding the correct syntax for this field. I has one puppet/ansible box, I need to enter it into this field but every iteration I can think of returns an error: Value is invalid: must be an array What am I doing wrong? Could anyone give me an example of what should or can be p