Displaying 20 results from an estimated 23 matches for "hostgroups".
Did you mean:
hostgroup
2011 Nov 20
2
Foreman API, problem when creating hostgroups
I am trying to create a hostgroup using the Foreman API
(foreman-0.4-0.1rc1.noarch):
Using perl v.5.14.2, REST::Client et. al., ending up with sending:
POST /hostgroups
{"name":"api-created-
hostgroup","architecture_id":"","medium_id":"","environment_id":"","operatingsystem_id":"","ptable_id":"","puppetmaster":"puppet.dev.somewhe...
2013 Feb 14
0
Really need some help:: Weird Issue with external data look up in puppet 2.6.11
Running puppet 2.6.11 opensource on Red Hat 5.6 client.
I cannot explain this logically but I have a directory structure like so:
/etc/puppet/manifests/hiera/hostgroups/
with directories for each of my application areas like so:
*clickz core devel dns icross iswap itch puppet test ubuntu*
*What is weird is that if I put anything under the directory named "core",
the ext lookup works fine*, but if I move it to another directory or move
the...
2011 Oct 11
1
recursive finds
...oreman'' which is an adjunct to puppet.
Essentially, there is a Hosts class which belongs_to Hostgroup and Hostgroup class has a column called ''ancestry'' which is actually a Hostgroup (probably what is referred to as STI but I am not sure) and thus within Foreman, nesting Hostgroups is not uncommon.
Thus I could have a Host that is called "ServerA", that belongs to "WebServer" Hostgroup which has an ancestry (Hostgroup) called "Base" and for me to find out all of the puppetclasses that host "ServerA" belongs to, I would have to get a li...
2012 Oct 26
2
Using regex to match hostnames in hiera
...my existing extlookup configuration from site.pp:
$hostgroup = regsubst($hostname, ''-*\d+$'', '''')
$extlookup_datadir = "/etc/puppet/environments/${environment}/manifests/extdata"
$extlookup_precedence = [ ''hostnames/%{fqdn}'', ''hostgroups/%{hostgroup}'', ''common'' ]
This layout is quite beautiful, as it has three possible matching scenarios.
1. A CSV file for a specific hostname exists. Example: hostnames/web1.mydomain.com.csv applies to a single host - web1.mydomain.com.
2. A CSV file for a regular expre...
2011 Mar 11
9
Why is it so hard to make a sane nagios server config?
...service by a nagios server, without
needless repetition.
Let me explain how my non-automated nagios3 server is configured:
Each service is declared once per type (or type+role, but there
are very few types distinguished by role, so we''ll ignore that
for now). Services are members of hostgroups and servicegroups,
and hosts join hostgroups in order to activate monitoring.
Servicegroups are mostly used for sorting in the Web UI.
Now let''s look at how Puppet "wants" to configure Nagios:
Each host exports a unique service for each of the checks it
should be subject to...
2008 Nov 14
0
Why no hostgroups parameter for nagios_host types?
Hi, so I''m trying to use the built in nagios_host type and there
appears to be one huge glaring hole - the lack of a hostgroups
parameter. And before anyone asks why I can''t use the
nagios_hostgroup type, if someone can tell me how I can collect
members without having to manage the hostgroup members manually, that
would be fantastic.
There''s a servicegroups parameter for services, how has hostgroups
been...
2012 Jul 17
2
puppet host tagging
Hi all .
i am running puppet version 2.6.16 and foreman Version 0.4.2 .
my question is as follows .
i would like to know if there is a way to tag server with a group tagging .
for example .
let say i am running apache with a unique configuration and network
architecture and want to tag in with "tag1"
and a i have few more apache installation with the a new unique
configuration and
2012 Jun 12
1
Nagios hostgroup collation
Hi everyone,
I am reconsidering how I am using the Puppet nagios functionality, at
the moment I am creating one service for each check on each host. A
lot of them are identical, and would be better tied to hostgroups to
simplify my config. Namely, I have about 5,000 checks in there now
which will go up to about 20K over the next month, and it''s taking
about 5-10 minutes for a Puppet agent run on the nagios server now.
I''ve tried running through the spaceship operator to collect hostgroup
membe...
2011 Nov 18
0
Setting nagios hostgroups based on included classes
I''m trying to generate (and manage) nagios configuration based on what classes have been included by nodes. I''ve seen the example at http://docs.puppetlabs.com/guides/exported_resources.html, and I''m doing that now. However, it has some problems:
- puppet runs are very slow on the nagios node
- when I want to change the service configuration in nagios, I have to wait
2012 Jan 09
0
node parameters
I''ve been using foreman as an ENC and assigning node parameters for some time and it was clearly working but it apparently broke somewhere along the way and I can''t tell why.
Here''s part of the modules/sudoers/manifests/sudoers_hostgroup.pp
class sudoers::hostgroup {
case hostgroup {
default: {
file{"/etc/sudoers.d/admins_web":
ensure
2012 Feb 06
3
Passing class parameters to hiera
...Error 400 on
SERVER: Invalid tag "sudo(''webapp'')" at /etc/puppet/manifests/site.pp:
19 on node
cat /etc/puppet/manifests/site.pp ( portion of file )
===================================
node default {
hiera_include( "node_classes" ) # Maintained in hostgroups/
<hostgroup>/<site>/<hostname>.yaml
}
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsub...
2020 Jan 30
3
SSH certificates - restricting to host groups
On 30/01/2020 12:53, Michael Str?der wrote:
> On 1/30/20 1:27 PM, Brian Candler wrote:
>> I am trying to work out the best way to issue SSH certificates in such
>> way that they only allow access to specific usernames*and* only to
>> specific groups of host.
> I also thought about this for a while. The only idea I came up with is
> to have separate CAs used as trust
2013 Aug 07
3
Nagios XI + Puppet?
Hi All,
I currently make use of Icinga (nagios fork) + Puppet for fully automated
monitoring. It''s worked great up to this point. I''ve recently been asked to
integrate fine grained notifications support into icinga. I''m not entirely
sure puppet manifests are the right place to manage contacts, contact
groups, and their use within host and service definitions for
2010 Dec 20
2
foreman issue
Hello!
I try to use foreman. It''s successfuly import current nodes from
puppet storeconfig. Nodes hostname stored in short form, without
domain.
After that, i run puppet on newly created additional 5 nodes. They
shows in foreman with full fqdn. Os, environment, architecture for
this nodes not shown.
How can i fix this issue?
--
You received this message because you are subscribed to
2012 Dec 21
1
Hiera and 'clientcert' fact not working :(
Morning All
I''m trying to use Hiera with Puppet 3.0 to streamline some of my module
configuration...
However I''m having issues using the ''*%{::clientcert}*'' variable as part of
the hierarchy...
Currently, my *hiera.yaml* file looks like:
---
:backends:
- yaml
- json
:yaml:
:datadir: /etc/puppet/hieradata
:json:
:datadir: /etc/puppet/hieradata
2020 Jan 30
5
SSH certificates - restricting to host groups
Hello,
I am trying to work out the best way to issue SSH certificates in such
way that they only allow access to specific usernames *and* only to
specific groups of host.
As a concrete example: I want Alice to be able to login as "alice" and
"www" to machines in group "webserver" (only). Also, I want Bob to be
able to login as "bob" and
2013 Jan 07
3
Error: Could not retrieve catalog from remote server: execution expired
Hi everyone,
I recently ran into an issue where my puppetmaster can''t run puppet on
itself. It errors out with the following:
Error: Could not retrieve catalog from remote server: execution expired
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I''m running Puppet 3 with passanger and puppetdb (hsql). I''ve tried
restarting
2020 Jan 30
6
SSH certificates - restricting to host groups
On 30/01/2020 15:02, Christian, Mark wrote:
> On Thu, 2020-01-30 at 12:27 +0000, Brian Candler wrote:
>> As a concrete example: I want Alice to be able to login as "alice"
>> and
>> "www" to machines in group "webserver" (only). Also, I want Bob to
>> be
>> able to login as "bob" and "www" to machines in group
2012 Jun 18
8
Conditional with variable from facter
Hi.
I have the following facts available:
# facter | grep oper
operatingsystem => CentOS
operatingsystemrelease => 6.2
Now, if I wish to use conditionals on these facts, I have to do it like
this:
case $operatingsystem {}
case $::operatingsystemrelease {}
I''m puzzled as to why can''t I just use $operatingsystemrelease, and what
do these two semicolons mean?
Thank
2012 Nov 01
2
Does anyone know how to evaluate a node hostname in nodes.pp file?
Does any one know how to evaluate a node hostname in the nodes.pp file?
for example something like this..
node ''node1.com'', ''node2.com'', ''node3.com'' {
case node.name {
''node1.com'' : { include solaris }
''node2.com'' : { include redhat }
''node3.com'' : { include aix