I see plenty of examples of classes or modules such as ntp or sudo or
ssd. But none of these examples pass an argument to a class or a
module. If I wanted to pass the rpm name to a module or a class, what
would be the call to that class in site.pp and what would be the
class definition in init.pp
Thank you
On Jan 26, 5:48 pm, Nan Liu wrote:
> On Thu, Jan 26, 2012 at 5:22 PM, Joehillen wrote:
> > You can't pass arguments to classes, only defines.
>
> Classes support parameters since 2.6.0, here's the
> documentation:http://docs.puppetlabs.com/learning/modules2.html
>
> Nan
--
You recei
Hello
in James Loope's book (called Managing Infrastructure with Puppet), he
writes on page23: "The password hash can either be mined out of a
shadow file or generated with the mkpasswd utility." My question is:
how can the hash field be mined out of the shadow field. I tried to
use the generate f
and then lookup the hash in the /etc/shadow file
> or use the mkpasswd utility (with which I am not familiar)
>
> Once you have the hashed value of your desired clear text password
> you can copy&paste that in the user definition.
>
> -Stefan
>
your answer is just the text of my original question
Hello
Thank you for the help and this is what I ended up doing.
OLivier
--
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 email
t; 'Other',
}
My problem is that I need to call the class multiple times in the
site.pp file but with different parameters. How can I do that?
Thank you
Olivier
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post t
This is a great example, but I need one more detail. Is "mail" a class
or a module?
Thank you
--
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, sen
Hello
I am new to Puppet and am having a hard time relating modules and
classes in configuration files to actual operating system files. For
instance I saw the following example on this list:
node 'somenode' {
include puppetmaster
}
class puppetmaster {
include common
include puppet
in
2009/11/20 zoniguana
> Depends, really, on your firewall and what you want to accomplish.
> Your clients need to be able to initialize connections to the server's
> port 8140 (TCP).
> Your server needs to be able to reply from its TCP 8140 back to the
> client, but does not need to initiate conne
Hi,
I'm new to Puppet.
I installed Puppet on Debian Lenny (version is 0.24.5).
When I'm trying to use puppet locally (on the machine I installed
puppetmaster on), I keep getting messages such as :
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources
during transaction: Cannot
2009/1/6 Robin Lee Powell
>
> On Tue, Jan 06, 2009 at 11:23:56AM +0100, Olivier wrote:
> > Hi,
> >
> > I'm new to Puppet.
> > I installed Puppet on Debian Lenny (version is 0.24.5).
> >
> > When I'm trying to use puppet locally (on the mach
Hello,
I copy past the Debian Apache2 Recipe Pattern from the Puppet wiki,
unfortunatly it raise an error with puppet 2.7.14. "Could not find
dependent Exec[reload-apache2] for Exec[/usr/sbin/a2ensite 000-default] at
/tmp/vagrant-puppet/"
http://projects.puppetlabs.com/projects/1/wiki/Debia
Hello,
Running into a problem when wanting to daemon-ize the agent. It doesnt
seems to do anything:
- cannot find any daemon process with (ps aux | grep puppet)
- the config is not updated after editing some params on the master
- /var/log/puppet stay empty...
while, when logged as root, it is
Found the issue, the listen=true in puppet.conf is requiring an
/etc/puppet/auth.conf otherwise the daemon is not starting.
O
On Thursday, August 23, 2012 12:36:19 PM UTC+3, Olivier Vernin wrote:
>
> Hello,
>
> Running into a problem when wanting to daemon-ize the agent. It doesnt
&
get all keys from hiera ?
Thanks,
Olivier.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/Wju_4oRX2vQJ.
To post to this group, send email to pu
a/PuppetLabs/puppet/etc/ssl]
Debug: Finishing transaction 86414160
Debug: Loaded state in 0.00 seconds
*Hangs another ~11 seconds here*
Debug: Loaded state in 0.00 seconds
Info: Applying configuration version '1361821561'
Debug: /Schedule[daily]: Skipping device resources because running on a
t
Debug: /Schedule[monthly]: Skipping device resources because running on a
host
Debug: /Schedule[hourly]: Skipping device resources because running on a
host
Debug: /Schedule[never]: Skipping device resources because running on a host
Debug: /Schedule[weekly]: Skipping device resources because
; going on during those breaks.
>
> On 02/25/2013 09:16 PM, Olivier Trempe wrote:
> > Hi,
> >
> > I wrote a little "hello world" script and I am a little concerned by
> > execution that hangs for long periods of time.
> >
> > *computer:
Ok,
I just tried on Windows 7 and I don't observe the performance issue.
Thanks to all of you.
I will not push this investigation further as I hope to have my linux
master soon!
On Monday, March 4, 2013 7:32:11 AM UTC-5, Felix.Frank wrote:
>
> On 03/01/2013 09:32 PM, Josh Cooper wrote:
> >
>
t find pip on the system.
Did someone here found a clean solution to this.
(I started to do a hacky procedure with a custom fact executing
SendMessageTimeout. It didn't even work and I don't want to pursue with
this hazardous trail)
Thanks in advance!
Olivier Trempe
--
You received
xx.x.xxx
http_proxy_port = 3128
[master]
reporturl = http://127.0.0.1:3000/reports/upload
reports = store, http
dns_alt_names = xx.x.xxx
Can someone help me with this?
Thanks
Olivier Trempe
--
You received this message because you are subscribed to the
Thanks for the missing command to install puppetexplorer apache profile.
The https://forge.puppet.com/spotify/puppetexplorer/readme forgot to put
this critical step.
puppet agent -t --tags puppetexplorer
--
You received this message because you are subscribed to the Google Groups
"Puppet
Hello Thomas,
What was your function like ? I think I got the same issue of my side.
Olivier
Le jeudi 28 mai 2015 13:53:23 UTC+2, Thomas Müller a écrit :
>
> it seems it was caused by an 15 line custom function which worked for the
> last few years. replaced it by some stdlib funcn
certificate (I cut/copy my node
decalaration (manifests) from developpement environnement to homologation
environnement)
What is wrong ?
Sorry for bad english :-)
Best regards,
Olivier
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
exec ...
I myself use exec... Another workaround is to specify the version of the
package. For example:
package { "varnish":
ensure => "2.1.5639-1~svn",
}
HTH
--
Olivier
--
You received this message because you are subscribed to the Google Groups "Puppet
Hi -
I just upgraded to puppet v2.6 hoping that tags would be available at
the puppet-master side in the yaml files (/var/lib/puppet/yaml/node/*.yaml).
Did I missed something?
Thanks in anticipation for any pointers.
--
Olivier
--
You received this message because you are subscribed to the
26 matches
Mail list logo