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

2016-10-12 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"

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

2016-10-12 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

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

2016-10-12 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

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

2016-10-12 Thread Greg Sutcliffe
I was about to suggest foreman-templates, but it seems you've already got it set up :) I think you're on the right path - a local git repo, which can be diff'd and/or rebased against the upstream community-templates repo when you need to, is a useful resource, and then regular syncing into

[foreman-users] [katello] PLP0000: Invalid block tag: 'compress' on EPEL 7 repo

2016-10-12 Thread Jorick Astrego
Hi, Currently I'm running katello-3.2.0-2.rc1.el7.noarch and I'm getting the error "PLP: Invalid block tag: 'compress' " when syncing "https://dl.fedoraproject.org/pub/epel/7/x86_64;. I opened issue http://projects.theforeman.org/issues/16877 but the EPEL repo is needed for some stuff so

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

2016-10-12 Thread Mike Wilson
On Tuesday, October 11, 2016 at 2:47:43 AM UTC-5, Lukas Zapletal wrote: > > > > 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 >

Re: [foreman-users] [Katello 3.1]: getting puppet modules in an air-gapped environment?

2016-10-12 Thread Jamie Caldwell
Thanks for that Jason. I'll have a read and see if it might work for us. On 12 October 2016 at 15:01, 'Jason B. Nance' via Foreman users < foreman-users@googlegroups.com> wrote: > JC, > > My suggestion for you would be to use pulp-puppet-module-builder to create > a local "forge" with only the

[foreman-users] "Host Errata Advisory" empty reports

2016-10-12 Thread 'Denis Müller' via Foreman users
Hi guys, i configured foreman to send us daily reports about errata-updates, but there is only an empty template to read. Did i miss something? See picture. -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and

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

2016-10-12 Thread Lukas Zapletal
> Why would the build host not be able to get the template but I can manually > run the URL and it work? > > PS: I will keep an eye on the token expiration. The Foreman page for the > host highlights that in red if it's expired. Check if TFTP is proxy associated with the subnet, otherwise

Re: [foreman-users] [Katello 3.1]: getting puppet modules in an air-gapped environment?

2016-10-12 Thread 'Jason B. Nance' via Foreman users
JC, My suggestion for you would be to use pulp-puppet-module-builder to create a local "forge" with only the modules you are interested in that Katello can sync. You can find some info about it here:

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

2016-10-12 Thread Stefan Lasiewski
On Wednesday, October 12, 2016 at 2:12:42 AM UTC-7, Greg Sutcliffe wrote: > > On 11 October 2016 at 19:25, Stefan Lasiewski > wrote: > > I was able to get the correct version of my templates by specifying the >> correct foreman branch, like this: >> >> foreman-rake

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

2016-10-12 Thread Stefan Lasiewski
Okay, thanks for that information. Also, it looks like I can print out my current templates with the Hammer CLI, like this: ``` hammer template dump --name "Kickstart default PXELinux" |less <%# kind: PXELinux name: Kickstart default PXELinux (Locally Customized) oses: - CentOS 4 -

[foreman-users] Using the <%= options %> or <%= pxe_kernel_options %> array in templates?

2016-10-12 Thread Stefan Lasiewski
Hi all, Currently, we have a couple templates with local customizations to do things like pass on Kernel parameters, like this example from the `Kickstart default PXELinux` template. <%-# NOTE: # If host is VMware (If it uses the VMware provider), than pass kernel params to avoid

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

2016-10-12 Thread Mike Wilson
On Wednesday, October 12, 2016 at 10:27:25 AM UTC-5, Lukas Zapletal wrote: > > > Why would the build host not be able to get the template but I can > manually > > run the URL and it work? > > > > PS: I will keep an eye on the token expiration. The Foreman page for the > > host highlights

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

2016-10-12 Thread Andrew Blatt
Yes, facts still exist until I delete the entry from discovery.. Will create a feature ticket. thanks. On Wed, Oct 12, 2016 at 10:57 AM, Lukas Zapletal wrote: > > Hi, I came across an issue when someone accidentally deleted the > > tftp/macfile and rebooted a server into

Re: [foreman-users] API to Get Hosts with "configuration_status_label=Active"

2016-10-12 Thread 'Jason B. Nance' via Foreman users
Hi Vishal, > I want an API query which returns hosts with > "configuration_status_label=Active" I believe the key is 'host.configuration_status_label' (vs just 'configuration_status_label'), but I don't know if this is something that the search API can filter on or not. Regards, j

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

2016-10-12 Thread Mike Wilson
> > On Wednesday, October 12, 2016 at 11:00:17 AM UTC-5, Greg Sutcliffe wrote: > > > > It's interesting that you can get it via telnet - that implies the proxy > > side is OK. If you tail the Foreman logs, do you see anything there when > > the host requests kickstart? You may need to enable

[foreman-users] API to Get Hosts with "configuration_status_label=Active"

2016-10-12 Thread Vishal Sarin
Hi All, I want an API query which returns hosts with "configuration_status_label=Active" I am aware of the these APIs but not sure how can I add that query. Can someone please help me here? APIs I know of "hosts": { "List all hosts": "/api/hosts", "Show a host":

[foreman-users] Re: foreman-ansible use cases review

2016-10-12 Thread Danny Kimsey
I recall testing it specifically with Katello and there were some bits that were painful. In particular I believe it [plugin's reporting] was /very/ slow. Definitely something I'll be looking into in the future and I'll update you if I have anything useful. -- You received this message