Hi,
That is a bug I also ran into, see:
https://tickets.puppetlabs.com/browse/PUP-4461
Cheers,
Roman
On Mon, May 18, 2015 at 6:00 PM, Louis Coilliot
wrote:
> Hello,
>
> I am subjected to a strange problem : after a few runs, the puppet master
> seems to completely loose the hiera
> Going to the install page at
https://docs.puppetlabs.com/guides/install_puppet/install_el.html I no
longer see that notice.
Not sure if it was always there, but it's on the next page:
https://docs.puppetlabs.com/guides/install_puppet/post_install.html#configure-a-production-ready-web-server
--
us=143)
>> >CGroup: /system.slice/pe-puppetserver.service
>>
>
This sounds to me like puppetserver started, the first ExecStartPost
command succeeded but then the systemd TimeoutStartSec value was reached.
I had the same with the open source puppetserver (
https://tickets.pu
ues:
https://tickets.puppetlabs.com/browse/CPR-183
https://tickets.puppetlabs.com/browse/CPR-184
Cheers,
Roman
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an em
On Mon, Apr 20, 2015 at 1:57 PM, Roman Mueller
wrote:
>
>
> Am I doing something wrong or am I hitting a bug?
>
This is confirmed to be a bug related to hiera_include.
See https://tickets.puppetlabs.com/browse/PUP-4461 for details if you are
also running into this.
Cheers,
Ro
ter that new changes don't get picked up anymore until I restart
puppetserver.
I can reproduce that behavior.
For an example session see:
https://gist.github.com/roman-mueller/cf776fd180a085a551c2
I'm running:
CentOS 7.0.1406 (but also reproduced it on CentOS 7.1.1503)
puppetserver-2.0.0-1
Hello,
I have two variables:
$a = some_path
$b = othe_path
and truing to compare it
if $a != $b { do something }
but always these variables are not equal for puppet.
In my case it can be equal, for example
$a = /var/cache/nginx/proxy_temp
$b = /var/cache/nginx/proxy_temp
How can it be fixed?
Thank you!
This is also working:
/usr/sbin/nginx -V 2>&1 | /bin/grep -oP "http-proxy-temp-path=.*?\s" |
/usr/bin/awk -F\'=\' {\'print $2\'}
среда, 19 марта 2014 г., 17:31:45 UTC+4 пользователь jcbollinger написал:
>
>
>
> On Wednesday, Marc
')
end
end
****
среда, 19 марта 2014 г., 11:27:15 UTC+4 пользователь Roman Alekseev написал:
>
> Hello,
>
> What is the best way in puppet to create a variable as result of command
> below:
> *$nginx_dir=`/usr/sbin/nginx -V 2> /etc/puppet/nginx.args
proxy-temp-path=' {'print $2'} | /usr/bin/awk {'print $1'} |
/bin/grep '\/'") endend*
Thanks.
среда, 19 марта 2014 г., 12:13:16 UTC+4 пользователь Jose Luis Ledesma
написал:
>
> Hi,
>
> I think that the best way is a custom fact.
>
> Re
Hello,
What is the best way in puppet to create a variable as result of command
below:
*$nginx_dir=`/usr/sbin/nginx -V 2> /etc/puppet/nginx.args | /bin/cat
/etc/puppet/nginx.args | /usr/bin/awk -F'--http-proxy-temp-path=' {'print
$2'} | /usr/bin/awk {'print $1'} | /bin/grep '\/'`*
Any advices
Hello,
just upgraded Hiera from ver. 1.2.1 to 1.3.0 and broke our puppet
environment. :)
It seems that there are sizeable changes related to variable interpolation
Here is an error during Puppet run:
Error: Puppet::Parser::AST::Resource failed with error
Hiera::InterpolationLoop: Detected in
Hi,
is anyone using the combination of uwsgi-plugin-rack-ruby with nginx and
puppet? I had Nginx+Passenger running fine before, but now there seems to
be a permissions-problem:
Nginx is relaying everything to the uwsgi-process:
/etc/nginx/sites-enabled/puppet:
server {
<---snip--->
root
e,
replace => false,
mode => 600,
content => template('hgssh3/authorized_keys.erb');
...
}
I was thinking i could somehow use the key-variable from the first class in
a the template of hgssh3 and just specify the user who should get access?
Is this
Hi,
Am Mittwoch, 3. Oktober 2012 19:00:15 UTC+2 schrieb Juan José Presa Rodal:
> Ok, I was missing the following line in the nginx location statement:
>
> uwsgi_modifier1 7;
>
>
> Now seems that works correctly (and very fast). When thoroughly adjusted I
> will publish the complete configuration
Is the module below correct?
class nginx {
if defined(Package['nginx']) {
file { "/tmp/puppet-nginx.sh":
ensure => "present",
owner => "root",
group => "root",
mode
On 20.06.2013 17:46, Martin Alfke wrote:
this case the file resource will only be managed if the package resource has
been defined.
This does not mean, that the package has been installed successfully!
For this option you have to add
require => Package['nginx'],
to your file resource.
Thank
Hi Everyone,
Is it possible to use File directive only if some software is installed,
otherwise do nothing?
For example:
file { "/tmp/puppet-nginx-init.sh":
ensure => "present",
owner => "root",
group
and invokes puppet ca accordingly (to get rid of stale certificates).
>
> HTH,
> Felix
>
> On 03/04/2013 11:04 AM, Roman Alekseev wrote:
> > Hi,
> >
> > Does anybody know how to perform auto removing certificate of host which
> > is unreachable some period?
Hi,
Does anybody know how to perform auto removing certificate of host which is
unreachable some period?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
re elaborate setup would certainly make sense.
thanks,
Roman
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
uot;/some/fs/puppet/modules:$confdir/modules:/usr/share/puppet/modules"
so everything puppet-internal is still in /etc/puppet, and I can hack away
(under CVS control) at the files under /some/fs/puppet.
Does this make sense?
Thanks for your consideration,
Roman
--
You received this message
isplay/BIGTOP/Next+generation+Puppet+code+for+Bigtop+deployment
Hopefully the outcome of this exercise will be useful not only
to the Apache Bigtop, but to the bigger pupper user community
as well.
Thanks,
Roman.
--
You received this message because you are subscribed to the Google Groups
"
riables that depend on
toplogy,
4) variables that are set based on external context but can be
categorized in a node by node basis, such as ntp server
address based on location of data center, or which users
should have logon access to which machines
Thanks,
Roman.
--
You
chitecting the class hierarchy, but I need
a bit more practical advice.
Thanks,
Roman.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+uns
is literally a #define as it is known in C.
There's a bunch of code that I need to be 'pasted' in a couple of different
places and I'm wondering whether there's a language construct that
could help me.
And when I say 'pasted' -- I do mean it. 'Pasted' as in
ses
class foo {
$var1 = ...
this_is_really_a_macro { "macro 1": }
}
Then, because of the dynamic scope lookup everything would
work just fine.
Question: what's the recommended way of migrating to
Puppet 3.X+ world here?
Thanks,
Roman.
--
You received this message because you are s
cascade changes with every
single deployment
# such knowledge originates with an ENC
having Hiera in the mix would mean yet another subsytem which
state I'd have to keep consistent with the state of my ENC.
> That sounds like a workable solution, but whether it makes sense depends
r looking up
those very same values. Then my params class could be made rewritten as:
class cluster::hdfs::params {
auth = hlookup('auth', $::cascading_defaults, ['cluster',
'hdfs'], 'simple')
}
Does it make sense?
Thanks,
Roman.
hdfs::params {...}
..
class cluster::hdfs::params {
if defined(Class['cluster::hdfs']) {
$auth = $cluster::hdfs::auth
} elsif defined(Class['cluster']) {
$auth = $cluster::auth
} else {
#x27;roles' and 'profiles',
And as I mentioned I find profiles to be quite useful. Its the
role concept that I'm not necessarily
> * A role contains business logic
Could you give an example here? What else are roles, but a flat collection
of profiles?
Thanks,
Roman
ues do you think it will help you solve.
Now, having 'profiles' as the place to handle inter-module
dependencies seems like a pretty good idea.
Thanks,
Roman.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this gro
l du jour for that would be augeas. That said, if the config
file actually happens to be under your manifest control fully (even though
different resources are depositing bits and pieces of configuration info
into it) you could go with virtual resource template and sed.
Thanks,
Roman.
--
You rece
ve the rest of
> the file untouched.
>
> Which would be the best way to do this?
>
> I see two options:
There's an extra option involving augeas that may work for you:
http://projects.puppetlabs.com/projects/1/wiki/puppet_augeas
Thanks,
Roman.
--
You received this mes
s system::files {
> case $hostname {
Off the top of my head you may want to try $::fqdn instead.
Thanks,
Roman.
--
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 u
Unless I've misunderstood your question, wouldn't a
simple dependency of the following kind work?
require => Apt::Ppa[ "ppa:nginx/stable" ]
Thanks,
Roman.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post
Hi!
It really isn't quite clear what the context here is. Could you
tell us a bit more about your setup?
Thanks,
Roman.
On Fri, Dec 21, 2012 at 12:22 PM, Murali Babu wrote:
> Hi,
>
> some one please help me with following,
>
>
> how to add a user to puppet
> how to
se tarballs:
https://github.com/jordansissel/fpm
Thanks,
Roman.
--
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
l
* good ol' case statements in your site.pp
case $::fqdn {
}
* manual execution of puppet apply with that single class given to it
echo 'your_class' | puppet apply
Please let us know a bit more about your setup.
Thanks,
Roman.
--
You received this
rse ;-)).
> * use the standard template function with multiple arguments; look at
> http://docs.puppetlabs.com/guides/templating.html and scroll down to
> "Combining templates"
You lost me there -- would you mind elaborating how these
type of 'Combining templates' could
> Make the common configuration file virtual. Give it a default "dummy"
> configuration file with replace = false (I do this because creating a file
> with augeas seems a bit shaky to me)
replace = false ? Could you elaborate, please?
Thanks,
Roman.
--
You received thi
he names themselves are
descriptive (and they are NOT order sensitive). The only problem
with them is that you can't tell by just looking at a name where
the property should go.
Thanks,
Roman.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" gro
but it
seems I can't pass any values into it.
I suppose I can still do that and create a skeleton
of the common config in that singleton class
that would later be manipulated either by augeas or
concat patterns, but this seems to be pretty heavyweight.
What would you, guys, recommend?
Tha
git_ps1 " \"" (%s)"\"")]\$ '
The single quote following PS1= closes the string and the next character
puppet parser sees is [ -- that's what it seems to complain about.
Thanks,
Roman.
--
You received this message because you are subscribed to the Google
of what it could be? Or
at least how can I go about debugging what's wrong?
I'm running puppet 2.6.17 (from epel) on CentOS 6.3
Thanks,
Roman.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send e
Hi James.
Could you tell if you found a resolution to this problem? I seem to
experience it as well.
Thanks in advance,
Regards,
Roman
On Oct 20, 2:31 am, "luke.bigum" wrote:
> Hi all,
>
> I'm having a stupid moment getting a remote file bucket working. My
> clien
46 matches
Mail list logo