On Monday, April 9, 2012 5:35:09 PM UTC+3, jcbollinger wrote:
I'm not following why defined types present a special problem here.
They aren't a special problem: they simply haven't *solved* the problem.
If as generalized as I can get is defining some types, where do I put the
declaration of
On Monday, April 9, 2012 6:12:48 PM UTC+3, Nan Liu wrote:
You can use create_resources to make this a bit more flexible and
dynamic with the ability to specify resources in your ENC:
Either that doesn't actually apply to my question, or using it as a
solution horrifies me.
--
You received
I have a `sysctl::variable` defined type that creates files in
`/etc/sysctl.d`. Some operating systems (*cough*SLES10*cough*) don't read
sysctl settings from `/etc/sysctl.d`, though, and expect all settings to be
in a single file, `/etc/sysctl.conf`. For such operating systems, I'd like
to
Dear List,
i'm running Puppet version 2.7.1 (Natty backport) on both sides. I
have a custom fact in [module]/lib/facter/customfact.rb and i have
enabled pluginsync on both the server and client side. When i'm
running the agent it shows the following output:
puppetd --test --noop
info:
It's definitely a class loading problem and I don't think Jeeva is using
modules at all.
Jeeva:
Could you pls try the things I said in my previous post and see if that
works? Cheers!!
On Monday, April 16, 2012 1:34:31 AM UTC+1, Wil Cooley wrote:
On Apr 13, 10:49 am, Munna S
Hi Sans
i am trying it now. will let you know the output soon. Also in my site.pp i
have the below content
import 'nodes/*'
$puppetserver = 'puppet-server.domain.com'
I do have many modules , which works as expected.
Thanks,
Jeeva
cat /etc/puppet/manifests/site.pp
On Mon, Apr 16, 2012 at
Hi,
I'm installing puppet dashboard on a server1.
I have an already existing mysql service, hosted on server2. Is it
possible to configure database.yml in the puppet dashboard to use the
host server2 instead of localhost ?
Regards,
--
*Fabien COMBERNOUS*
/unix system engineer/
www.kezia.com
Hi all,
I'm jumping into learning puppet with the modules on Puppetlabs
websites, but I'm running into a few issues and I could use some help.
I'm currently working on the second exercise here:
http://docs.puppetlabs.com/learning/variables.html
I can write a manifest that installs NTP for
I've run into the following issue with parameters that are dependent on
each other. Suppose I have the following class:
class foo(
$owner,
$prefix = /opt/${owner},
$etc_dir = ${prefix}/etc
) {
file{${etc_dir}:
ensure = directory,
owner = $owner,
group =
Hi,
I updated the Puppet Enterprise 2.0 to 2.5.1 and tried to restart the httpd
and getting following error in /var/log/pe-httpd/puppetdashboard.error.log
[warn] RSA server certificate CommonName (CN) `pe-internal-dashboard' does
NOT match server name!?
--
Thanks,
Aphroj Hussain
--
You
Hi all!
One of my Puppet masters has to compile some 3800 stored configurations which
takes a very long time to proceed. Example log:
Apr 16 13:17:13 mymaster puppet-agent[15249]: Finished catalog run in 954.58
seconds
Apr 16 13:18:35 mymaster puppet-master[11422]: execution expired
Apr 16
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That is possible you just need to edit the hosts parameter. The
Dashboard is a rails application don't forget to migrate your database
afterwards,
Regards,
Mike
Am 16.04.2012 12:19, schrieb Fabien COMBERNOUS:
Hi,
I'm installing puppet dashboard
Thank you for your answer.
I added the hosts parameter in the file :
# config/database.yml
production:
database: dashboard
hosts: server2
username: dashboard
password: dashboard
encoding: utf8
adapter: mysql
Then i used the migrate and got the following output :
Hi Sans,
I followed your steps, but i am getting the same error again
Apr 16 11:29:39 pil-vm-pup-01 puppet-master[8092]: Could not find class
cp_jboss_conf for vm-jeeva2.aircell.prod at
/etc/puppet/manifests/nodes/vm-jeeva2.aircell.prod.pp:2 on node
vm-jeeva2.aircell.prod
Apr 16 11:29:39
Hi
I had met the problem,so I want to know the answer.
在 2012年4月16日 下午7:31,Bernd Adamowicz bernd.adamow...@esailors.de写道:
Hi all!
One of my Puppet masters has to compile some 3800 stored configurations
which takes a very long time to proceed. Example log:
Apr 16 13:17:13 mymaster
humm.. not sure but looks like couple of steps from my previous post
are missing.
Can you pls confirm that you have all of these:
1. The line: *import 'modules'* in */etc/puppet/manifests/site.pp*
2. The line: *import 'jb_test'* in* /etc/puppet/manifests/modules.pp*
3. The file:*
1. The line: *import 'modules'* in */etc/puppet/manifests/site.pp
- i do have site.pp file but dont have the entry for modules. i added
the entry but later i saw lot of errors related to modules in log
*
2. The line: *import 'jb_test'* in* /etc/puppet/manifests/modules.pp
- i
On Apr 13, 4:08 am, Guillaume Rousse guillomovi...@gmail.com wrote:
Hello list.
I'd like to implement a basic 'onlyif' property, as existing in 'exec'
type, to 'service' type. Rather than patching the original puppet code,
I think I could use the custom type mechanism, and implement my own
On 16/04/2012 14:03, Fabien COMBERNOUS wrote:
[...]
Then i used the migrate and got the following output :
server1:puppet-dashboard root# rake RAILS_ENV=production db:migrate
(in /usr/share/puppet-dashboard)
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
I missed something ?
The
The evaluation order of the parameters is not deterministic as I learned
when implementing validation of references in Geppetto. (BTW, Geppetto
issues warnings/errors when trying to reference potentially
uninitialized variables as in your example).
You need to move the logic computing the
On Apr 12, 10:06 pm, runner pengyongb...@gmail.com wrote:
Hi,
I am a new user of puppet. We want every user of our group to manage
software in his/her machines. How can puppet support this? Thank you.
Puppet does not prevent users from employing the ordinary tools (yum,
apt, etc.) for
So will the setting of the values for $owner and $prefix be deterministic,
when set inside a class or resource definition?
Also, what if I want to be able to override these with user settings?
(That's one of the reasons that they are parameters in the first place.)
On Monday, April 16, 2012
Hi everyone,
A quick question for you, here is the code:
$tt=regsubst(test,^(.*)-(.*),'\2')
Doesn't return: undef or nil, it does return: test
Niether does $tt=regsubst(test,^(.?)-(.*),'\2')
or $tt=regsubst(test,^(.+?)-(.*),'\2').
Is there a way to return undef if the string doesn't include
On Apr 12, 5:26 pm, Will S. G. w...@arw.in wrote:
Hello,
Is there a way to define an environment for the prospective nodes in
nodes.pp (maybe a default node?) I'd like to be able to define it there and
then have my puppet module configure the node puppet.conf (erb template)
based on the
Le 16/04/2012 15:02, jcbollinger a écrit :
Moreover, I don't find the current behavior that bad. Is it better to
continue running the service with an out-of-date configuration? Is it
better to delay discovering the problem until the machine is
restarted, or until you or some other admin tries
On 2012-04-16 15:26, Antidot SAS wrote:
A quick question for you, here is the code:
$tt=regsubst(test,^(.*)-(.*),'\2')
Doesn't return: undef or nil, it does return: test
As expected and intended.
Niether does $tt=regsubst(test,^(.?)-(.*),'\2')
or $tt=regsubst(test,^(.+?)-(.*),'\2').
On Apr 13, 1:40 pm, Chip Schweiss chip.schwe...@gmail.com wrote:
I'm in the process of scalling my puppet master to two server with a
separate CA. My plan was to establish a new CA and reissue
certificates. Part way through the process I noticed a behavior that
seems a bit alarming.
On Apr 13, 10:17 am, Rocky rosco...@gmail.com wrote:
Hi, I have this definiton for keepalived. And i need to feed the template
this array that i will loop trough.
site.pp definition snippet:
keepalived::vrrp_virtual_server {
real_servers = { realserver1 = { ip =
Thx for the reply it helps.
But how come the \2 returns something that I never asked?
On Mon, Apr 16, 2012 at 3:47 PM, Thomas Bellman bell...@nsc.liu.se wrote:
On 2012-04-16 15:26, Antidot SAS wrote:
A quick question for you, here is the code:
$tt=regsubst(test,^(.*)-(.*),'\2')
Hi everyone,
Maybe a dump question but what happens if for a file ressource I specify a
source and a content? Is there a priority? The resul won't be determinist?
Regards,
JM
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this
On Apr 16, 8:22 am, Robert Rothenberg rob...@gmail.com wrote:
So will the setting of the values for $owner and $prefix be deterministic,
when set inside a class or resource definition?
Manifest code inside a class or definition is processed in lexical
order.
Note also that some programming
Hi guys, I trying to modify a file on Windows using puppet, I got a
template file like this:
[default]
host = SOmeNAme
[WinEventLog:Security]
disabled = 1
is copied using puppet to the windows machine as C:\Program
Files\Soft1\inputs.conf
And I need to replace the host line with the real
On Mon, Apr 16, 2012 at 6:22 AM, Robert Rothenberg rob...@gmail.com wrote:
So will the setting of the values for $owner and $prefix be deterministic,
when set inside a class or resource definition?
Yes. The issue with parameters in class declaration is described in
further details here:
On Apr 16, 3:13 am, Jonathon Anderson anderbub...@gmail.com wrote:
On Monday, April 9, 2012 5:35:09 PM UTC+3, jcbollinger wrote:
I'm not following why defined types present a special problem here.
They aren't a special problem: they simply haven't *solved* the problem.
If as generalized
According to your configuration, I don't think my code will work at all.
Your setup is quite different then mine and I've no other suggestions for
you at the moment. Hopefully, someone else will pick it up from here.
Cheers!!
On Monday, April 16, 2012 1:59:25 PM UTC+1, Jeeva wrote:
1.
On Apr 13, 10:17 am, Rocky rosco...@gmail.com wrote:
weight = '100'
Also, you're missing a comma after each appearance of that entry.
John
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to
On 2012-04-16 15:57, Antidot SAS top-posted:
Thx for the reply it helps.
But how come the \2 returns something that I never asked?
It doesn't. But since there are no occurrances of '^(.*)-(.*)',
then there are none that get replaced. Similarly, if you do:
regsubst('foobar', 'x', 'y')
Gary, thanks very much for that. I got that to work as I wanted after
a bit of fighting with other issues of my own creation. So I am very
grateful to you for your help.
If you ever in Dublin, Ireland. Look me up, I owe you a favor so I'm
willing to pay back, within reason of course.
Best
Sean
Thanks everyone! This is a good start. I'll have to research most of
this but at least I know what to research now. Thanks.
Josh
On Apr 12, 10:19 am, Brian Gallew g...@gallew.org wrote:
I'm absolutely with John on this. As an example, for our JBoss application
we need the configuration file
Thank you so much San for your time and help.
Can anyone help me with this
-Jeeva
On Mon, Apr 16, 2012 at 9:54 AM, Sans r.santanu@gmail.com wrote:
According to your configuration, I don't think my code will work at all.
Your setup is quite different then mine and I've no other
Hi Marco,
On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. marco.parr...@gmail.comwrote:
Hi guys, I trying to modify a file on Windows using puppet, I got a
template file like this:
[default]
host = SOmeNAme
[WinEventLog:Security]
disabled = 1
is copied using puppet to the windows
On Mon, Apr 16, 2012 at 6:59 AM, Antidot SAS antidot...@gmail.com wrote:
Hi everyone,
Maybe a dump question but what happens if for a file ressource I specify a
source and a content? Is there a priority? The resul won't be determinist?
Regards,
JM
The file resource should generate a
thx
On Mon, Apr 16, 2012 at 6:01 PM, Josh Cooper j...@puppetlabs.com wrote:
On Mon, Apr 16, 2012 at 6:59 AM, Antidot SAS antidot...@gmail.com wrote:
Hi everyone,
Maybe a dump question but what happens if for a file ressource I specify
a source and a content? Is there a priority? The resul
Ok, I totally forget that replacement part is not a search :D
On Mon, Apr 16, 2012 at 5:00 PM, Thomas Bellman bell...@nsc.liu.se wrote:
On 2012-04-16 15:57, Antidot SAS top-posted:
Thx for the reply it helps.
But how come the \2 returns something that I never asked?
It doesn't. But
Hi,
My puppet server was working up until I configured it to be a puppet
client. I applied the configuration on the server which seemed to work
fine. However, now when ever a client or itself
asks for an updated configuration it always comes back with a successful
poll, no updates, and the
On 16-04-2012 12:55, Josh Cooper wrote:
Hi Marco,
On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D.
marco.parr...@gmail.com mailto:marco.parr...@gmail.com wrote:
Hi guys, I trying to modify a file on Windows using puppet, I got
a template file like this:
[default]
host =
Hi Psychobyte,
Can you please post you site.pp and nodes.pp file which u have in
server.
On Monday, April 16, 2012 10:15:25 PM UTC+5:30, psychobyte wrote:
Hi,
My puppet server was working up until I configured it to be a puppet
client. I applied the configuration on the server which
Hi Josh
On 16-04-2012 12:55, Josh Cooper wrote:
Hi Marco,
On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D.
marco.parr...@gmail.com mailto:marco.parr...@gmail.com wrote:
Hi guys, I trying to modify a file on Windows using puppet, I got
a template file like this:
[default]
Hi Josh,
Where can I find the complete fact's list to use on windows?...
thank you in advance!
Regards..
On 16-04-2012 12:55, Josh Cooper wrote:
Hi Marco,
On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D.
marco.parr...@gmail.com mailto:marco.parr...@gmail.com wrote:
Hi guys, I trying to
On Mon, Apr 16, 2012 at 1:30 PM, Marco Parra D. marco.parr...@gmail.comwrote:
Hi Josh,
Where can I find the complete fact's list to use on windows?...
thank you in advance!
Regards..
You should be able to run Facter directly on the system in question.
On 16-04-2012 12:55, Josh Cooper
Hi Kelsey,
thank you, Are these the only list of facts?, What makes this list?,
It's possible add more facts to windows?
Thank you
Regards.!
On 16-04-2012 14:33, Kelsey Hightower wrote:
On Mon, Apr 16, 2012 at 1:30 PM, Marco Parra D.
marco.parr...@gmail.com mailto:marco.parr...@gmail.com
On Sat, Apr 14, 2012 at 8:53 PM, Dan White y...@comcast.net wrote:
Great to hear this, but I am now looking for a reliable way to get Ruby 1.8.7
or 1.9.3 onto a RHEL-5 system. The environment I am working still has RHEL 3
and 4 machines running, and I would not hold my breath waiting for
Hi Marco,
On Mon, Apr 16, 2012 at 10:45 AM, Marco Parra D. marco.parr...@gmail.comwrote:
Hi Kelsey,
thank you, Are these the only list of facts?, What makes this list?,
I don't think we have a facts supported by platform sort of document.
Windows does support basic facts, e.g. hostname,
Gary Larizza wrote:
Have you checked out the packages that Karanbir Singh has created? They
work fairly well -- http://centos.karan.org/el5/ruby187/
They're also not updated for recent security vulnerabilities, which
should be a concern for anyone deploying them in production.
Basically,
Michael Stahnke wrote:
For the next major Puppet version, code-named Telly, we have some
changes coming. This is the first in a series of emails around these
changes and may require some input from the community.
For Telly, the nagios types will be moved into a module. This allows
them to
In regard to: Re: [Puppet Users] Telly: Nagios types moving into Module,...:
If I wanted to use a
secondary package management system, I could use gems or eggs or CPAN, but I
don't. ;)
+1.
Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing
Hi Josh
On 16-04-2012 15:24, Josh Cooper wrote:
Hi Marco,
On Mon, Apr 16, 2012 at 10:45 AM, Marco Parra D.
marco.parr...@gmail.com mailto:marco.parr...@gmail.com wrote:
Hi Kelsey,
thank you, Are these the only list of facts?, What makes this list?,
I don't think we have a facts
A pm2rpm tool perhaps Todd? :-).
On Mon, Apr 16, 2012 at 7:36 PM, Todd Zullinger t...@pobox.com wrote:
Michael Stahnke wrote:
For the next major Puppet version, code-named Telly, we have some changes
coming. This is the first in a series of emails around these changes and
may require some
Hi,
if possible can someone post a working example please ?
I am using hiera = puppet = augeas.
cat myserver.yaml
---
myserver:
Birthday: '1'
Debug: '5'
The no. of settings will change, so i would like to use a hash here.
The hiera lookup works already:
hiera -c
On Mon, Apr 16, 2012 at 11:29 AM, Todd Zullinger t...@pobox.com wrote:
Gary Larizza wrote:
Have you checked out the packages that Karanbir Singh has created? They
work fairly well -- http://centos.karan.org/el5/ruby187/
They're also not updated for recent security vulnerabilities, which
On Mon, Apr 16, 2012 at 4:14 AM, Afroz Hussain hussainaph...@gmail.com wrote:
Hi,
I updated the Puppet Enterprise 2.0 to 2.5.1 and tried to restart the httpd
and getting following error in /var/log/pe-httpd/puppetdashboard.error.log
[warn] RSA server certificate CommonName (CN)
On Sat, Apr 14, 2012 at 8:34 PM, Wil Cooley wilcoo...@gmail.com wrote:
On Thursday, April 12, 2012 10:06:25 AM UTC-7, Jeff McCune wrote:
The problem is that modules like stdlib need Puppet to be initialized
in a manner suitable for testing. Setting things like confdir and
what not. This
I'd like to recommend the frameos version instead. If you're going to do it
from source, the frameos ruby spec file is much simpler, with much smaller diff
files against the distro, and doesn't compile in a bunch of japanese and Tk
stuff. I've been updating the spec file to track the latest
Hi All,
i'd like to define a file resource that transfers a tar ball that doesn't
have fixed name
actually tarball name will be tarball_name-version.tar.gz
i tried to define file resouce as following using regex :
file { /opt/tarball_name*.tar.gz :
...
}
but it seems that regex doesn't
Actually, this was a stupid mistake on my part.
I manage the puppet.conf file, when I applied the config. the puppet master
config file got set to a puppet client config.
I'm surprised it didn't output any error messages.
On Monday, April 16, 2012 9:45:25 AM UTC-7, psychobyte wrote:
Hi,
Hi Guys, Let me Introduce myself as self learner and very new to
puppet and I am sure that now on I am staying here in this group for
long and keep asking questions,
I am sorry if my message annoys you or if its a bit childish please
forgive me but i believes that if you want to learn you should
Hi Guys,
Currently I'm coding a recipe for installing some UNIX daemon (openca,
but that's not very relevant).
This works fine, except some dependency stuff regarding classes from
an external module.
My current setup is like this:
/etc/puppet/modules/openca/manifests/init.pp:
class openca {
On Mon, Apr 16, 2012 at 4:07 PM, Ken Barber k...@puppetlabs.com wrote:
A pm2rpm tool perhaps Todd? :-).
Something like pm2rpm would work, but we need to have a least one standard
path for Puppet modules. I guess we can count on /etc/puppet/modules or
/usr/share/puppet/modules being part of the
I know I need to have ruby-shadow installed to get puppet to be able
to manage shadow file based passwords.
so tried to code that up in a puppet manifest like this:
===
class strobenet {
package { 'ruby-shadow':
ensure = 'present',
}
user { 'tuser':
On Mon, Apr 16, 2012 at 11:36 AM, Todd Zullinger t...@pobox.com wrote:
Michael Stahnke wrote:
For the next major Puppet version, code-named Telly, we have some changes
coming. This is the first in a series of emails around these changes and
may require some input from the community.
For
I want to distribute a binary directory based upon whether the
architecture is 32- or 64-bit. It appears I cannot nest a case
statement under file, however this is what I was attempting to do:
file { /usr/local/nagios/libexec:
require = File['/usr/local/nagios'],
You're pretty close. You don't want the case statement per se, but you do want
a conditional:
file { /usr/local/nagios/libexec:
require = File['/usr/local/nagios'],
ensure = directory,
owner = 'root',
group = 'root',
mode= 655,
recurse = true,
source = $::architecture {
If you are not running your agents in daemon mode, you can have a look
at mcollective. It allows you to define a set of servers that you want
to do a puppet run on.
cheers,
Walter
On Tue, Apr 17, 2012 at 05:31, OverDue Ocean overdueoc...@gmail.com wrote:
Hi Guys, Let me Introduce myself as
On Mon, Apr 16, 2012 at 11:36 AM, Todd Zullinger t...@pobox.com wrote:
Michael Stahnke wrote:
For the next major Puppet version, code-named Telly, we have some changes
coming. This is the first in a series of emails around these changes and
may require some input from the community.
For
This is kind of an argument against moving these things out of the core in
the first place in my opinion. The fact that you can now have multiple
versions of the nagios provider is just worse than having a single copy.
Before at least I could update to 2.7.x and be assured all my providers
were
Old thread reference:
http://www.mail-archive.com/puppet-users@googlegroups.com/msg27199.html
I am trying to build Ruby 1.8.7 on a RHEL 5 system following the instructions
in that thread and I have a few questions as I am a n00b to RPM building:
On Jan 4, 2012, at 8:04 PM, Jo Rhett wrote:
wget
I'm hoping I'm just missing something simple.
I ran across this in my deployment setup and have replicated in a
simple set of manifests. command output and the manifests below.
basically start with a user/group name but it had the name was
misspelled 'txuser'
so correct it to 'tuser' but
Hi,
Use
file { /opt/tarball_name-${version}.tar.gz :
You then declare that with
$version = 1.2.3
See http://docs.puppetlabs.com/learning/variables.html for fuller explanation.
Den
On 17/04/2012, at 7:32, Eslam Mamdouh emamd...@cloud9ers.com wrote:
Hi All,
i'd like to define a file
Hi Puppet Users,
Puppet Version - v2.7.13
Ruby Version - ruby 1.8.7 (2010-08-16 patchlevel 302) [i486-linux]
I am trying to use the Puppetlabs DHCP module
(https://github.com/puppetlabs/puppet-dhcp) to setup a DHCP server on one of my
nodes.
I have followed the example in the readme.md file
On Apr 16, 2:39 pm, Boudewijn Ector boudew...@boudewijnector.nl
wrote:
Very very simple, except for the fact that I want to add the
dependency for the mysql::database too. I'm using this excellent
module for managing mysql:https://github.com/camptocamp/puppet-mysql
Is there a neat way to do
On Apr 15, 4:44 pm, Jesse anonym...@gmail.com wrote:
case $operatingsystem {
centos, redhat: { $ntp = ntp }
debain, ubuntu: { $ntp = ntpd }
This is backwards; centos/redhat should be 'ntpd' and debian/ubuntu
should be 'ntp'.
if $ntp == 'ntp' {
service { 'ntp':
name =
Thankyou - this was a great help, and fixed my issue straight off.
Good to know about the version problem.
Steve
--
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
On Apr 16, 1:45 am, Jonathon Anderson anderbub...@gmail.com wrote:
I have a `sysctl::variable` defined type that creates files in
`/etc/sysctl.d`. Some operating systems (*cough*SLES10*cough*) don't read
sysctl settings from `/etc/sysctl.d`, though, and expect all settings to be
in a single
83 matches
Mail list logo