Displaying 20 results from an estimated 30000 matches similar to: "Can an ENC see the incoming environment value or other agent options? 3.0.1"
2013 Jun 19
0
How can an ENC get the --environment value specified on a puppet agent commandline?
Is there any way to pass puppet run details to an ENC. Most importantly I
want to know the Environment value the puppet Agent is asking for. More
generally is it possible to query the puppet configuration values?
One thought I had is to turn the puppet config into FACTS. Then the ENC can
get the latest values from either Inventory Services or Foreman. But off
hand I don''t know how
2013 Sep 18
1
ENC paramater interpolation in ENC, and inline templates
I''m in the process of rolling out a new homegrown ENC (we''ve decided on
using an ENC over hiera; I know it''s not the way a lot of you are going,
but it''s right for us) and am running into some issues with variable
interpolation in ENC data.
To give a concrete example, I''m using modules to configure puppetdb,
puppet master, and puppet clients. So,
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
I''m having some trouble with getting an ENC to work alongside site.pp:
Even with a ''default'' node definition, and an ENC that only returns 0,
regardless of input, consistently results in a ''cannot find node'' error.
I''m wondering what I''ve missed here.
I''ve tried to reduce everything to a ''base case'': and
2013 Oct 31
1
Undo changes from removed class (ENC)
Hey guys,
i hope someone has an idea for me. At this time im using Puppet Dashboard
as enc for a masterless puppet infrastructure.No im searching for a best
practise to undo the changes from a removed class.
Example: In the enc I´ve added the class auth::test to a node. The class
will be loaded on the next puppet apply, works fine. But now if i remove
the class from the node in the enc, how
2013 Dec 02
1
Class parameter flexibility with ENC, hiera or both
Dear puppetteers,
I am having a philosophical question about parametrized classes.
When building modules, one wants to be as flexible as possible, to try
to target as many puppet flavors as possible. This is our target:
- Foreman users, using foreman as an ENC with smart variables (or
potentially any other ENC, but I would say this is the most widespread one).
- Pure Puppet''s site.pp
2013 Oct 30
4
moving to ENC - how to get all current classes and params
I''m looking to use an external node classifier (ENC) in our environment.
What''s the easiest way to programmatically get currently applied classes
(and class parameters) for all hosts, with the goal of dumping it into a
database for later retrieval by the ENC script? Nodes are currently
classified via site.pp.
thanks
--
You received this message because you are subscribed
2013 Mar 08
2
multiple pamameter values in puppet dashboard ENC
Is there a way to use send multiple parameter values using puppet dashboard
ENC?
For example,
nameserver = 10.0.0.1, 10.0.0.2
or perhaps
nameserver = [''10.0.0.1'',''10.0.0.2''}
then the template erb file can loop through each of the nameserver values
to set up mulitple nameservers in resolve.conf?
Thanks - Oli
--
You received this message because you are
2011 Jun 22
2
environment ENC vs cmdline
Hi all,
I am using puppet with an ENC script. In this scripts YAML output the
environment (generally "production") is set.
For testing purposes I would like to start puppet runs from the
cmdline of a managed host like:
$ puppet agent --onetime --no-daemonize --verbose --no-splay
--environment development
The problem is the --environment Parameter is not being used if an
environment
2013 Sep 09
7
Puppet calls the ENC twice for some nodes.
Hi everyone,
I have an issue setting up Puppet with an ENC.
For some nodes, puppet calls my ENC twice with a 2 sec interval.
All my agents share the same configuration file.
Considering this very basic ENC :
#!/bin/bash
> nodeName=$1
> echo `date` $nodeName >> /tmp/encCalls
> echo "---
> classes:
> testClass:"
Here is the content of /tmp/encCalls after a
2013 Mar 26
5
Running ENC alongside site.pp (node defn)
Hello,
Is it possible to configure an ENC to provide class definition to a number
of nodes at the same time where a few other nodes are controlled in the
site.pp by node ''FQDN'' {blah} for the same puppetmaster ?
I am wondering once parameters are set for the master to look for an ENC
based definitions, will it conflict with the site.pp node definitions ?
For example these
2011 Sep 23
3
ldap ENC extension to use environment parent node
Hi,
We currently use ldap ENC to set server role 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
2014 Jan 04
0
The Future - ENCs vs Hiera?
After digressing into this discussion on #puppet last night, I was
wondering what the community feelings are on ENCs vs Hiera...
I know that Dashboard/Console still exists, but have heard rumors (for
years) of it being either replaced by something else, or totally
rewritten. Then there's Foreman, and a bunch of us with homegrown ENCs.
On the other hand, it seems that the bleeding edge of the
2013 Aug 27
7
The Foreman: Query facts from ENC PuppetDB?
I''ve been using PuppetDB as an ENC for a while, but I haven''t really
utilized it for stored configs or anything. I was mostly interested in
replacing Dashboard''s reporting capabilities, but PuppetDB doesn''t yet do
anything (that I can see) with reports. So I''m currently looking into
setting up a separate Foreman server.
I saw the script mentioned
2013 Feb 20
0
Help needed in setting up a simple ENC
puppet maser conf:
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
[master]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
user = root
group = root
fileserverconfig = /etc/puppet/fileserver.conf
reportdir = /home/logs/puppet/reports
masterhttplog = /home/logs/puppet/masterhttp.log
masterlog =
2020 Apr 15
0
Re: Can't start vm with enc backing files, No secret with id 'sec0' ?
On Wed, Apr 15, 2020 at 10:53:05 +0800, 18781374080 wrote:
>
>
>
> Hey, guys
>
> I've been working on whether libvirt supports encrypted snapshots,Here are my versions of libvirt and qemu
>
> [root@xx ~]# libvirtd -V
>
> libvirtd (libvirt) 4.5.0
This is too-old encrypted backing files work starting from libvirt-5.10
(but I strongly suggest using at least
2013 Apr 13
6
facter doesn't load from /ect/facter/facts.d
I''m trying to load custom facts via /etc/facter/facts.d/* according to
instructions on
http://docs.puppetlabs.com/guides/custom_facts.html#structured-data-facts
I must have missed a setting somewhere because I get nothing. The first
clue may be that /etc/facter didn''t exist. I had to create it manually.
Is there a setting or search path I need to create?
Details:
puppet
2013 May 02
10
What do YOU do to catch undefined variables
I''m still a puppet newbie and these days I''m struggling with undefined
variables. At least once a week I hit an error message like this:
Error: Failed to apply catalog: '''' is not qualified and no path was
specified. Please qualify the command or specify a path.
IMO, the core issue is that Puppet has no mechanism for reporting read
attempts on
2012 Jun 26
0
Request for Feedback - What do you want in an ENC
Help me produce the best ENC service/api possible by giving me your user
stories, feature requests, and anything that would make a *new* ENC
awesome. Don''t worry about justifying your feature or user story, I want
all ideas, even crazy ones.
*What am I building?*
Right now my focus is on building the best ENC service/api possible. This
will be a combination of a new data and
2013 Aug 22
4
Could not parse for environment production: Cannot assign to variables in other namespaces
We''re trying to set a role variable in one of our role classes i.e.
class role::nameserver {
$::role = ''nameserver''
include profile::baseline
}
however we get the following error
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not parse for environment production: Cannot assign to variables in
other namespaces
We do not get
2012 Aug 05
1
Find out what "native.enc" corresponds to
Hi!
I'm using R2HTML in my RcmdrPlugin.temis package to output localized
strings to a HTML file. Thus, I insert a simple header at the top of the
file to specify what encoding is used; if I don't do that, Web browsers
assume it is latin1, which is not always true.
My problem is, I could not find a way to detect what encoding is used by
R2HTML in the most general case. R2HTML simply calls