Hello,
We have some performance issues with PuppetDB and I believe our low catalog
duplication rate is partly responsible (7.5% atm). I would like to
understand this problem better, and ask what's the best way to track down
catalogs that change too often.
I assumed the catalog hash (in certnam
On Tuesday, July 9, 2013 6:23:39 PM UTC+2, jcbollinger wrote:
>
>
>
> On Monday, July 8, 2013 11:02:25 AM UTC-5, Ashley Penney wrote:
>>
>>
>> This is definitely something we want to do and need to do. I've been a
>> little hesitant to wade down into the whole "these are the specific
>> parame
Hi,
I have stupid situation that I may workaround but I think there is an
elegant way to deal with.
Still I need the community help.
In some class X I have:
$control = {
dev => {
id => 7,
name => 'GG'
},
prod => {
id => 1,
name => 'Info'
}
}
In some other class, which I
Hi all,
I want to do the following:
package { 'zookeeper-deb':
ensure => 'installed',
name => 'zookeeper',
}
package { 'zookeeper-gem':
ensure => 'installed',
name => 'zookeeper',
provider => 'gem',
}
This just fails with "Cannot alias Package[zookeeper-gem] t
for the record I'm reply to this old thread.
in the setting page, change the trusted_puppetmaster_hosts to include your
puppet hostname. eg: ['ssfpuppetd01']
Le vendredi 8 février 2013 20:40:41 UTC+1, David Schmitt a écrit :
>
> On 2013-02-07 22:50, Jagga Soorma wrote:
> > Hi Guys,
> >
> > I
We just released an internally developed puppet-networkdevice module in the
hope that some other folks might be interested in it :).
It's currently still in an early stage but should be pretty usable for the
basic usecases.
-> https://github.com/uniak/puppet-networkdevice
## Overview
The Cisc
Hi All,
Having a problem with puppet master. Started crashing for no real reason
and then after fiddling aroung started to get a permission problem:
root@puppet:/etc# puppet master --debug --verbose --no-daemonize
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type:
So I have a module that set several packages to "purged". This generates
messages like this in the log on every run:
puppet-agent[27671]: (/Stage[main]/Foo/Package[ghostscript]/ensure) created
That doesn't bother me in and of itself, but the problem is that those
messages mark the server as "Ch
>
> I understand that from the Puppet point of view both are package
resources with the same name. But from the human(my) side this doesn't
> make much sense.
>
May I suggest a couple of workarounds?
- Use fpm to convert the gem to a deb.
- Use fpm to create a deb package called zookeeper-d
Hi,
I'm having trouble understanding the added value Virtual Resources provide.
Let's say I'm having two different modules (that usually are assigned to
different agents) that both contain a common resource (let's say a user).
If I want to easily make it possible to assign both modules to the sa
On 12 July 2013 15:45, Christian Flamm wrote:
>
> My question: How is that different, more convenient or more flexible than
> extracting that admin user into its own module?
>
I guess the main advantage is one of containing the knowledge of that user
into the thing that needs to know about it.
On Fri, Jul 12, 2013 at 7:45 AM, Christian Flamm <
christian.le.fl...@gmail.com> wrote:
> Hi,
> I'm having trouble understanding the added value Virtual Resources
> provide. Let's say I'm having two different modules (that usually are
> assigned to different agents) that both contain a common reso
Am Freitag, 12. Juli 2013 17:03:11 UTC+2 schrieb Nan Liu:
>
> On Fri, Jul 12, 2013 at 7:45 AM, Christian Flamm
>
> > wrote:
>
>> Hi,
>> I'm having trouble understanding the added value Virtual Resources
>> provide. Let's say I'm having two different modules (that usually are
>> assigned to di
On Fri, Jul 12, 2013 at 8:11 AM, Christian Flamm <
christian.le.fl...@gmail.com> wrote:
>
>
> Am Freitag, 12. Juli 2013 17:03:11 UTC+2 schrieb Nan Liu:
>
>> On Fri, Jul 12, 2013 at 7:45 AM, Christian Flamm
>> wrote:
>>
>>> Hi,
>>> I'm having trouble understanding the added value Virtual Resources
Hi,
having some problems running puppet:
root@puppet:/etc# puppet master --debug --verbose --no-daemonize
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not
exist
debug: Puppet::Type::User::ProviderDirectoryservic
Do you have SELinux enabled on the server? See if that file has the
correct tags by using "ls -Z'. You can also see if you have any errors by
checking the selinux audit log, usually in /var/log/audit.
❧ Brian Mathis
On Fri, Jul 12, 2013 at 8:26 AM, Piotr Jasiulewicz
wrote:
> Hi All,
>
> H
I am trying to set up puppet in an HA environment using pgpool to connect
to the postgres DB and I get this kind of thing in the pgpool log any ideas?
2013-07-12 11:56:45 LOG: pid 12275: DB node id: 1 backend pid: 732
statement: DISCARD ALL
2013-07-12 11:57:47 LOG: pid 1: connection rec
Looks like a fault with pgpool specifically. The PuppetDB error is
just an effect of a forced disconnection. Perhaps you need to reach
out to the pgpool/postgresql mailing lists for advice?
I can certainly help with PuppetDB related items, but if pgpool is
segfaulting I'm pretty sure its a bug on
On 12.07.2013 06:57, Kim Scarborough wrote:
> So I have a module that set several packages to "purged". This generates
> messages like this in the log on every run:
>
> puppet-agent[27671]: (/Stage[main]/Foo/Package[ghostscript]/ensure) created
>
> That doesn't bother me in and of itself, but the
I am getting into managing user accounts with Puppet - and having a blast !
I stumbled on this and wanted to ask:
If I type : I get:
puppet resource user The expected puppet list of all the logins.
puppet resource file Error: Could not run: Listi
On 12.07.2013 20:06, Dan White wrote:
> I am getting into managing user accounts with Puppet - and having a blast !
>
> I stumbled on this and wanted to ask:
>
> If I type : I get:
> puppet resource user The expected puppet list of all the logins.
> puppet re
On Fri, Jul 12, 2013 at 2:22 AM, David Schmitt wrote:
>
>>
> Usually that is handled by adding a class or variable to the group and
> checking on that.
>
> I actually tried that and ran into an issue. Here's the setup:
global ---> all hosts belong to this
|
+ email::masterd
Hi,
I have a simple hiera data file:
# /etc/puppet/hiera/defaults.yaml
---
test:
message: This message brought to you by hiera
I run `sudo hiera test` and get:
{"message"=>"This message brought to you by hiera"}
I then create a test class:
# test.pp
class test ($message) {
notify {"Param
What is in your /etc/puppet/hiera.yaml configuration file ?
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
- Original Message -
From: "Brian Warsing"
To: puppet-u
Say I have the following classes:
foo
foo::bar::one
foo::bar::two
Is there a way to declare all classes in the foo::bar namespace at once?
I would like a way to easily add resources to a namespace in a module by
just adding a proper file in modules/foo/bar/three.pp and then letting some
statem
Great answer..
On the second point -- how to generate an answer -- in /etc/ssh/sshd_config is
a paramer named AuthorizedKeysFile which defaults to
~/.ssh/ authorized_keys
That is a starting point !
Thanks for responding.
“Sometimes I think the surest sign that intelligent life exists el
On 12.07.2013 21:45, Dan White wrote:
> Great answer..
>
> On the second point -- how to generate an answer -- in
> /etc/ssh/sshd_config is a paramer named AuthorizedKeysFile which
> defaults to
>
> ~/.ssh/authorized_keys
>
> That is a starting point !
>
Yeah you're probably right that you cou
On Friday, July 12, 2013 11:21:09 AM UTC-7, m4l...@gmail.com wrote:
>
> Say I have the following classes:
>
> foo
> foo::bar::one
> foo::bar::two
>
> Is there a way to declare all classes in the foo::bar namespace at once?
>
Not really, but you can have foo::bar look like:
class foo::bar {
i
On Friday, July 12, 2013 2:04:36 PM UTC-4, Stefan Schulte wrote:
> Are you running on RedHat (or some other OS that uses yum)? You may hit
> https://projects.puppetlabs.com/issues/11450 in this case. Specifying an
> ensure state of `absent` should work as a workaround on these platforms.
>
>
I
On Friday, July 12, 2013 2:04:36 PM UTC-5, Brian Warsing wrote:
This:
> Error: Could not find data item test::message in any Hiera data file and
> no default supplied at /etc/puppet/manifests/test.pp:17 on node node.foo.bar
Tells you exactly what the problem is. Puppet is trying to look up a
On Friday, July 12, 2013 3:20:05 PM UTC-5, llowder wrote:
>
>
>
> On Friday, July 12, 2013 11:21:09 AM UTC-7, m4l...@gmail.com wrote:
>>
>> Say I have the following classes:
>>
>> foo
>> foo::bar::one
>> foo::bar::two
>>
>> Is there a way to declare all classes in the foo::bar namespace at once?
On Friday, July 12, 2013 3:35:09 PM UTC-5, Kim Scarborough wrote:
>
> On Friday, July 12, 2013 2:04:36 PM UTC-4, Stefan Schulte wrote:
>
>> Are you running on RedHat (or some other OS that uses yum)? You may hit
>> https://projects.puppetlabs.com/issues/11450 in this case. Specifying an
>> ensu
Agreed, the sp_ prefix is unfortunate. It's to indicate they came from System
Profiler.
On Jul 12, 2013, at 2:43 PM, "Dustin J. Mitchell" wrote:
> On Thu, Jul 11, 2013 at 9:21 PM, Rob Reynolds wrote:
>> My initial thought is that we should use something like win_ but I wanted to
>> check to s
On Friday, July 12, 2013 8:21:01 AM UTC-5, Markus Shorty Uckelmann wrote:
>
> Hi all,
>
> I want to do the following:
>
> package { 'zookeeper-deb':
> ensure => 'installed',
> name => 'zookeeper',
> }
> package { 'zookeeper-gem':
> ensure => 'installed',
> name
On Friday, July 12, 2013 7:48:36 AM UTC-5, Ivailo Tanusheff wrote:
>
> Hi,
>
> I have stupid situation that I may workaround but I think there is an
> elegant way to deal with.
> Still I need the community help.
>
> In some class X I have:
> $control = {
> dev => {
> id => 7,
> name =>
On Friday, July 12, 2013 11:09:49 AM UTC-5, Nan Liu wrote:
>
> On Fri, Jul 12, 2013 at 8:11 AM, Christian Flamm
>
> > wrote:
>
>>
>>
>> Do you mean something like this?
>>
>> > cat $modulesdir/virtual/manifests/**init.pp
>> class virtual {
>> @user { ['a', 'b', 'c', 'd']: ensure => present }
If you're using pgpool from the EPEL repository (or version 3.2.0) and
you've enabled the query cache feature then that's the probably the problem
you're seeing. Upgrade to a newer release or disable the cache.
On Friday, July 12, 2013 10:32:34 AM UTC-7, Robert Bachmann wrote:
>
> I am trying to
Hello!
Now that we're two weeks in it's time for another update on what's been
going on in the module team. We focused on puppetlabs-ntp and
puppetlabs-firewall as our two primary modules, but also merged in fixes to
passenger, rabbitmq, mysql, apt, and apache.
As a result of this work we've rel
We worked around the issue by creating a (cringe-worthy) defined type that
checks to see if the package exists first. It was quicker and easier than
some of the alternatives we came up with and worked fine for our needs on
both CentOS 5 and 6.
# XXX: Quietly purge a package while waiting for b
I'm trying to write my first puppet template, but I am running into some
issues. The following is my template:
*# Managed by Puppet*
*CONFIG_FILE=/etc/rabbitmq/rabbitmq*
*<% if @rabbitmq_port != 'UNSET' -%>*
*NODE_PORT=<%= @rabbitmq_port %>*
*<% end -%>*
*<% if @rabbitmq_address != 'UNSET' -%>*
*
Thanks, I knew it was something silly.
On Friday, 12 July 2013 14:23:03 UTC-7, jcbollinger wrote:
>
>
>
> On Friday, July 12, 2013 2:04:36 PM UTC-5, Brian Warsing wrote:
> This:
>
>> Error: Could not find data item test::message in any Hiera data file and
>> no default supplied at /etc/puppet/man
41 matches
Mail list logo