On 28/04/18 13:21, du wrote:
Thanks all for the responses
I realise that the global option is no longer there and I am trying to
set v5 up so that I can get the similar behaviour.
On Friday, April 27, 2018 at 6:12:32 PM UTC+1, Henrik Lindberg wrote:
Depends on what you mean. The '
On 30/04/18 15:18, jcbollinger wrote:
On Saturday, April 28, 2018 at 7:29:29 AM UTC-5, Henrik Lindberg wrote:
On 28/04/18 13:21, du wrote:
> Thanks all for the responses
>
> I realise that the global option is no longer there and I am
trying to
> set v
On 01/05/18 17:00, jcbollinger wrote:
CORRECTION:
On Tuesday, May 1, 2018 at 9:52:31 AM UTC-5, jcbollinger wrote:
|
$hash_merge_behavior =lookup(':merge_behavior',String,'unique','hash')
|
... but of course, I meant
|$hash_merge_behavior = lookup(':merge_behavior',String,'f
On 2015-27-02 8:59, Alex Bogatu wrote:
Hello!
I spent the last couple of days trying to find a good way to search
facts specific to some node based on ragex. For example, in my puppet
manifest i need a way to check if there are facts whose names (not
values) match a specific regex. Is there anyo
On 2015-25-02 15:42, Fran Rodríguez wrote:
Hi there,
Some information is missing, sorry for that, this is the correct yaml:
|
nodes:
host1:
ip:xxx.xxx.xxx
cdir:bbb.bbb.bbb
interface:aaa
host2:
ip:yyy.yyy.yyy
cdir:bbb.bbb.bbb
interface:aaa
|
This yaml is decl
On 2015-28-02 19:27, Tom Limoncelli wrote:
I want to copy a hash to a variable but change some settings along the way.
For example:
I have $haproxy::params::global_options (which is a hash) and I want
to create a copy with some changes.
I tried this:
$global_options = $haproxy::params::glob
On 2015-03-03 23:18, Johan De Wit wrote:
Hi,
Playing with structured facts, I noticed some starnge behaviour.
If one need to access eg the fact $os['release']['full'], you get the
full hash when. You need to embed the fact like
${os['release']['full']} to get the exact value of the hash.
Norm
On 2015-05-03 12:02, James Green wrote:
We occasionally have an agent fail because of this. I'm told by others
running the agents more frequently that it appears to be at random and
not on anything particularly large.
If you are using webrick then it is most likely a concurrency problem
(more
On 2015-06-03 12:18, Gavin Williams wrote:
Morning all
I'm trying to add some validation to a new type I've written[1] for my
Puppet-glassfish module[2].
As part of the validation, I need to access the current catalog to make
sure that there's no another resources defined with the same /:name/
On 2015-02-03 15:30, Christian Hase wrote:
Hi folks,
i want to declare a resource default globally for all available classes.
I searched google and found this site:
Which version of puppet are you using?
Suspect that there is an issue with default values for meta parameters
(like provider).
On 2015-10-03 21:12, Guillermo Di Pasquale wrote:
Hello there!
I'm running an AdHoc puppet master in my desktop. The class of the
subject exists and is running correctly. For some reason
I intermittently receive the error in the subject. Any Ideas? It was
working fine until yesterday @ ~14:00hs
On 2015-20-03 21:45, Wil Cooley wrote:
PUP-3863 claims to be for future-parser with versions 3.7.3 & .4, but
I'm seeing it with both 2.7.25 and 3.7.4, both with hiera 1.3.4 (and,
for 2.7, hiera-puppet 1.0.0). Should I not be surprised? Is there
another ticket that I'm missing maybe?
The crux of
On 2015-23-03 19:50, Wil Cooley wrote:
On Mon, Mar 23, 2015 at 11:37 AM Wil Cooley wrote:
I see now too that I was not just being lazy; neither the
"Functions" section of the Language Guide nor the Custom Functions
Guide -- searching for "undef", "null", "empty" and "return" does
On 2015-12-04 10:14, Alessandro Franceschi wrote:
Hi all,
I've started to make some future parser versions of the most useful Tiny
Puppet defines:
https://github.com/example42/puppet-tp/commit/78222a8e12542d0203b2bc600b7984fbf555a488
the main advantages I've seen, for this use case, is the neater
On 2015-22-05 11:08, Gabriel Filion wrote:
On 20/05/15 09:04 AM, Björn wrote:
I tried it with regsubst, but without success:
|
<%ip_xforward.each do|name|-%><%="\t\tSetEnvIF X-Forwarded-For
^(regsubst(#{name}, '\.','\\.')) AllowIP\n"%><%end-%>
|
maybe you need to call the function outside of t
On 2015-23-05 24:39, Maura Dailey wrote:
Yes, I know this practice is discouraged in the documentation, but the
updated hiera 2.0 documentation also assures me that it's supported and
implies no changes to puppet 3.x manifests or templates are required.
This networking.erb file used to work in p
d be in the hiera documentation, then, as it still refers to
calling conventions that are apparently now completely outdated.
I've read your blog before but didn't pick up on the meaning of the
article about epp templates.
On Tuesday, May 26, 2015 at 8:16:23 PM UTC-4,
On 2015-28-05 1:52, Miguel Di Ciurcio Filho wrote:
On Wed, May 27, 2015 at 7:46 PM, Danny Roberts
wrote:
I have noticed now that when testing my auditd module
(https://github.com/kemra102/puppet-auditd) that in CentOS 7 (the only one
with a different $rules_file) having an even number of rules
On 2015-03-06 6:26, Jacob McCoy Wade wrote:
I am trying to find out how I can validate more than one type of data
structure for a given value in a manifest? In particular I would like
to be able to have either a string or a hash be a valid data structure.
Something like:
if ($myvar != false) {
v
On 2015-03-06 4:08, Pete Brown wrote:
Hi everyone,
I have been porting my puppet management module to puppet 4 and have
run across what seems to be a bug but I am not completely sure.
My module manages the hiera.yaml file so I need to be able to setup my
hierarchy from a hiera variable
When this
On 2015-03-06 19:32, Stefan Lasiewski wrote:
Kylo,
Can you make sure this information is added
to http://docs.puppetlabs.com/release_notes/#current-releases ? That
page still says that 3.7 and PE 3.7 are the current releases, which is a
bit confusing when Yum is telling me otherwise.
It shows
On 2015-11-06 19:24, Francois Lafont wrote:
Hi,
I'm learning Puppet 4 and especially the Puppet 4 API for custom
functions and "data binding" in modules. Currently, my sources are:
-
http://puppet-on-the-edge.blogspot.fr/2015/01/puppet-40-data-in-modules-and..html
-
http://puppet-on-the-edge.bl
On 2015-11-06 3:40, xin.mia...@gmail.com wrote:
I met the same problem with you now. Did you figure it out as last? Can
you give me some suggestion?
在 2013年2月27日星期三 UTC+8上午2:32:33,r.yeo写道:
Running the agent in debug mode on a some clients and I am seeing
long run times such as this, bu
On 2015-04-06 24:37, Stephen Gelman wrote:
Henrik,
Thanks for the reply. Now that it is established that this is a problem
is there a plan to re-add this functionality? Should I submit a ticket
for it?
Here is the ticket that was logged for this. A solution is in the works.
https://tickets.
On 2015-13-06 3:59, Henrik Lindberg wrote:
On 2015-04-06 24:37, Stephen Gelman wrote:
Henrik,
Thanks for the reply. Now that it is established that this is a problem
is there a plan to re-add this functionality? Should I submit a ticket
for it?
Here is the ticket that was logged for this
On 2015-16-06 4:52, Francois Lafont wrote:
Hi,
Sorry Henrik for my late answer.
On 12/06/2015 01:54, Henrik Lindberg wrote:
Cool, you are an early user, we expect to add more to this, and the road
may be a bit bumpy at the beginning :-)
Generally, I'm not a "early user"
On 2015-25-06 6:19, Francois Lafont wrote:
Hi,
Sorry again for my late answer.
On 17/06/2015 19:01, Henrik Lindberg wrote:
Functions in puppet are under /functions/ and not under
/lib/puppet/functions (where only ruby functions should live).
You do not have to change the bindings - it just
On 2015-25-06 5:37, david.lev...@netspot.com.au wrote:
Hey All,
We are looking at turning on strict variables, but want to do some
checking/due diligence before on an environment before making it
standard in prod.
https://docs.puppetlabs.com/references/3.stable/configuration.html#strictvariables
On 2015-30-07 16:36, R.I.Pienaar wrote:
hello,
I've done a few little things with the type system and really like what it
achieves,
was able to find a few bad data items in my hiera data and it saves on a lot of
the
super annoying validation function calls.
The syntax though is pretty difficu
On 2015-19-08 8:39, David Racodon wrote:
Hi John,
Thanks for your feedback. Actually, puppet-lint goes against this
recommendation because it flags quoted resource titles containing only a
variable as an issue: "string containing only a variable on line 8".
Which is a different problem, becau
On 2015-21-09 5:08, rhpuppetu...@gmail.com wrote:
We are using puppet 3.8. I'm currently testing our existing modules
compatibility with puppet 4 using parser = future option in puppet.conf.
When i run puppet agent against to this master server, it is showing one
error at a time. once i fix the e
On 2015-20-09 18:58, Frédéric Lespez wrote:
In a manifest, you can test the built-in variable $clientnoop to know if
puppet agent runs in noop mode or not.
See
https://docs.puppetlabs.com/puppet/latest/reference/lang_facts_and_builtin_vars.html#puppet-agent-facts
But inside a custom function, ho
On 2015-21-09 15:10, jcbollinger wrote:
On Friday, September 18, 2015 at 4:36:32 PM UTC-5, Joao Morais wrote:
Hello list. I am using the hiera() lookup function in order to query
some few attributes from a http backend. Something like this:
common.yaml
---
On 2015-21-09 22:34, Frédéric Lespez wrote:
In the 3.x function API use:
lookupvar('varname')
In the 4.x function API use:
closure_scope.lookupvar('varname')
Here is the specification for the 4.x API.
https://github.com/puppetlabs/puppet-specifications/blob/m
On 2015-23-09 8:48, Malintha Adikari wrote:
I am using hiera lookup as follows in my puppet template
|
<%-nodeinfo =scope.function_hiera(['nodes'])-%>
|
I have provided the ..yaml file which includes above 'nodes' object in
my hiera.yaml file ( that is inside nodesfile.yaml file which is
dynami
On 2015-24-09 7:13, Malintha Adikari wrote:
Hi Corey,
Thank you very much for your answer. May be this is what I am looking
for. I have few doubts about the way using this solution.
hiera('nodes', 'default_value', 'nodes/host1234')
*'nodes/host1234' - *Is this a yaml file name ? I know the yam
On 2015-01-10 7:24, Corey Osman wrote:
Last year I had an idea to create a tool to automate the buildout of puppet
unit tests by inspecting puppet code inside puppet manifests. Along with this
idea I also wanted to retrofit any puppet module with the latest best
practices, gems, rake commands
On 2015-05-10 8:51, Fabien Delpierre wrote:
Hey folks,
I have something like this in a manifest:
class foo(
$python_pips = {
pbr => { ensure => '1.3.0', install_args => ['-I'] },
linecache2 => { ensure => '1.0.0', install_args => ['-I'] },
elasticsearch => { ensure => '1.6.0'
sues that needs attention. When you do this, you are also
"future proofing" your logic as it will make it much easier to
transition to puppet 4.x.
Regards
- henrik
On Mon, Oct 5, 2015 at 6:48 PM, Henrik Lindberg
mailto:henrik.lindb...@cloudsmith.com>>
wrote:
On 2015-05-
t should not be
difficult to find me at the summit.
- henrik
Corey
On Friday, October 2, 2015 at 4:08:58 PM UTC-7, Henrik Lindberg wrote:
On 2015-01-10 7:24, Corey Osman wrote:
> Last year I had an idea to create a tool to automate the buildout
of puppet unit tests by inspecting
On 2015-10-10 4:47, Vikas Kumar wrote:
Hello Everyone,
I have a very basic code to stop and disable few services which I am
running for CentOS/RHEL 6/7 servers.
|
$stop_services =["ip6tables","iptables","auditd","cups"]
service {$stop_services
ensure=>stopped
enable =>false
}
|
Is it po
On 2015-16-11 13:44, Matt Shields wrote:
I'm having an issue with trying to use regex with hostnames that have a
hyphen in their name. How can I get this to work?
node /^(.*)-(db00)(.*)$/ {
include role::db
}
[root@ops-db001 ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving
On 2015-17-11 8:08, tobias.ko...@gmail.com wrote:
Hi,
I got a file resource
file {'/usr/java/jboss-as/server/somesoftware/deploy/jontram-ds.xml':
ensure => file,
owner => 'root',
group => 'root',
mode=> '0655',
content => template('somesoftware/jboss/jontram
On 2015-20-11 13:00, R.I.Pienaar wrote:
It works in the basic sense, but does not appear in my case to have
access to the node facts (ie. the node its being run on), particularly
fqdn etc, so the node specific tier isnt loaded.
There are a couple of bugs reported regarding --node and --facts
On 2015-21-11 8:22, R.I.Pienaar wrote:
- Original Message -
From: "Henrik Lindberg"
To: "puppet-users"
Sent: Saturday, November 21, 2015 4:08:00 PM
Subject: Re: [Puppet Users] Re: puppet lookup in an apply settings
On 2015-20-11 13:00, R.I.Pienaar wrote:
I
On 2015-25-11 1:35, Matthew Ceroni wrote:
I am having an issue accessing elements of a hash.
First, it is defined in hiera as such:
lb::rules:
VCC: rule1
GR: rule2
I retrieve the value using
$lb_rules = hiera('lb::rules')
Then I simply try to print out one of the values
ex:
noti
On 2015-30-11 16:09, jcbollinger wrote:
On Sunday, November 29, 2015 at 10:09:20 PM UTC-6, François Lafont wrote:
Hi,
I'm using Puppet 4 and I'm wondering if this (see below) is possible.
I have 2 Puppet modules, moda and modb. We can imagine that theses
modules
have just
On 2015-02-12 19:09, Sans wrote:
Hi all,
Is there way to use multiple Hiera **data-source yaml from a fixed
location like:/etc/puppet/sites/clients/ ?
No.
I see having something like this:
:hierarchy:
- "clients/*"
- default
doesn't really work for Hiera. The issues for me Ther
On 2015-02-12 6:21, Francois Lafont wrote:
Hi Henrik,
On 30/11/2015 19:12, Henrik Lindberg wrote:
In addition to writing the function, a module can opt in to using this data
functions by adding a configuration in its module metadata.
Err... can you explain a little? I don't see what
On 2015-04-12 6:58, Warron French wrote:
Hello, I am trying to learn how to write Puppet Modules. I have taken
the free training within the PuppetLabs Learning VM (which was very
informative, and self-paced) and wanted to use my Windows 7 machine
where I have installed Geppetto-4.3.1. I already
On 2015-08-12 1:46, Adrian Muraru wrote:
With the addition of subkeys lookup, e.g. hiera('a.b.c'), those yaml
configuration files already including top level keys with a "." in the
key name are rendered invalid.
Is there a way to disable subkey lookup support on demand for a given
backend?
Not
On 2015-09-12 10:19, Martin Alfke wrote:
Hi Lee,
On 08 Dec 2015, at 20:12, Lee Lowder wrote:
All,
I recently upgraded my Puppet (open source) install to Puppet 4.3.0.
I'm currently in the process of updating internal documentation and training
the rest of my teams, but I was wondering if an
On 2015-16-12 14:12, Alessandro Franceschi wrote:
Very interesting points, Henrik, could you elaborate a little about the
few ones I quote below:
On Wednesday, December 9, 2015 at 1:38:48 PM UTC+1, Henrik Lindberg wrote:
- use EPP instead of ERB
The main reason is that we in the long
On 2015-16-12 14:18, R.I.Pienaar wrote:
- Original Message -
From: "Henrik Lindberg"
- use type system
- use EPP instead of ERB
- transition from using hira functions to using lookup (and next step to
use 'data in environments and modules').
- namespace all
On 2015-16-12 14:58, R.I.Pienaar wrote:
- Original Message -
From: "Henrik Lindberg"
- use type system
- use EPP instead of ERB
- transition from using hira functions to using lookup (and next step to
use 'data in environments and modules').
- namespace all
On 2016-08-01 14:23, Tiago Delboni wrote:
Hi!
On Windows 7 we have Puppet 4.2.x and, in order to deal with accented
characters commonly found in registry key DisplayName, we use unicode
escape sequences in our manifests such as "\u00FA".
However, on Windows XP, we couldn't install Puppet 4.2.x
On 2016-29-01 21:44, Sans wrote:
Hi there,
Need to iterate over an arry, so was trying the Future Parser. Using a
very simple example:
|
$alpha =['a','b','c']
each($alpha)|String$value|{notice("Hi there, ${value}")}
|
but getting this error:
*Error: Could not retrieve catalog from remo
On 2016-01-02 23:00, Sans wrote:
Thanks Henrik, for giving me the clue.
It was really silly: My PM is self-managed, i.e. the puppet-agent also
runs on the PM, which maintains the puppet.conf and it was overriding
the parser=future, every time I was restating Apache after adding that
bit manually
On 2016-15-02 12:12, Alessandro Franceschi wrote:
Hi all,
I've started with some excitement to play with functions written in
Puppet DSL, very simple things for the moment that do their work as
expected:
https://github.com/example42/puppet-tp/commit/d6973233bea27661fc91b475de16f3d0bbc9690c
still
On 2016-15-02 8:37, Denny Schierz wrote:
hi,
I try to get an if/case thing working, but I always get a syntax error.
We have something like that for an user:
modules/users/manifests/fbar.pp
class users::fbar (
$ensure = present,
$groups = [ 'develop' ]
) {
case $
On 18/02/16 02:10, warron.french wrote:
Can someone please clearly explain why/when to use:
puppet apply versus Puppet agent?
puppet agent makes requests to the master - the master compiles the catalog.
puppet apply produces the catalog locally (must have all the manifests
etc on the agent)
On 19/02/16 12:33, Michael Wörz wrote:
Hello,
given the following dict
storage: layout: ORA nfs: mounts: /home:
sharedfiler:/vol_MWO_shared/misc/os/home /oracle:
sharedfiler:/vol/mwo_shared_cdot/misc/db/oracle/oracle
i want to iterate over mounts
class sysctl::encmounts(){ each($::yaml['sto
On 23/02/16 19:24, Trevor Vaughan wrote:
Hi All,
I'm attempting (once again) to document all of my materials with Puppet
Strings as a collected reference for *all* of my utilized modules.
Right now, this is somewhere around 1058 Puppet and Ruby artifacts.
Unfortunately, at some point, the Stri
cd src/doc
git remote add doctest https://github.com/trevor-vaughan/simp-doc
git fetch --all
git checkout autodoc
bundle
rake docs:auto
Thanks,
Trevor
Please file a PDOC Jira ticket if you have not already (with the
information how to reproduce).
- henrik
On Tue, Feb 23, 2016 at 3:41 PM,
On 24/02/16 21:57, RG wrote:
I am using puppet 4.3 and it looks like the new function lookup provider
is not working, unless i am missing something.
I am working from this:
https://docs.puppetlabs.com/puppet/latest/reference/lookup_quick_module.html
I am just testing with this simple example.
%
On 25/02/16 22:56, Tim Skirvin wrote:
Summary: using the word 'export' as a definition in a parameter
seems to have stopped working somewhere between puppet-agent 1.2.2 and
puppet-agent 1.3.5. Is this intentional/documented somewhere, or is it a
bug? Has anybody else seen this?
On 25/02/16 22:56, Tim Skirvin wrote:
Summary: using the word 'export' as a definition in a parameter
seems to have stopped working somewhere between puppet-agent 1.2.2 and
puppet-agent 1.3.5. Is this intentional/documented somewhere, or is it a
bug? Has anybody else seen this?
On 29/02/16 01:18, Robert Davidson wrote:
I think I figured it out.
For whatever reason, delete_undef_values wasn't doing what it said on the tin -
I'm not sure why,
> or if I should even report this as a bug to the puppet-keystone devs.
That looks like a valid bit
of puppetry to me, and I h
On 03/03/16 17:46, Trevor Vaughan wrote:
You can try using the hiera command line tool on your hiera.yaml file.
hiera -c '/path/to/hiera.yaml' your::variable.
If you are on a newer puppet version where the lookup command is
available you can use 'puppet lookup --explain your::variable'
as i
On 02/03/16 11:26, Thomas Bendler wrote:
Hi @all,
I write a module that create local users on my boxes. Now I try to make
that module fully dynamic so that the user informations are passed to
the module as parameter like this:
class { 'local_users':
user => [
{ 'john' => { name => 'John
On 04/03/16 16:41, Sans wrote:
I'm on v3.8.4
Can it be run from agent? If it does, then it gonna solve my another
issue as well.
Recent would be >= 4.2 wrt. lookup functionality.
Sorry.
- henrik
-San
On Thursday, March 3, 2016 at 6:10:33 PM UTC, Henrik Lindberg wrote:
If
up so that puppet apply works on the agent, then lookup
will also work there.
- henrik
On Friday, March 4, 2016 at 4:52:05 PM UTC, Henrik Lindberg wrote:
Recent would be >= 4.2 wrt. lookup functionality.
Sorry.
- henrik
--
You received this message because you are subscribed
On 08/03/16 15:15, Rudy Gevaert wrote:
Just wondering what others have done and what approaches they have
taken to solve this issue? Maybe there is some feature of git I am
not aware of where I can systematically pick what to merge and what
not (although if that was possible I
On 18/03/16 23:23, Jakov Sosic wrote:
On 03/18/2016 06:52 AM, Francois Lafont wrote:
In fact, it's currently impossible in hiera:
https://tickets.puppetlabs.com/browse/PUP-5990
According to the ticket, it should be solved in the next Puppet version,
ie Puppet 4.4.1.
Oh wow, it is addre
On 17/03/16 23:39, EmAr wrote:
Since updating to the latest version of puppetserver, puppet agent and
puppet db, I have a problem with hiera data arrays.
I have a webserver profile with this code :
[…]
apache::vhost { "${vhost_config[hostname]}:${vhost_config[port]}" :
[…]
serveralias
On 23/03/16 11:24, Martin Alfke wrote:
On 22 Mar 2016, at 22:53, Carthik Sharma wrote:
To answer the question in the subject, you're correct, as documented here for
Puppet 3.8
https://docs.puppetlabs.com/puppet/3.8/reference/environments_classic.html#allowed-names
Is this only for Puppet
On 23/03/16 12:37, Martin Alfke wrote:
On 23 Mar 2016, at 12:23, Henrik Lindberg
wrote:
On 23/03/16 11:24, Martin Alfke wrote:
On 22 Mar 2016, at 22:53, Carthik Sharma wrote:
To answer the question in the subject, you're correct, as documented here for
Puppet 3.8
On 23/03/16 21:56, Matt Zagrabelny wrote:
On Wed, Mar 23, 2016 at 3:04 PM, Hunter Haugen wrote:
Given the resource you want to apply this pattern to, it can be turned into
a one-liner with a collector:
file { '/tmp/something':
ensure => file,
}
File['/tmp/something'] ~> Service <| title ==
On 23/03/16 21:04, Hunter Haugen wrote:
Given the resource you want to apply this pattern to, it can be turned
into a one-liner with a collector:
file { '/tmp/something':
ensure => file,
}
File['/tmp/something'] ~> Service <| title == 'apache2' |>
This means that if there is a service with a
On 29/03/16 12:40, Sans wrote:
Hi Trevor,
I don't think "Templates" are technically executed on the Master -
that's for the client/agents. The asset(s) we define in the template has
to native to the agent. You can say everything gets complied on the
master. Correct me, if I'm wrong.
ERB (as w
On 30/03/16 12:51, 'Manuela Mueller' via Puppet Users wrote:
deftype_users_test::create { $user['name']:
$user here is probably an array and it expects the "key" to be numeric
Regards
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received
On 12/04/16 15:05, jcbollinger wrote:
Peeking to puppetdbquery as an alternative
I'm not quite seeing how puppetdbquery would help, but Felix's
suggestion to build a solution in the old-school way, based on
array-titled resource declarations, should work in any version of Puppet
from
On 13/04/16 03:31, Garrett Honeycutt wrote:
On 4/12/16 2:53 PM, Mike Reed wrote:
Hello all,
I've recently experienced some inconsistencies around referencing
Boolean values within a puppet manifest. We've written some custom
Boolean facts and we look to the true/false values within our manifes
On 09/05/18 13:36, Arnau wrote:
Hi all,
I have a hash of hashes in hiera:
cb_data_sync:
localdata:
peers: peer1 peer2
source: /data/1
target: /data/2
ssh_key:
key: XYZ
type: ssh-rsa
user: root
Then, in a main class, I call a define using the above d
On 2018-06-12 00:55, Tim Mooney wrote:
Hi All!
We've been long-time users of puppet (opensource). A lot of our
home-grown modules were written to use direct hiera() calls (and before
that extlookup()) for loading config. Because of prior limitations
with class parameters, we also mostly avoid
On 2018-06-13 08:19, Dirk Heinrichs wrote:
Hi,
is this possible? For example:
:hierarchy:
- "kernel/%{::kernel}/%{::kernelmajversion}"
- "kernel/%{::kernel}"
- common
yes
- henrik
Thanks...
Dirk
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge
On 2018-06-12 22:14, Tim Mooney wrote:
In regard to: Re: [Puppet Users] class parameters that depend on other...:
On 2018-06-12 00:55, Tim Mooney wrote:
[snip some of my original context]
Here's an example:
modules/sandbox/manifests/init.pp:
#
# This module exists only to serve as a sandbo
On 2018-07-09 18:12, Suresh P wrote:
Hi,
I used following code in puppet3.8.x, it worked well.
After i migrated to Puppet5 it throws error.
$header="LD_LIBRARY_PATH=$destdir:\$LD_LIBRARY_PATH\n\nexport
LD_LIBRARY_PATH\n"
$content = inline_template('<%= header+"\n"+ports.map {|port|
You w
On 2018-07-09 19:06, Henrik Lindberg wrote:
On 2018-07-09 18:12, Suresh P wrote:
Hi,
I used following code in puppet3.8.x, it worked well.
After i migrated to Puppet5 it throws error.
$header="LD_LIBRARY_PATH=$destdir:\$LD_LIBRARY_PATH\n\nexport
LD_LIBRARY_PATH\n"
On 2018-07-09 18:12, Suresh P wrote:
Hi,
I used following code in puppet3.8.x, it worked well.
After i migrated to Puppet5 it throws error.
$header="LD_LIBRARY_PATH=$destdir:\$LD_LIBRARY_PATH\n\nexport
LD_LIBRARY_PATH\n"
$content = inline_template('<%= header+"\n"+ports.map {|port|
memcache
On 2018-07-13 19:39, Helmut Schneider wrote:
Christopher Wood wrote:
Nice catch, wouldn't have figured on that.
You gave the hint with "if value.is_a? String" ;)
And now? Is that expected? What can I do, "if
@openvpnConf[parameter].is_a? Symbol"?! And what is a symbol and how do
I check if i
On 2018-07-14 13:47, Johan Fleury wrote:
I meant bool2str, sorry.
https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/README.md#bool2str
Helmut, before digging yourself deeper into problems by using work
around on top of problems - do consider using EPP since it protects you
from th
On 2018-07-15 15:45, Helmut Schneider wrote:
Henrik Lindberg wrote:
On 2018-07-14 13:47, Johan Fleury wrote:
I meant bool2str, sorry.
https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/README.md#bool2str
Helmut, before digging yourself deeper into problems by using work
around
On 2018-07-16 10:21, Helmut Schneider wrote:
Henrik Lindberg wrote:
On 2018-07-15 15:45, Helmut Schneider wrote:
<%- | Hash $openvpnConf,
It is important that there is no text before the opening <%-
Not sure if you have a blank line there. If so you will get a syntax
error because
On 2018-07-19 17:15, Helmut Schneider wrote:
Hi,
---
profiles:
vpn:
openvpn:
defaults:
client:
dev: 'tun'
proto: 'udp'
resolv-retry: 'infinite'
nobind:
user: 'nobody'
On 2018-07-24 03:17, Nick Hasser wrote:
I am required to configure FreeRADIUS with a white list of authorized
MACs that are allowed on my network. I currently have a module that uses
a file resource to drop the authorized_macs file selected by hostname of
the server from my modules file directo
On 2018-08-16 14:47, Helmut Schneider wrote:
Helmut Schneider wrote:
common.yaml:
variable:
baculaWorkingDirectory: '/var/lib/bacula'
variables:
baculaWorkingDirectory: '/var/lib/bacula'
config.pp:
[...]
$variables = lookup({
"name" => "variables",
"merge" => {
"stra
On 2018-08-16 15:51, Helmut Schneider wrote:
Henrik Lindberg wrote:
If your data looks like this:
variables:
baculaWorkingDirectory: '/var/lib/bacula'
Then you do not have a variables.debug key - you can lookup
variables, or variables.baculaWorkingDirectory
c
On 2018-08-29 15:11, jcbollinger wrote:
On Tuesday, August 28, 2018 at 12:13:15 PM UTC-5, kris.b...@puppet.com
wrote:
Hi Jon,
As you have read, this is part of our work implementing errors to
enforce the standards set down in PUP-1434. In particular, your
example '$module_
On 2018-08-31 18:28, R.I.Pienaar wrote:
On Fri, 31 Aug 2018, at 17:41, Chadwick Banning wrote:
So for this example, there are some sort of limitations as to what the
'vault_lookup' function is able to do internally? I had just assumed that
as long as the function returned a simple value, what
301 - 400 of 469 matches
Mail list logo