Hello,
this is working.
Thank you !
Hugo
On 21 October 2015 at 19:06, Peter Bukowinski wrote:
>
> > On Oct 21, 2015, at 12:56 PM, Hugo Deprez wrote:
> >
> > Hello,
> >
> > I created a custom fact with the following procedure :
> >
> > mkdir -p /
Hello,
I created a custom fact with the following procedure :
mkdir -p /etc/puppet/modules/facts/lib/facter
touch apache.rb
Content of apache.rb file :
Facter.add('apache') do
setcode do
apache_package = Facter::Core::Execution.exec('which apache2')
# if 'which apache2' exits with an
Hello,
I am deploying a puppet server in order to manage a new infrastructure
running Debian.
As I am starting from scratch, I'm looking for advice on how to deal with
server roles.
I plan to create a class role::base with all default modules. So far no
issues.
But I don't know how to properly d
of puppet master. This will give the options in 0.25:
>
> puppetmasterd --configprint all
>
> However rather than dealing with 0.25 and multiple puppet versions, I
> would recommend using our latest packages in apt.puppetlabs.com.
>
> Nan
>
> On Fri, Mar 9, 2012 at 8:44 AM
Thank you for the link.
But I am not able to know if the server parameter is available for 0.25
clients.
Any idea ?
Regards,
On 9 March 2012 17:32, Mohamed Lrhazi wrote:
> http://docs.puppetlabs.com/references/stable/configuration.html
>
>
> On Fri, Mar 9, 2012 at 11:22 AM,
Dear community,
I just saw that when I execute puppetd -vt I can have up to 80 DNS request
for the puppet server records.
I specified in the puppet.conf :
server=puppetserver.example.fr in the [main] section of the client.
It seems to work for my Debian Squeeze client, but not for Debian Lenny.
Thank you I'll try that then.
Yes I want puppet to use status command otherwise it will do something like
ps -ef | grep $service_name
As this is iptables I'll have no match.
Regards
On 1 February 2012 17:16, Gary Larizza wrote:
>
>
> On Wed, Feb 1, 2012 at 10:41 AM
Dear community,
I use puppet to deploy iptables on every server.
This is working fine.
In the manifest I defined an iptables service which leads to my init script.
The thing is each time I run puppet I got : notice:
/Stage[main]/Iptables/Service[netfilter]/ensure: ensure changed 'stopped'
to 'run
Thank you Ramin, I used
import "nodes/*.pp" this is exactly what I wanted.
I am quite confuse about the difference between "import" and
"include" (used for a module).
is there a real difference ?
Regards,
Hugo
On 17 November 2011 21:04, Ramin K wrote:
> Tech documentation is littered with
Dear community,
I would like to know if it is possible to use different files for the nodes.pp
Can we use in nodes.pp the following syntax :
include nodes2.pp
nodes2.pp could contain host definition eactly as nodes.pp but for a
particular platform.
This would allow more readable configuration
Dear community,
I configure puppet dashboard on my server, in order to make it work I had to
activate reports from clients.
The thing is that my folder /var/lib/puppet/reports/ is now 1.6 Go large.
Is there any mechanism available to auto delete old files ?
Or should I configured my own script to
Hi Felix,
I try the following :
key => "*BQfc62cpIMw==",
And it works !
Thank you !
Hugo
On 20 July 2011 14:37, Felix Frank wrote:
> Hi,
>
> On 07/20/2011 02:29 PM, Hugo Deprez wrote:
> >key => '***== user@servername'
Hello,
I have the same issue :
ssh_authorized_key
{
"user-rsa-key":
ensure => 'present',
key => '***== user@servername',
type => 'rsa',
user => 'user',
require => File["/home/user/.ssh"],
}
On my server i
Hello,
I am trying to configure a new puppet server on Debian Squeeze, so the
server version will be 2.6.2-4.
I am trying to configure a client running Lenny, the puppet version is
0.25.4-2
I declare the new client with the command :
#puppetd --server puppet.domain.tld --waitforcert 60 --test
o
On 9 February 2011 18:56, Patrick wrote:
>
> On Feb 9, 2011, at 7:13 AM, Hugo Deprez wrote:
>
> > Hello,
> >
> > I was trying to change two modules on my puppet.
> > And I was block on one error, until I figured that the error which show
> up was not related to
Hello,
I was trying to change two modules on my puppet.
And I was block on one error, until I figured that the error which show up
was not related to a specific module.
This error is causing issue to all my puppet clients :
#puppetd -vt
info: Retrieving plugin
err: Could not retrieve catalog fro
Hello,
I found the solution thanks to your help :
if versioncmp($operatingsystemrelease, '5.0.8') > 0 {
$syslog_template = "syslog/syslog-ng.conf-squeeze.erb"
}
else
{
$syslog_template = "syslog/syslog-ng.conf.erb"
}
and I add in my class :
notify { "OS release detected as '$operatingsystemre
Hello,
thank you for the anwser.
I try to run facter on both servers here it what I get :
~ # facter operatingsystemrelease
5.0.8
~ $ facter operatingsystemrelease
6.0
So far no issues.
Maybe in my if statement I should use " " ?
Is there a way to print somewhere the value of the variables
18 matches
Mail list logo