connections to the puppetmaster. So basically
nobody would know about the total number of hosts which might be keeping in
sync with your site manifest ;)
- Jan
signature.asc
Description: OpenPGP digital signature
aster to
external transport networks. This might reveal interesting information on
your environment to third party (like the number of connections, the sync
interval but even the number of hosts and ip addresses involved [...]).
Jan
signature.asc
Description: OpenPGP digital signature
ond
%{HTTP_HOST} #{val}"}.join(" [OR]\n ") %>
<% vhostaliases_new.each do |Alias| %><%= Alias %><% end %>
RewriteRule ^/(.*) http://<%= servername %>/$1 [L,R=301]
<% end -%>
>8---
Thanks :)
- Jan
signature.asc
Description: OpenPGP digital signature
t onto the stage problem. As I'm new to puppet, I would also
appreciate criticism about the manifest/module structure - maybe I'm
doing things too complicated?
Best regards,
Jan
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
On Jan 25, 12:13 pm, Felix Frank
wrote:
> On 01/25/2011 11:54 AM, Jan wrote:
>
>
>
> > Hi all,
>
> > even though I've read some postings about run stages, I'm still having
> > trouble using them correctly.
>
> > First of all: Is it possible to
On 25 Jan., 15:21, Felix Frank
wrote:
> > I am now trying without any module to make debugging easier. I've got
> > the following:
> > class afs {
> > service { "openafs-client":
> > enable => true,
> > ensure =>
ource => "/tmp/ruby-shadow-$myrshadowversion.x86_64.rpm",
require =>
file["/tmp/ruby-shadow-$myrshadowversion.x86_64.rpm"];
}
service {
"puppet":
enable => true,
ensure => running,
restart => true,
name => "puppet";
}
}
}
}
itoring agent at a
later time. The rest of the manifest seems to work just fine also with
this error message coming up.
> 4) I assume you're getting one of those errors for every package. Is
> that true?
Yes, that's correct.
Jan
--
You received this message because you are sub
Hi *,
no more ideas? :)
Jan
On 02/11/2011 10:24 PM, Jan wrote:
> Hi Patrick,
>
> On 02/11/2011 07:40 PM, Patrick wrote:
>
> [...]
>
>> 1) So, just some random advice. If you're using the same server to
>> serve files and catalogs, you can skip listing t
ready defined in file
/etc/puppet/manifests/node.pp at line 3; cannot redefine at
/etc/puppet/manifests/node.pp:4 on node puppet.domain.tld
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
---------
n searching for? Just have a look at it to get a
clue about how it works.
Hope this helps! :)
Jan
--
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 th
Hi *,
On 02/16/2011 11:19 AM, Jan wrote:
> I would like to create a pool of ssh pubkeys. The major goal is to be
> able to assign a single key to multiple users on a given node/system.
so here are some details on what I'm t
bout virtual resources within the documentation under
http://docs.puppetlabs.com/guides/virtual_resources.html but obviously I
don't know how to handle them.
I've just started learning how to use puppet a few days ago, so it would
be great if you could give me some additional
On 02/17/2011 12:13 PM, Felix Frank wrote:
[...]
>> When using the realize statement I don't know which naming attribute to
>> use? The "key =>" contains a template or even the PEM encoded key of
>> user "jim" but except it's resource name "jim@uniqe.email_for_$name"
>> there is no naming attribu
On 02/17/2011 01:14 PM, Jan wrote:
[...]
> I'm sorry for such confusion I've been causing right from the start. So
> I think that you've been right with your first thoughts because what I'm
> trying to achieve is exactly what you've mentioned earlier:
>
&g
t of code I got from the puppet style-guide:
http://docs.puppetlabs.com/guides/style_guide.html#class-inheritance
-> see the bluetooth class example
Any ideas? What am I missing?
Btw. I'm running a self-build version of puppet 2.6.4 without additional
patches ...
Many thanks
Jan
Hi guys,
I just try to cook up some ruby code to check for a files existence on the
puppetmaster. I tried to bake a custom function in order to be able to use
it in connection with an if statement in my manifests.
I've read the page about how to write custom functions ..
http://projects.puppetla
I was using the wrong path so the function seems to work as expected :)
On 04/19/2011 10:06 AM Jan wrote:
> Hi guys,
>
> I just try to cook up some ruby code to check for a files existence on the
> puppetmaster. I tried to bake a custom function in order to be able to use
> it in
Hi guys,
is there a simple way to fetch the domain name (e.g. test-domain.tld) from
a string variable (e.g. host-internal.test-domain.tld)?
Jan
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to pu
On 04/28/2011 10:58 AM Mohit Chawla wrote:
> On Thu, Apr 28, 2011 at 2:24 PM, Jan wrote:
>
>> is there a simple way to fetch the domain name (e.g. test-domain.tld) from
>> a string variable (e.g. host-internal.test-domain.tld)?
>>
>
> Directly use the doma
On 04/28/2011 10:01 PM Roberto Bouza wrote:
> That is the problem. :-)
>
> If its false/true I need to do stuff like
>
> if $enabled != undef {
> class { 'doit': enabled => $enabled } # This here will use true or
> false to delete or add files for example
> }
>
> But if it's undef I don't even
ing in the concepts?
Thanks,
Jan
--~--~-~--~~~---~--~~
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 em
Thank you, the request has been created:
http://projects.reductivelabs.com/issues/2611
On Sep 8, 7:56 am, Luke Kanies wrote:
> On Aug 20, 2009, at 1:25 AM, Jan wrote:
>
>
>
> > Hi,
>
> > I came across a use case where I would like to access a value of an
> > a
# sudo /etc/init.d/pupettmaster stop;
# sudo su -;
# puppetmasterd --config=/etc/puppet.conf;
# ps aux | grep 'puppet';
----8<
Cheers
- Jan
signature.asc
Description: OpenPGP digital signature
hi list,
first of all, i'm new to puppet, and i'm evaluating it right now since
a few days in my company ( internet, books, etc as sources ).
i've been using cfengine for a few years now, and trying to get into
puppet.
i'd install puppet 0.25, because i feel a need to use regular
expressions to i
hi list,
i'd guess the subject could cause some braindamage, i'm sorry for
that, i did not find a better description for my problem.
here my problem.
i do have the following list of variables to work with:
$service_listenif = "eth0" ## this is a variable that comes from the
node definition
$ipa
On 11 Aug., 17:10, Chad Huneycutt wrote:
> Try:
>
> $listenip = "${ipaddress}_${service_listenif}"
>
> - Chad
hey chad, thanks for your reply
your example above would give me
$listenip = "192.168.0.1_eth0"
but instead i need
$listenip = "%IP_OF_SOME_NETWORK_DEVICE%"
, where the "device" is d
On 12 Aug., 11:17, Thomas Bellman wrote:
> Jan Werner wrote:
> > eh. while writing the things above, i'd propably found a solution:
> > node definitions says: $listenif = eth0
>
> > now the "magic" class comes to it's action and has the following cod
Hi,
We have 18 Windows Server in the same environment. All Windows Server are
build with an individual Windows Image, we created before, which means,
that all Windows Machines have the same configuration except ip/mac address
and hostname.
17 of those Windows Server run Puppet within 120 second
Hello everyone.
I'm trying to install Puppet Enterprise for test purposes before my company
make a purchase of Puppet Enterprise.
There is a problem with installation (good start i guess :) ).
After Q&A from installator and packages installation I'm getting this
output:
## Setting up puppet mas
Hi everyone.
I've recently started testing puppet enteprise.
Puppet master is on RHEL 6.4, my node connected for test purposes is
Solaris 10u10.
Puppet master is 3.0.1, fresh installation.
Using "Advanced tasks" I'm trying to install PKG from CSW. I'm selecting
node for installation, in field f
ne using a nginx module in production and likes to give feedback on the
extensibility and user friendlyness of the existing modules?
Best regards
Jan
PS: My challenging blog post about the nginx modules is here
http://dracoblue.net/dev/i-do-not-like-your-nginx-puppet-modules/ - other
res
wo times to get the expected result.
I am sure that this is expected behavior of puppet. How do I handle such
case?
Regards
Jan
--
http://dracoblue.net
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this g
On 01/30/2012 05:30 AM, Jeff McCune wrote:
In the meantime, I document and leave it up to the end user to create
another class that composes modules together. With your example, I'd
do something like this as the end user. As the module author, I'd try
and write mysql and ldap as if the other di
On 02/07/2012 03:54 PM, jimbob palmer wrote:
# The right way
class foo::specific {
include 'foo::common'
# specific stuff
}
So can I be sure that the include will run first, before the "specific
stuff" here?
Kind of, but you need to change your thinking. The include does not
_run_ b
On 16. feb. 2012 00:34, Eric Shamow wrote:
In theory it should be easy to write something through the cloud
provisioning framework that takes even less time and is more flexible
than our tools, but it's a fairly straightforward task.
I've been thinking about doing exactly that but I'm a bit wo
On 02/16/2012 03:30 PM, jcbollinger wrote:
If the File resource behaved as documented then there would be no
uncertainty. With "recurse => true, links => manage, force => true"
the File resource would always manage a node's corresponding directory
tree into an exact match to the master's. W
On 02. mars 2012 14:15, Daysmen wrote:
Hi Folks
To begin with i am looking to deploy a completely new puppet config
based on the truth module
https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/modules/truth
Just a general comment of nodeless Puppet and the truth-enfor
On 15. mars 2012 22:06, Florian Koch wrote:
Hi Dennis,
i have found a better solution via create_resources (look at my reply to
Gery)
Not neccessarily better in my mind because ..
You should try something like this:
class tomcat::instance {
$instances = hiera('tomcat_instances')
puppetwinbuilder.zip .. I haven't done this
myself yet, someone else will most likely help out with more info.
Jan Ivar Beddari
--
http://www.uib.no/personer/Jan.Ivar.Beddari
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this gr
On 03/24/2012 10:58 AM, Fernandez Pablo wrote:
Hi,
That would define $primary_group as a variable, not as a fact. Indeed, what I
want to do is:
:backends: - puppet
:hierarchy: - %{primary_group}
:puppet:
:datasource: data
And that requires primary_group to be a fact.
No, that's not
On 28. mars 2012 05:27, Gino Lisignoli wrote:
I'm rather new to puppet and taking over an existing "work in progress"
installation of puppet.
The problem I have at the moment is that we have a mysql database that
contain some facts about our servers (what their ip address are supposed
to be, who
In a multi-tenant scenario (or easier even, in a scenario where all your
servers have a common root password) where would you place your source
of truth?
Don't know if you see this or care but still fired this off.
best,
Jan Ivar Beddari
Linux/Mac architect University of Bergen, Norway
--
h
message becomes a bit more broad. Might even be worth
starting a new thread.
To the OP, sorry for being such a thread crasher. As to your question I
think the answers you got are OK but hopefully you understand what
caveats there might be security-wise.
best,
Jan Ivar
--
http://www.uib.no
> and the template will include the zone delegation record. What I'm trying
> to figure out is how to generate the serial numbers.
I'd forego the MMDDxxx format and use either UNIX epoch time which
is auto-incrementing anyway, or store an integer counter (in a file) and
increment that each ti
refer. All the pieces and neccessary people
are right there, pull it together!
Jan Ivar Beddari
--
http://www.uib.no/personer/Jan.Ivar.Beddari
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-use
Is it possible to configure puppet to send a "diff" of old/new
files in the tagmail reports when it's changing files ?
Or has someone made a solution for creating such a report
against the clientbucket ?
-jf
--
You received this message because you are subscribed to the Google Groups
"Puppe
oo", "bar", "baz" ];
}
Solving the first problem made another one came up so now I'm searching a
way to declare the key-type in addition to the key. That's because not all
users might be using keys of type RSA only. Maybe somebody has another idea
on how to extend the above mentioned approach? :)
Many thanks
Jan
signature.asc
Description: OpenPGP digital signature
After upgradeing my staging environment to the 0.25.4-1 version
from EPEL, I'm getting the following errors from my RHEL4-clients:
Sat Mar 06 11:47:29 +0100 2010 //ntpd/File[/etc/ntp/keys] (err): Failed
to retrieve current state of resource: Could not retrieve file metadata for
puppet:/
On 2010-03-06, janfrode wrote:
>
> I'm also wondering if this could simply be caused by an overloaded
> puppetmaster, as it's only running a single puppetmaster-process... ?
> But that doesn't explain why I'm not seeing this problem on the 64-bit
> machines...
>
.. and after setting up apache to
I have this user and group that I need to realize:
@user { "policyd":
ensure => "present",
uid => "103",
gid => "103",
comment => "Postfix Policy Daemon",
home=> "/home/policyd",
e -a /etc/hosts
and read
http://docs.puppetlabs.com/guides/setting_up.html#configure-dns-optional
best,
Jan Ivar Beddari
--
http://www.uib.no/personer/Jan.Ivar.Beddari
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to thi
come to think of it, danes or swedes might enjoy this, too. As
long as they accept they have to speak veeery clearly:
http://www.youtube.com/watch?v=s-mOy8VUEBk
See you,
Jan Ivar
--
http://www.uib.no/personer/Jan.Ivar.Beddari
--
You received this message because you are subscribed to the G
it is called
ignoreschedules. Ignoreschedule must be called with a valid schedule name... .
Thanks for helping
Jan
__
Jan Doleschal
Landesamt für Geoinformation und Landentwicklung
Baden-Württemberg (LGL)
Abteilung 3
Hey,
we want to check a condition before executing some commands.
If a line is existing in a list of architectures, the command should not
run - and vice versa.
So we use grep and count the words (wc -l).
The expected behaviour: if the onlyif-command returns 0, execute. If not,
don't.
(accordin
Hi,
I am using winbind with "winbind enum groups = yes" on some of our servers.
When ensuring a user that is local (and also in AD, so it has a lot of
groups) the puppet run takes ages. Winbind process is taking a lot of cpu
and when I strace it AD groups are passing by.
This is the manifest:
Hello,
There are a few issues with your example that need to be fixed, to make it work.
As a start, you need to prefix certain keywords in /etc/hiera.yaml with a colon
(:). I have tested using this setup:
---
:backends:
- yaml
:hierarchy:
- node/%{::fqdn}
- "%{::environment}"
- global
João,
The default value is defined in data/common.yaml (as present), but depending on
the OS version, this may be overridden. See hiera.yaml for what files may be
consulted.
Note that this version of the ntp module requires at least Puppet version 4.7.0.
-Original message-
From:
Hello,
They are duplicate resources because Puppet (on the server) parses the
manifests and adds all resources found to a catalog that is sent to the client,
which uses this catalog to update the configuration.
The catalog cannot have duplicate resources.
I know of 3 basic methods to alter
onsole" is authorized for PE-console but for some reason is not
working.
How do I get my access-credentials right to make this work? Can anyone give
me a hint. I'm pretty new at this, so I'm a bit overwhelmed by all
config-stuff.
Greetings,
Henk-Jan
--
You received this message
ning: List nodes ..Failed
Warning: Server responded with a 303 status
Error: Could not: List nodes, got 303 expected 200
Op dinsdag 7 april 2015 19:40:01 UTC+2 schreef Henk-Jan Castermans:
>
> Hi,
> I'm trying to classify a new node using the commandline just as expl
Hello,
I'm trying to install a puppet agent on a server that only has IPv6 access. Is
there any mirror of yum.puppet.com that has IPv6 or are we waiting for the next
greatest thing to come after IPv6?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
e for
populating the NSS certificate database and also have it generate .pem files.
Will either of the first 2 options work? Or are OpenSSL certificates the only
external certificates that work with Puppet 4.x/5.x ??
Regards,
Bart-Jan Vrielink
--
You received this message because yo
Hello,
Normally you would place custom facts in the directory lib/facter of a module
(any module). When the setting pluginsync is true (and this is the default
value for quite a long time), on the next puppet run this fact will be synced
to the agent.
https://puppet.com/blog/introduction-p
Hello,
For rspec I have set the environment variable CI_SPEC_OPTIONS to '-r yarjuf -f
JUnit -o result.xml -f progress'. This uses the gem yarjuf to generate a Junit
results.xml file (which is saved as an artifact in Gitlab).
-Original message-
From: Luke Bigum
Sent: Friday 10th May
Hello,
Puppet master has been deprecated for a while and is removed from Puppet 6.
Instead of a puppet master, you should switch to using a puppetserver instead.
See https://puppet.com/docs/puppet/6.0/release_notes_puppet.html#webrick
-Original message-
From: samding dd
Sent: Tuesd
bably the repository does not
support it.
Is there any way to build to build puppetserver from the Github directly?
Thanks,
On Wednesday, 22 May 2019 03:25:32 UTC-4, Bart-Jan Vrielink wrote:
Hello,
Puppet master has been deprecated for a while and is removed from Puppet 6.
Instead of
Hello,
I'm unable to reproduce this behavior. To see about which mounts Puppet knows
about, use 'puppet resource mount' or 'puppet resource mount
/pub/fedora/site/candidates/30'
# puppet resource mount /mnt/home
mount { '/mnt/home':
ensure => 'mounted',
device => '/home',
dump =>
Hi,
I share your pain. Too much time I waste on figuring out what set of
dependencies will work. Something that may help is Voxpupuli's ra10ke gem
(https://github.com/voxpupuli/ra10ke). This adds a few helpful rake tasks to
work with dependencies.
https://voxpupuli.org/plugins/#r10k lists
Hello,
Looks like the concat module may do the job?
$my_template = '/my/config.file'
concat { $my_template:
}
concat::fragment { 'standard contents':
target => $my_template,
content => template('my.epp'),
}
And then in the Amavis profile class:
concat::fragment { 'extra spec
Hello,
I believe 'port' should be a hash that consist of 'port' and 'protocol'
parameters:
Example:
firewalld_port {'Open port 8080 in the public Zone':
ensure => 'present',
zone => 'public',
port => {
'port' => 8080,
Hello,
I cannot fully understand what you are trying to do, as I do not know what
$copyPrivateCommand is, but I would advice against using an exec for copying a
file, but just use a file resource instead:
file { "${letsencryptConfPath}/live/${letsencryptCommonName}/privkey.pem":
ensure => fil
Sent: Sunday 1st September 2019 16:52
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] change from 'notrun' to ['0'] failed
Bart-Jan Vrielink wrote:
> I cannot fully understand what you are trying to do, as I do not know
> what $copyPrivateCommand is,
Hello,
I'm equally confused. For almost all containers I'm used to, if the tag is just
a version number, to me it indicates "built the same way as latest, but a fixed
snapshot". If it is not built the same way as latest, I would expect the tag to
include a label for that. So puppet/puppetserv
Hello,
I doubt str2saltedsha512 can be used to generate encrypted passwords, as the
resulting string does not contain the id nor salt.
pw_hash should work, although in the brief test I just did, it looks like a
lower case 'sha-512' should be used.
I think you should debug this issue a litt
Hello,
I'm still puzzled by why this is not working on your system. The following
works for me on a Centos7 machine:
user { 'testuser':
ensure => 'present',
password => pw_hash('password', 'SHA-512', 'mysalt'),
}
-Original message-
From: jmp242
Sent: Fr
it works!
And this is why you can't always just copy -> paste -> edit your stuff in!.
On Friday, November 15, 2019 at 8:55:57 AM UTC-5, Bart-Jan Vrielink wrote:
Hello,
I'm still puzzled by why this is not working on your system. The following
works for me on a Centos7 machine:
us
Of course this is not idempotent. Mmm, security is difficult.
-Original message-
From: Bart-Jan Vrielink
Sent: Friday 15th November 2019 16:18
To: puppet-users@googlegroups.com
Subject: RE: [Puppet Users] Managing a local users password with puppet on EL7
Hello,
Glad to hear that
Hello,
I see you are looking for 'match_address', but in Hiera it is stored as
'sshdconfig::match_address'.
-Original message-
From: Dan Crisp
Sent: Tuesday 25th February 2020 13:42
To: Puppet Users
Subject: Re: [Puppet Users] Hiera Setup Lookup Complaining
I included the --compil
n.yaml"
Path not found
Module "sshdconfig" not found
Function lookup() did not find a value for the name 'sshdconfig::match_address'
Suggesting that it was expecting sshdconfig to be be a module. Not the case in
this instance. In fact, the hiera in question is not reff
Hello,
Control Repo and R10K work fine with Puppet OSS and is the recommended
architecture for using multiple environments with Puppet.
PE Code Manager is indeed only for PE, but in most cases is just a fancy name
for R10K.
-Original message-
From: solarflow 99
Sent: Thursday 11
Hello,
No. The try_sleep parameter defines the time to sleep between tries. The
default value of tries is 1.
What are you trying to achieve?
-Original message-
From: Raghu Ram Baisani
Sent: Thursday 3rd September 2020 7:17
To: Puppet Users
Subject: [Puppet Users] Reg: Calling th
Hello,
It would be nice if Puppet's Pupperware is also updated for this new CA
location...
-Original message-
From: Justin Stoller
Sent: Thursday 4th March 2021 18:11
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Puppetserver ca migrate
Hi!
If you've mounted exte
-
From: Justin Stoller
Sent: Friday 5th March 2021 20:35
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Puppetserver ca migrate
On Thu, Mar 4, 2021 at 11:44 PM Bart-Jan Vrielink mailto:bart...@vrielink.net> > wrote:
Hello,
It would be nice if Puppet's Pupperware is a
ppet Users] Puppetserver ca migrate
On Sat, Mar 6, 2021 at 3:18 AM Bart-Jan Vrielink mailto:bart...@vrielink.net> > wrote:
/etc/puppetlabs/puppetserver/ca is not a volume listed in the docker-compose
file. Unless that directory is symlinked to somewhere under
/etc/puppetlabs/puppet/, that
Hello,
The documentation for os-release
(https://www.freedesktop.org/software/systemd/man/os-release.html) only briefly
mentions major release, but indicates that VERSION_ID is where that should come
from.
Both Debian and AlmaLinux have sensible values for VERSION_ID:
VERSION_ID="11"
VERSI
86 matches
Mail list logo