Hmm, I find that hard to believe, ie. that's a pretty massive and
fundamental bug in facter if that is indeed the case.
Can you reproduce on other boxes?
R.
On 28 July 2014 19:19, Joao Morais wrote:
>
> List, just to document the solution. My CentOS was localized and facter
> couldn't parse d
The recommended puppet approach is the role/profile/module pattern.
Here's the blog post that defined this:
http://www.craigdunn.org/2012/05/239/
R.
On 5 June 2014 00:40, Felix Frank wrote:
> On 06/05/2014 01:28 AM, Stuart Cracraft wrote:
> > I would assume from basic class syntax one could
What do you mean by "inherited roles"?
R.
On 4 June 2014 23:02, Stuart Cracraft wrote:
>
> What's the best way to do inherited roles for servers?
>
> chef seems to excel at this whereas in Puppet it is wordy (at best).
>
> --
> You received this message because you are subscribed to the Googl
On Sat, 2014-05-31 at 07:12 -0700, Daniele Sluijters wrote:
> > - Don't use automatic hiera lookups. This removes the magic and
> makes it more clear to everyone that the data is coming from hiera.
>
>
> Hold on a sec; if you mean data bindings with 'automatic hiera
> lookups', most certainly us
Fully-qualify the class name, ie. use '::logstash'.
R.
On 31 May 2014 13:17, "Brian Wilkins" wrote:
> I am using the puppet logstash module from Forge installed at
> /etc/puppet/modules/logstash
>
> I am trying to setup my profile class as profiles::logstash. My manifest
> is at /etc/puppet/modu
I thought hiera always returns strings? ie. $myvar = hiera('testvalue')
should return a string, and validate_re( $myvar, '[0-9]+' ) should work
just fine?
Regardless, this is inconsistent:
OK:
$var = 1000
validate_re( $var, '[0-9+]' )
FAIL:
$var2 = 2000 + 1
validate_r
Read here:
http://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html#if-statements
In particular, note the spelling of elsif. :)
R.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receivi
What umask are you using?
R.
On 21 Apr 2014 19:18, "treydock" wrote:
> I have noticed lately that on my development system (OS X) and my
> production Puppet master (CentOS 6.5) that when installing puppet modules
> using librarian-puppet the permissions of some modules and files is very
> restri
I suspect duplicate keys are not valid YAML.
R.
On 1 Apr 2014 17:51, "Matthew Burgess" wrote:
> Apologies for that last email; hiera_hash() is obviously doing *nearly*
> the right thing, as it *does* merge hashes across different levels of the
> hierarchy. It *doesn't* seem to be merging hashes
Have a look in stdlib for the keys function.
R.
On 5 March 2014 15:56, Kenton Brede wrote:
> So in hiera I've got:
>
> users_common:
> user1:
> ensure: present
> home: /home/user1
> managehome: true
> user2:
> ensure: present
> home: /home/user2
(also inline)
On 3 Mar 2014, at 19:25, Christopher Wood wrote:
> (inline)
>
> On Mon, Mar 03, 2014 at 06:24:47PM +0000, Robin Bowes wrote:
>>
>> Additionally, it creates two places in which the parameters can be
>> automatically set. eg. ntp::install::packag
Hi Christopher,
On 3 Mar 2014, at 17:55, Christopher Wood wrote:
> We could have been talking in my cube. My points when I'm discussing this
> with coworkers generally go like so...
>
> If you use this:
>
> class { name: }
>
> You will only be able to declare that name once. If you declare c
We're currently arguing^w discussing the use of the params class in
conjunction with hiera lookups and we've arrived at what I think is a
pretty good pattern. Let me explain by way of example, using the venerable
ntp application
class ntp{
include ::ntp::params
Class['::ntp::params']->
cl
Nigel suggested I posted this here - he likes the idea.
I'm constantly getting bitten by small typos in my manifests, eg. when I
do something like:
$var1 = extlookup('foo')
$var2 = extlookup('foo')
# set $var3 true if $var1 is same as $var2
$var3 = ($var1 == $var)
puppet allows this, and sets $v
Hi all,
I've been asked to get comments on this proposed patch to
/etc/init.d/puppetmaster:
https://projects.puppetlabs.com/issues/5465
Alex Giurgiu modified the puppetmaster init script to balance
puppetmaster instances across CPU cores.
I updated his modification to use facter to get the no.
On 08/03/10 19:04, Michael DeHaan wrote:
> For those of you using both Func and Puppet (perhaps to kick off
> Puppetruns, or otherwise to just run arbitrary commands 'now' like
> shutdown, reboot, etc), Seth Vidal recently added some changes that
> make Func be able to use Puppet certs as an option
On 01/02/10 14:55, Doug Warner wrote:
>
> Since it's part of my base node that every box inherits, it's pretty painful
> to just ignore this one class. And as Dan said, this type of thing should be
> easily doable.
Here's an alternate approach:
1. Install extlookup
2. In your base class, have s
On 14/01/10 10:34, Andre Timmermann wrote:
> Am Mittwoch, den 13.01.2010, 16:01 -0500 schrieb Andrew Schulman:
>
>>>
>>> debug: Executing '/usr/bin/perl -ni -e 'print unless /^\Qssh-rsa
>>> B3NzaC1yc2EAA/5GytXDjAR3XoxTR6uM= test...@test
>>> \E$/' '/root/.ssh/authorized_keys''
>>
>> Change /...
On 12/10/09 12:42, Julian Simpson wrote:
>
> I swear people who use Puppet are more fertile. Congratulations, Paul!
>
There may be something in that - I have two sets of twins :)
Congrats Paul!
R.
--~--~-~--~~~---~--~~
You received this message because you a
On 18/09/09 12:18, David Schmitt wrote:
>
> Ben Lavender wrote:
>> Thanks for your response.
>>
>> I went through the type reference a little more closely. I had
>> assumed that the provider => redhat (I am running rhel 5) would give
>> me service xyz start/status/stop/restart on everything, but
You might like to investigate using func to push out your changes to the
puppet config.
R.
--~--~-~--~~~---~--~~
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@goo
On 13/08/09 02:48, Larry Ludwig wrote:
>>
>> Postings from new users are moderated - he had previously posted a
>> legitimate Puppet query. So he looked like a normal, valid user.
>
> Oh man spammers are resorting to one legit email, and then one spam eh?
More likely that something has compromi
Hi,
I'm looking at writing some template/classes that run services under
runit, rather then with SysV rc scripts (ie. in /etc/init.d).
It seems pretty straight-forward, but I'm running into an issue trying
to ensure that the service is up and started from the runit service but
not from the rc se
23 matches
Mail list logo