Hi,
The configuration files are attached.
Here is the postgres login:
[root@puppetmaster]:/data/local/postgresql/dumps # psql -h localhost
puppetdb puppetdb
psql (8.4.12)
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.
puppetdb=> \l
Lis
On 7 August 2012 17:20, tobias wrote:
> Hi,
>
> Is it possible to configure a service to ignore notifies?
> I'd like to have some special cases where a "notify => Service['xyz']" is
> ignored by the service "xyz"... (The service is managed by Pacemaker and I
> don't want Puppet to manage this ser
That worked! Thanks a lot...
On Wednesday, August 8, 2012 10:37:33 AM UTC+2, Erik Dalén wrote:
>
> On 7 August 2012 17:20, tobias > wrote:
> > Hi,
> >
> > Is it possible to configure a service to ignore notifies?
> > I'd like to have some special cases where a "notify => Service['xyz']"
> is
On Tue, 2012-08-07 at 22:53 -0700, Axel Bock wrote:
> Hello readers,
>
> I might have the need for something like "delete all unmanaged files".
> Explanation: I am creating a bunch of apache config files, which contain
> information about the hostname and the port they're listening on. Now if I
On Tuesday, August 7, 2012 2:26:47 PM UTC-5, Ygor wrote:
>
> - jcbollinger wrote:
> >
> >
> > On Monday, August 6, 2012 10:48:25 AM UTC-5, Ygor wrote:
> > >
> > > I am putting together some system improvements based on using the
> > > stdlib::facter-dot-d and I have a few questions:
>
On Tuesday, August 7, 2012 1:25:32 PM UTC-5, Douglas wrote:
>
> As usual, I'm confused about scope in puppet. This puppet 2.7.1.
>
> In my classes below, the bottom class, company::web::content, requires
> the file resource '/usr/local/company'. However, that resource is
> defined two includes
- jcbollinger wrote:
> On Tuesday, August 7, 2012 2:26:47 PM UTC-5, Ygor wrote:
> >
> > - jcbollinger wrote:
> > > On Monday, August 6, 2012 10:48:25 AM UTC-5, Ygor wrote:
> > > >
> > > > I am putting together some system improvements based on using the
> > > > stdlib::facter-dot-d and
On Wednesday, August 8, 2012 12:49:57 AM UTC-5, Axel Bock wrote:
>
> Hi Oren,
>
> I'm kind of new to puppet myself - but I think this is not working as you
> might like. If you import a class with your definitions, your scope changes
> AFAIK. So between
> import more_defs.qa
> and
> import mor
In a node, for a test, I have:
tidy { '/opt/home/users/george':
age => "1w",
recurse => true,
rmdirs => true,
}
and when I ran it, it cleaned out all the files under "george", but not the
directories.
There are two directories, one with today's date on it (I expect that one to
stay)
Hi all,
I'm trying to have the exec resource write a file after the command but it
don't.
here is the resource declaration
class gepet {
notify { 'begin':}
file { '/root/essai/html':
ensure => present,
content => "Wrote By Yves Nton",
notify => Exec['test'],
}
exec { 'test':
path => "/usr/bin
The "creates" attribute tells Puppet that the "command" attribute actually
creates a file, and that the Exec{} should not be run if that file exists.
You need to alter your command:
command => "rm -rf /root/essai/html;touch /root/essai/exec.txt"
On Wed, Aug 8, 2012 at 6:42 AM, Rost wrote:
> Hi
thanks Brian,
You are right !!!
It's working
Le mercredi 8 août 2012 15:42:02 UTC+2, Rost a écrit :
>
> Hi all,
>
> I'm trying to have the exec resource write a file after the command but it
> don't.
>
> here is the resource declaration
>
> class gepet {
> notify { 'begin':}
> file { '/root/es
On Tuesday, August 7, 2012 9:21:10 AM UTC-5, TORO wrote:
>
>
> Am Dienstag, 7. August 2012 15:08:38 UTC+2 schrieb jcbollinger:
>>
>>
>>
>> On Tuesday, August 7, 2012 2:47:05 AM UTC-5, TORO wrote:
>>>
>>> Yes you are right , :
>>>
b) the class itself is not being included properly elsewher
On Tuesday, August 7, 2012 8:45:45 AM UTC-5, Yaniv Fine wrote:
>
> well its wroking for me now .
> newbie question .
> if i put the test.rb file inside
>
> modules/common/test/lib/facter/test.rb
> is it normal that it runs automatically on all servers without a way for
> me to control what mac
On Tuesday, August 7, 2012 5:46:31 PM UTC-5, trey85stang wrote:
>
> Hey All,
>
> I have an issue I need help working around or determining if it is a
> bug
>
> the issue is as follows, I have a custom repo(s) that has all my software
> for a specific version release in it. A new version ge
Hi,
Issue:
> 1) I update my VERSION variable
> 2) the next puppet run and only updates the repo (no rpms are upgraded)
> 3) next puppet run updates the rpms.
>
> There are no errors. but shouldn't my rpms update on the first run after
> the variable change?
>
not sure if this causes it, but yum
what is i put the rb file in another dir bellow the module dir .
any way i can control what node will load it ?
On Wed, Aug 8, 2012 at 5:16 PM, jcbollinger wrote:
>
>
> On Tuesday, August 7, 2012 8:45:45 AM UTC-5, Yaniv Fine wrote:
>>
>> well its wroking for me now .
>> newbie question .
>> if i
Anyone? Anyone?
Sent from my iPhone
On Aug 7, 2012, at 4:47 PM, Douglas Garstang wrote:
> All,
>
> Is there a way to run puppet and specify to apply resources NOT
> containing a tag?
>
> ie, negating something like this?
>
> puppetd --tags solaris
>
> The use case for this is to put a tag i
John, Axel, thanks for your comments
defining default variable in module top-scope is exactly what i did but
like you said, its not very pretty.
i'll look at hiera, any ideas when its supposed to be released in puppet3?
Oren.
On Wednesday, August 8, 2012 4:37:23 PM UTC+3, jcbollinger wrote:
>
>
Tried to attach one of my agents to another environment with a command like
this:
puppet agent --verbose --debug --server my.puppet.master --environment
my_new_env --no-daemonize
But it still receives the old catalog of the old environment. No errors or
warnings in log files both on master and
On client:
[root@xxx ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
[root@xxx ~]# rpm -qa|grep puppet
puppet-2.6.12-1.el5
On server:
[root@server ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
[root@server ~]# rpm -qa|grep puppe
Hi
I have wriiten a class to deploy a tra file and extract on a remote puppet
client. The tar file gets copied across fine and it seems to puppet the
thet tar extraction suceeds, but when I check the client I dont see the
extracted files
exec { "Deploy Code":
command => "/bin/
Hi,
I've got an issue on installing Puppet Dashboard on Debian wheezy. When I
launch the db:migrate, I've got an error :
> > rake RAILS_ENV=production db:migrate --trace
> NOTE: Gem.source_index is deprecated, use Specification. It will be
> removed on or after 2011-11-01.
> Gem.s
Hi
I have a simple class wriited to deploy a tar file and and extract on a
puppet client;
The copy of the tar file works fine, the dashboard logs indicate a
successfull run but the tar file has not been extracted,
exec { "Deploy Code":
command => "/bin/tar -xvf /var/tmp/deplo
On Tue, Aug 7, 2012 at 10:44 PM, Rakesh K wrote:
>
> Actually I have tried fresh install of the module multiple times after
> clearing all traces of the mysql package on the client but still getting the
> same result.
Ok. Have you tried using the released Forge module instead of the
GitHub code i
On Wed, Aug 8, 2012 at 8:45 AM, Bernd Adamowicz
wrote:
> Tried to attach one of my agents to another environment with a command like
> this:
>
> puppet agent --verbose --debug --server my.puppet.master --environment
> my_new_env --no-daemonize
>
> But it still receives the old catalog of the old
On Aug 8, 2012, at 5:40 AM, duckegg01 wrote:
> Hi
>
> I have wriiten a class to deploy a tra file and extract on a remote puppet
> client. The tar file gets copied across fine and it seems to puppet the thet
> tar extraction suceeds, but when I check the client I dont see the extracted
> file
As I said parameters created by dashboard is on top scope.
You can check out puppet’s doc regarding scoping.
Assuming you don’t what to rely on their dynamic lookup (which is what they
recommended since the feature is retiring) In your module you can reference
global variable directly with the
Thanks JM. Your config files look good and the existence of all of those
tables in your puppetdb database certainly makes it look as though puppetdb
is communicating with postgres properly. Since increasing the heap size
seems to have gotten you past the issues for now, my next guess is that i
Hi
Yesterday I had the same problem. I solved it using this link:
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies
Install the RubyGems package system with the script provided.
Hope it helps.
Best regards
On Aug 8, 2012 5:59 PM, "Deimos Fr" wrote:
>
Fantastic thank you Nan, I'll give this a try tonight. It should be easy
to modify yours to do what I need, thank you for sharing it :)
On Tuesday, August 7, 2012 10:52:42 PM UTC+1, Nan Liu wrote:
>
> On Tue, Aug 7, 2012 at 11:13 AM, Krzysztof Wilczynski
> > wrote:
> > Hi James,
> >
> > [...
In regard to: Re: [Puppet Users] Re: A few questions about setting up...:
I want to use puppetlabs-stdlib and /etc/facter/facts.d to create a set
of local facts. Some of these facts come in variable quantities. I
would like to stack these up into a delimited string. I can deal with
that.
On
Hey folks;
I am having issues retrieving the catalog from my master. It seems to be an
issue with the ACLs for the /certificate_revocation_list/ca, however it
still produces an error when I set the ACLs to allow everything! I am
almost certain it has something to do with my non-default installa
- Tim Mooney wrote:
> In regard to: Re: [Puppet Users] Re: A few questions about setting up...:
>
> > I want to use puppetlabs-stdlib and /etc/facter/facts.d to create a set
> > of local facts. Some of these facts come in variable quantities. I
> > would like to stack these up into a delimi
What are the ownerships of the unremoved directories?
Also, were the directories themselves not at least a week old?
Perhaps a bug is lurking.
If I am the Puppet pattern-applicator and I remove the files first, the
directory file is updated and will fail the age test if that calculation is not
Valid questions, Stuart, but I get the same behavior if I set age to zero.
I do a "chmod -vR a+rw" to the directory named in the resource, and it still
misbehaves.
I tried cleaning it out by hand, then putting things back in to be removed
(tidy age still zero).
All the new objects are owned by
On Wednesday, August 8, 2012 10:51:31 AM UTC-5, mfons wrote:
>
> On client:
> [root@xxx ~]# cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 5.7 (Tikanga)
> [root@xxx ~]# rpm -qa|grep puppet
> puppet-2.6.12-1.el5
>
> On server:
> [root@server ~]# cat /etc/redhat-release
>
On Wednesday, August 8, 2012 10:43:13 AM UTC-5, Oren Marmor wrote:
>
> John, Axel, thanks for your comments
> defining default variable in module top-scope is exactly what i did but
> like you said, its not very pretty.
> i'll look at hiera, any ideas when its supposed to be released in puppet3?
On Wednesday, August 8, 2012 10:06:27 AM UTC-5, Yaniv Fine wrote:
>
> what is i put the rb file in another dir bellow the module dir .
> any way i can control what node will load it ?
>
I don't know, but I think it unlikely that you could get some nodes to run
it but not others.
What are you
On Wed, Aug 8, 2012 at 6:25 AM, jcbollinger wrote:
>
>
> On Tuesday, August 7, 2012 1:25:32 PM UTC-5, Douglas wrote:
>>
>> As usual, I'm confused about scope in puppet. This puppet 2.7.1.
>>
>> In my classes below, the bottom class, company::web::content, requires
>> the file resource '/usr/local/
This sounds like a risky process to me.
Wiping out your certs sounds like a hammer.
Not sure how you are provisioning your nodes but even ssh call to the master
during the provisioning to remove the cert (if it exists) would be preferable.
Maybe you could look at alternatives, like generating
Facter 1.6.11 is a maintenance release candidate in the 1.6.x
branch with bug fixes.
It includes contributions from Andrew Parker, Matthaus Litteken,
Dominic Cleal, Andrew Elwell, Michael Stahnke.
Downloads are available at:
* Source: https://downloads.puppetlabs.com/facter/facter-1.6.11.tar.gz
Is there a way to symbolically link files from one directory into another
inside of Puppet? I did this:
"/opt/openerp/server/openerp/addons/":
owner => "openerp",
group => "admin",
links => "manage",
ensure => directory,
recurse => true,
Hi,
I'm a beginner on Puppet and i have one priority on my configuration. I
have a lot of hosts and each one need different variables. Is it
possible to configure a specific environment of these variables for each
host?
--
Thiago Silveira Alexandre
LPI I Certified
--
You received this message
I resolved the dnsdomain name issues by adding a FQDN (which dnsdomainname
requires).
I was under the impression puppet doesn't require a FQDN when using the
hosts file, but I guess I'm wrong based on the behavior.
Here is the output once this is fixed, (it still doesn't create the pidfile)
htt
Hi,
Good news! You sound like someone who would benefit greatly from
Hiera. Hiera is part of Puppet 3 (you have to do a little bit more
work with Puppet 2.7) and provides a way of providing different bits
of data, via variables, for different hosts. If you take a look at
http://puppetlabs.com/
I don't think the tag system was designed to be used like that.
Have you checked all the docs?
On 9 August 2012 01:19, Douglas Garstang wrote:
> Anyone? Anyone?
>
> Sent from my iPhone
>
> On Aug 7, 2012, at 4:47 PM, Douglas Garstang wrote:
>
>> All,
>>
>> Is there a way to run puppet and specif
Just in case you didn't know that command will only apply the
environment for that run.
It won't switch the node to the environment permanently, you need to
set environment in puppet.conf to do that.
On 9 August 2012 02:18, Ryan Coleman wrote:
> On Wed, Aug 8, 2012 at 8:45 AM, Bernd Adamowicz
>
I currently have puppet configured to use node definitions in
/etc/puppet/manifests/node.pp. At the time, most of the machines are physical
hosts.
Now I need to start putting puppet on virtual guests. Ideally, I want to use an
ENC for those guests, but I don't want to using the physical hosts w
On Wed, Aug 8, 2012 at 6:18 PM, Foster Rilindo wrote:
> I currently have puppet configured to use node definitions in
> /etc/puppet/manifests/node.pp. At the time, most of the machines are physical
> hosts.
>
> Now I need to start putting puppet on virtual guests. Ideally, I want to use
> an EN
In general . I am trying to parse a variable i have in a file in few of my
servers and add it as a fact i can than use in a module .
This specific file that reside in few of my servers have looks like value :
var .inside the rb file i do facter.add .and add the value to a fact .there
is no reson to
51 matches
Mail list logo