search for: puppetvar

Displaying 5 results from an estimated 5 matches for "puppetvar".

Did you mean: puppetca
2013 Mar 28
4
Custom fact or function ? looking for opinion
Hi, I''m in the progress of writing custom facts to retrieve our network configuration for the nodes from the openldap ENC. Now, since the puppetmaster has also access to the ldap server, I''m thinking to move the custom facts to a function, so it runs on the puppetmaster only, end not on every node. I just wanted to here some other opinions about this issue. Thx Johan
2010 Jun 07
1
undefined method 'to_sym' for ["<var>", "<var">]:Array
...here IS defined as an ObjectClass puppetClient, but the puppet schema (in my case) only defines puppetclass, puppetbase, and parentnode. This looks to me like a rails error, but I don''t find any relevant issues. I DID find a reference to puppetLabs article that says that by default, the puppetVar attribute does not support arrays, but it looks like the version of Ruby I am running (1.8.5) already has the fixed code. I can workaround this by removing the multiple environment attributes, but that seems like a bandaid at best and causes me some extra amount of work. I figured I would start h...
2011 Sep 23
3
ldap ENC extension to use environment parent node
...variables and extlookup to set domain or environment variables. I have a suggestion regarding ldap use as an ENC - if a node within ldap has the environment attribute set then it should inherit/mixin (if available) from a node named after it''s environment. It could be populated with only puppetVar type attributes so that any environment wide variables could be set within the environment node and all nodes in the environment (despite having different parents) would inherit/mixin the variables. It could perhaps be further extended so that a domain or any other grouping of nodes (if in existen...
2012 Aug 23
1
Puppet Agent VS User
...t/state/last_run_summary.yaml lastrunreport = /var/lib/puppet/state/last_run_report.yaml ldapattrs = all ldapbase = "" ldapclassattrs = puppetclass ldapnodes = false ldapparentattr = parentnode ldappassword = "" ldapport = 389 ldapserver = ldap ldapssl = false ldapstackedattrs = puppetvar ldapstring = (&(objectclass=puppetClient)(cn=%s)) ldaptls = false ldapuser = "" lexical = false libdir = /var/lib/puppet/lib listen = false localcacert = /var/lib/puppet/ssl/certs/ca.pem localconfig = /var/lib/puppet/state/localconfig logdir = /var/log/puppet manage_internal_file_perm...
2011 Nov 04
1
Storeconfigs and nagios and foreman
...value is ''$manifestdir/site.pp''. manifest = /etc/puppet/manifests/site.pp # The LDAP attributes that should be stacked to arrays by adding # the values in all hierarchy elements of the tree. Values # should be comma-separated. # The default value is ''puppetvar''. # ldapstackedattrs = puppetvar # The user to use to connect to LDAP. Must be specified as a # full DN. # The default value is ''''. # ldapuser = # Whether TLS should be used when searching for nodes. # Defaults to false because TLS usually r...