Hi Everyone,
My custom puppet code changes values randomly. Why?
This code creates a random port for me based on the argument's hash. The
idea is that this will create a TCP port for me based on the name of the
argument I give it (for instance the FQDN) so that it is unique, above 1024
but bel
t;
> Try it in two different IRB sessions and you'll see what I mean. It will
> change between garbage collection runs and/or at every invocation of Puppet
> if done in cron.
>
> Trevor
>
>
>
> On Tue, May 17, 2016 at 7:42 PM, p > wrote:
>
>> Hi Ever
s the hash of the Object ID, not a consistent
> cryptographic hash of the string provided.
>
> Try it in two different IRB sessions and you'll see what I mean. It will
> change between garbage collection runs and/or at every invocation of Puppet
> if done in cron.
>
> Trevor
I'm doing this instead:
module Puppet::Parser::Functions
newfunction(:ip_port, :type => :rvalue) do |args|
require 'zlib'
Zlib.crc32(args[0]) % 64511 + 1024
end
end
On Wednesday, May 18, 2016 at 10:16:19 AM UTC-7, p wrote:
>
> Any suggestions on how I can ge
Hi all,
I'm in the process of trying to set up a new puppet server. We have a
few hundred servers that we manage and we're looking to migrate to
puppet for a number of reasons I won't bother getting into. Given the
number of hosts I've installed passenger to leverage Apache, so here's
a quick ru
Hi,
I an in the process of putting my Puppet Master configs into version
control using SVN. I'm concerned about file permission and ownership
changes as a result of this. SVN does not store permissions. How does one
safely use SVN with puppet configs?
Cheers,
Pete
--
You received this
ource file. The best thing to do is run the svn co command as user
> puppet but you'll need to set its password or a sudo set of commands.
>
> Em domingo, 5 de maio de 2013 00h58min18s UTC-3, P Cornellio escreveu:
>>
>> Hi,
>>
>> I an in the process of putting m
Hi Nicolas,
I too have the same issue. Do you have doc to enable external_node feature.
Thanks,
Suresh
On Wednesday, 15 December 2010 06:47:24 UTC+5:30, Nicolas Aizier wrote:
>
> Hi everyone,
>
> I'm actually kind of new in puppet but I'm doing good in progressing.
> I have read lot of docs
Hi,
Previously i have used puppetdasboard as ENC. I have created many groups
in puppetdashboard.
Now i installed and configured Foreman as ENC. Now i would like to import
existing pupportdashboard grouping in foreman.
Is it possible?
Regards,
Suresh
--
You received this message because
Hi,
I'm using puppet version 3.5.
I'm getting following error while running
]# puppet kick 172.20.6.22
Warning: Puppet kick is deprecated. See
http://links.puppetlabs.com/puppet-kick-deprecation
Warning: Failed to load ruby LDAP library. LDAP functionality will not be
available
Triggering 1
>From foreman server also puppet kick working.
curl -d 'nodes=puppetagent' https://puppetmaster:8443/puppet/run --insecure
but in foreman UI only puppet kick not working.
Please advise me.
Regards,
Suresh
On Wednesday, 14 May 2014 14:38:50 UTC+5:30, Suresh P wrote:
>
> Hi,
Hi,
I have store password in variable called "passwd". earlier i used "openssl
passwd -1 " .
Now, it tried to generate sha-512 password hash.
pass => generate('/bin/sh, '-c', "python -c 'import crypt;print
crypt.crypt(\'$passwd\',\'\$6\$mpouwk\')'|tr -d '\n' "),
But puppet run failed.
Plea
Hi,
user_password="test123"
pass => generate('/bin/sh, '-c', "python -c 'import crypt;print
crypt.crypt('$user_password','\$6\$mpouwk')'|tr -d '\n' "),
In above case i'm not able to generate sha-512 password hash.
Regards,
Suresh
--
You received this message because you are subscribed to
Hi,
I'm using puppetlabs/firewall.
I need to create following iptable rules:
iptables -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8443
8 REDIRECT tcp -- 0.0.0.0/00.0.0.0/0 tcp
dpt:443 redir ports 8443
My manifests is
firewall {
Hello,
when can I expect .deb to be available?
W dniu wtorek, 16 września 2014 01:11:32 UTC+2 użytkownik Andy Parker
napisał:
>
> Puppet 3.7.1 is a backward-compatible bugfix release in the Puppet 3
> series. This release fixes several regressions and other issues.
>
> * PUP-3222: Window
12:51 (34 minutes ago)
Hi,
In my puppet setup, i'm managing around 1700+ nodes via foreman. I have
3 puppet master ( one of the server is CA) under load-balancing and one
foreman as ENC and report viewer.
Around 900+ nodes connecting at same time, due to that 150 out of 900
getti
Hi,
Why puppet agent restarting everyday at 00:01 hours?
[2014-11-29 00:01:02] INFO WEBrick::HTTPServer#start: pid=31285 port=8139
[2014-11-30 00:01:01] INFO WEBrick::HTTPServer#start done.
[2014-11-30 00:01:02] INFO WEBrick::HTTPServer#start: pid=13866 port=8139
[2014-12-01 00:01:01] INFO
Hi,
This is configured to run daily by puppet installation itself. Does this
restart puppet agent?
/var/log/puppet/*log {
missingok
notifempty
create 0644 puppet puppet
sharedscripts
postrotate
pkill -USR2 -u puppet -f 'puppet master' || true
[ -e /etc/init.d/puppet ] && /etc/i
:
>
> Am 16.12.2014 um 15:26 schrieb Suresh P:
>
> This is configured to run daily by puppet installation itself. Does
> this restart puppet agent?
>
> /var/log/puppet/*log {
> missingok
> notifempty
> create 0644 puppet puppet
> sharedscripts
> pos
Hi All,
I have found one more issue.
When we install puppet agent, it creates logrotate which will kill the
puppet and restart it. We have configured logroate for all the nodes at
1st minute of everday(00:01). Because of that all the node's puppet agent
get reloaded at 00:01 minutes so
Hi,
I'm using dynamic environments with PE 3.7. I have production and
development sub-directories in /etc/puppetlabs/puppet/environments
containing environment.conf, hiera.yaml, Puppetfile, manifests/site.pp and
modules/
The nodes I'm trying to apply config to are members of the default
produ
Thanks Nick. I'll try this first thing tomorrow.
Regards
Carl
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To vie
Excellent Johan. I'm using R10K so I'll look at your article in detail.
Many thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@
Couldn't wait until the morning. Tried it on my lapi and it works
perfectly! I really appreciate your's and Johan's help with this.
Regards
Carl
On Sunday, 8 March 2015 19:20:23 UTC, Carl P wrote:
>
> Thanks Nick. I'll try this first thing tomorrow.
>
> Rega
Hello Tim,
Do you find a solution ?
I have the same problem.
Cheers
Romain
Le samedi 20 septembre 2014 19:56:43 UTC+2, bluethundr a écrit :
>
> Hey all,
>
>
> For some reason my client nodes are being set to an environment called
> 'none'. This causes an error in puppet runs becuase the pupet
d+" -m "+memory_per_instance+" -p "+port+"
&"}.join("\n")+"\n" %>')
file { "$destdir/startmemcached.sh":
ensure => file,
owner => $title,
group => $title,
mode => '0744',
content =>
On Thu, 25 Aug 2011, Mike Lococo wrote:
2) You must understand how the yum and rpm os commands work, and
specifically how they each handle dependencies and circular deps
(yum works to satisfy deps, rpm fails unless all deps are specified
on a single command-line).
The use of verb forms p
an
IT policy document will attend to getting the various mirrors
properly recoverable in one's backup strategy. [there, the
'testing' mirrors are often NOT covered, as they are
ephemeral as to their usefulness, and recoverable out of
'vault' (top down) or from a 'rt
On Fri, 5 Nov 2010, Trevor Hemsley wrote:
Steve Hoffman wrote:
.../Package[kernel]/ensure) change from 2.6.18-194.el5 to
2.6.18-194.17.4.el5 failed: Could not update: Failed to update to
version 2.6.18-194.17.4.el5, got version 2.6.18-194.el5 instead at ...
# rpm -qa | grep kernel
kernel-2.6
On Sun, 25 Oct 2009, Douglas Garstang wrote:
> I'm using the RPM from the MySQL web site, and the packagers of this
> RPM in their infinite wisdom decided that the mysql service should be
> automatically started when the RPM was installed.
MySQL installs and upgrades are hard to get right, and m
On Sun, 25 Oct 2009, Douglas Garstang wrote:
> Actually, putting this in the service description seems to have fixed it.
>
> pattern=> "/usr/bin/mysqld_safe"
It may have worked, but I guess I don't seen how going around
the LSB conformant services control model and forcing a start
outside
On Wed, 27 Jan 2010, Scott Smith wrote:
The only annoying part is that if I ever revoke something, I have to
distribute the CRL to my puppetmasters. Oh well.
openssl discusses this in the 'verify' man page
Nothing says a certificate has to be of any particular
duration. A certificate outsid
On Thu, 18 Feb 2010, Nigel Kersten wrote:
How, if at all, do any of you do capacity planning with Puppet?
somewhat orthogonal to the question, but after reading this
piece:
http://www.usenix.org/publications/login/2010-02/pdfs/bjorgeengen.pdf
at
http://www.usenix.org/publicat
Hi
I installed puppet on centos for the first time yesterday. the default
installation via YUM didnt install any modules
i am using apache and mysql for the webserver and database.
my question is there no way to install the modules if i am behind a proxy?
[root@puppet ~]# puppet --version
3.3.2
no Stephen this doesnt work
is there any other way of installing puppet modules?
through yum?
On Sunday, December 1, 2013 9:10:15 AM UTC+5:30, Stephen Wallace wrote:
>
> Maybe something as simple as using httpS? The puppet module face requires
> https when downloading I believe.
>
> Try 'export h
Hello,
I am a new user.
My pupet is running on CentOS and I am facing the same issue on my windows
2012 box.
Can you please tell me where I should be running this?
on the puppetmaster server or agent?
I didnt make the changes to the windows.rb file but I still face the same
issue.
[root@puppe
fac
ter:16:in `'
Thanks,
Arvind
On Tuesday, December 3, 2013 1:17:29 AM UTC+5:30, Rob Reynolds wrote:
>
>
>
>
> On Mon, Dec 2, 2013 at 12:31 PM, Arvind P R
> > wrote:
>
>> Hello,
>>
>> I am a new user.
>> My pupet is running on CentOS and I am fa
ly that will be at C:\Program Files (x86)\Puppet
> Labs\Puppet\facter\lib\facter\util\ip\windows.rb (your path may be slightly
> different).
>
>
> On Mon, Dec 2, 2013 at 1:51 PM, Arvind P R
> > wrote:
>
>> Thanks for your prompt answer.
>>
>> I ran this
My puppet master server is working fine and i now installed razor module on
the same server.
i downloaded the tar.gz from https://forge.puppetlabs.com/puppetlabs/razor and
did the installation using
puppet module install --ignore-dependencies.
i took care of all the dependencies too.
*My pu
I read at a number of places that if my puppet master is behind a proxy
which requires authentication
puppet module command does not work
despite setting the global parameters
http_proxy, https_proxy on bash the command throws an error
[root@centos-razor ~]# puppet module install saz/dnsmasq
much more detailed information about what child process, exactly, is
> blocking.
>
> Jeff
>
>
> On Sat, Dec 7, 2013 at 2:03 PM, Arvind P R
> > wrote:
>
>> My puppet master server is working fine and i now installed razor module
>> on the same server.
>>
hi,
I am using Puppet open source to configure my nodes. I want to configure my
nodes as docker engines. I achieved this by this by using* 'garathe-docker'*
module. But i am unable to load my predefined docker image to nodes. What i
mean is, i am having* 'image.tar'* which was created by using '
Hi Jochen,
Try the following:
require => [File[‘php-wpcli_latest_all.deb’], Package[‘mysql-client’]],
HTH
Peter
From: Jochen Häberle
Sent: 02 March 2018 04:56
To: puppet-users@googlegroups.com
Subject: [Puppet Users] Unable to solve a require statement
Hi,
I am having a problem installing wp-c
,
line: 26) on node stretch.localdomain
I tried to require my profile::mysql class, where it set up the mailserver
using puppetlabs-mysql, but this does not help.
Thanks,
Jochen
Am 02.03.2018 um 19:08 schrieb P C Kroon :
Hi Jochen,
Try the following:
require => [File[‘php-wpcli_latest_all.deb’]
installation. Is
there a better way to describe the dependency?
Jochen
Am 05.03.2018 um 21:19 schrieb P C Kroon :
Hi,
Make sure you have that module also install the MySQL client, and require
mysql::client. I’m deliberately vague on the exact syntax since I’m not sure.
Peter
From: Jochen
I am facing issues with path of customs facts and with forge modules in
the latest PE 2015.2 version of puppet.
Custom facts are located at : /var/opt/lib/pe-puppet/lib/facter/
Common forge modules are located at :
/etc/puppetlabs/puppet/modules/production/modules
But I keep getting below
Hi All,
I am not able to figure out how to replace "mac address value" with first
mac address, appreciate your help.
$aws_account = $::facts['ec2_metadata']['network']['interfaces']['macs']
['02:df:8d:XX'][owner-id]'] ? {
/123456789/ => 'account1',
/123456789/ => 'account2'
m Sonntag, 8. Dezember 2024 um 12:28:42 UTC+1:
You must put the puppet environment code on the Linux Puppet server.
/etc/puppetlabs/code/environments/production/manifests/*.pp
Windows systems can only act as Puppet agent.
hth,
Martin
> On 7. Dec 2024, at 21:48, Mijarena “Mijarena” P.
that never should have happend
So, again, thank you. Now I will dig myself deeper into puppet.
Regards,
mijarena
dhei...@opentext.com schrieb am Montag, 9. Dezember 2024 um 08:02:56 UTC+1:
> Am Sonntag, dem 08.12.2024 um 07:41 -0800 schrieb Mijarena “Mijarena” P.:
>
> Yes, there it is:
>
0 schrieb Mijarena “Mijarena” P.:
>
> Notice: Catalog compiled by s01.randomdomain.bayern
> Info: Caching catalog for jancis
>
>
> That's the problem. This doesn't match the node definition (from your
> first mail):
>
> node 'jancis.randomdomain.bayern' {
&g
Hello there.
I do have strange Problem, at least for me and I do not find a solution.
It seems, that all is running well.
I do have almalinux 9 as server
[root@s01 manifests]# rpm -qa | grep puppet
puppet8-release-1.0.0-9.el9.noarch
puppet-agent-8.10.0-1.el9.x86_64
puppetserver-8.7.0-1.el9.noarc
Hi!
When I make event request to PuppetDB, it seems that PuppetDB
only keep 2 weeks worth of events. How can I change how long
this 2 weeks to longer period? Will there be any consequences
other than disk space if I do that?
Thank you!
--
(stephan paul) Arif Sahari
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/m
53 matches
Mail list logo