Thanks for the answer, but the main question is why puppet need to have 2
puppet runs instead of one in the 2 nd example?
On Wednesday, 15 October 2014 14:11:48 UTC+1, jcbollinger wrote:
>
> I'm uncertain which differences between the two logs you find
> significant. They do appear to have be
I have puppet run on 2 host
On the first one looks like this
Oct 14 12:28:21 node1 puppet-agent[3447]:
(/File[/etc/yum/pluginconf.d/versionlock.list.packages]/content) content
changed '{md5}8f8bac772793e3e4d83fc04c94f28ccb' to
'{md5}12bae94916fc072e808415ddfc3f1583'
Oct 14 12:28:21 node1 pup
I got the following lines in Hiera:
# My hash array
somehash::somevalues:
# NODE1 - ukdc1-c1-pscn01 -- 172.19.128.2 - below
FIRSTARTEFACT1:
artefact: FIRSTARTEFACT
order: ??
SECONDARTEFACT:
artefact: SECONDARTEFACT
order: FIRSTARTEFACT1
Thank you for fast response...
But in my case I manage the content of the file with puppet...
I use built in functions of nagios...
Nagios_service <<||>>
@@nagios_service { "Proc-$fqdn":
use => 'generic-service',
check_command => 'check-p[roc',
Zach Leslie wrote:
> The rsync config should be sorted now. Give a test and let us know
> if there are any issues.
It works like a charm now, thank you!
--
Best regards
Marcin Trendota
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
.com (96.126.116.126):
Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122)
[Receiver=3.0.8]'
Does anybody know what happened? BTW: command from
http://tinyurl.com/3qvmpn7 also doesn't work for me.
--
Best regards
Marcin Trendota
--
You receive
This should work:
package { "foo":
ensure => installed
}
package { "foo-1.2":
ensure => installed
}
or
package { "foo":
ensure => installed
}
package { "foo.$architecture":
ensure => installed
}
on CentOS. Possibly other OS's should have similar workaround(s) (
034 #445035
regards,
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until it can read mail."
27;ll find there something you'd like to reuse.
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expa
ive a database restart, degrading gracefully (serving from cache or
whatever). You would not want to degrade ungracefully by shutting it
down with the DB.
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Eve
em. The RAM
> > usage could be a more significant problem in smaller systems.
> >
> Using nice is not an option with puppet, as all services/daemons that puppet
> will start would be in the same nice level as puppet.
If only there was SMF for Linux.. ;-)
--
Marcin Owsiany
roject for literally years now. I guess if I don't take the
opportunity to send it out now, the code might never see daylight.
I hope someone finds it useful, and perhaps even give it some love.
It's been quite a while since I used them, so I'm not sure if they work
with modern puppet.
ble | source, all
> > facter |1.5.7-1 | unstable | source, all
> >
> > they're both up there now.
> >
> > --
> > nigel
> >
> What is rmadison???
$ whatis rmadison
rmadison (1) - - Remotely query the Debian archive database abo
er per node, then
the "set variable + include class" approach simply will not work. You
have to use a define. (But note that you will have to vary the ${name}s
of the resources in that case as well.)
regards,
--
Marcin Owsiany
On Tue, Aug 11, 2009 at 06:11:35PM +0100, Paul Nasrat wrote:
>
> 2009/8/11 Marcin Owsiany :
> >
> > Hi,
> >
> > I don't know whether this is a ruby, puppet, or facter bug. The whole
> > issue is one of the "really weird" ones.
>
> Not ha
;/sbin/ip", "link", "show", "eth0"], [/* 18 vars */])
= 0
10809 execve("/sbin/ifconfig", ["/sbin/ifconfig", "eth0"], [/* 18 vars */]) = 0
10811 execve("/usr/bin/which", ["which", "uptime"], [/* 21 vars
github.com',
> }
>
> which is more idempotent.
>
> /tmp is thought only for temporary files. on the different systems this
> file will be missing after a certain amount of time or after a reboot.
> hence puppet would rerun the exec again.
Also, if "gem sources -a&qu
On Mon, Jun 15, 2009 at 09:09:03AM -0700, Jean-Michel Philippon-Nadeau wrote:
> Any ideas how I can troubleshoot my issue?
Perhaps run puppetd in nodaemon mode under strace.
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3
I haven't
> > done this yet, but assuming you have installed ruby-shadow package,
> > you just need to specify the crypted string.
> >
> >
> It's easy enough to just use sed in a exec to updatet the hash in shadow.
Sounds like a recipe for a race condition :-/
On Wed, May 06, 2009 at 09:24:41AM -0500, Evan Hisey wrote:
> openssl passwd -crypt $passwd
[...]
> encrypted password so it will go over the wire encrypted. It will now
But it will still show up unencrypted in processlist.
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG:
if that has not been done properly.
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until it can read mail."
On Wed, Apr 08, 2009 at 07:44:07PM +0100, Gary Law wrote:
> 2009/4/6 Marcin Owsiany
>
> >
> > On Mon, Apr 06, 2009 at 10:50:17AM +0100, Gary Law wrote:
> > > + start-stop-daemon --stop --quiet --pidfile /var/run/puppet/puppetd.pid
> > [...]
> > > g...@
d.
-p, --pidfile pid-file
Check whether a process has created the file pid-file.
My guess would be that you need more arguments, perhaps "--name"?
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
t runs in the same OpenVZ container.
>
> When I stop puppetd, all thing goes allright.
>
> My puppetd/puppetmaster versions is 0.24.5 from Debian/Lenny
> distribution.
>
> How can I find what is goes wrong?
Use strace and/or tcpdump to find out what the programs
On Fri, Apr 03, 2009 at 05:58:45PM +0100, Gary Law wrote:
> g...@dv01:/ $ sudo /etc/init.d/puppet stop
[...]
> I can't see any obvious reason why this isn't working
sudo bash -x /etc/init.d/puppet stop
might be enlightening..
--
Marcin Owsiany http://marcin.o
;:
You probably want "set $name to $value for $user" to avoid duplicates...
Also, perhaps an "onlyif" parameter to avoid setting this every time
(unless gconftool already checks current value and no-ops if no change
is required).
--
Marcin Owsiany http://marcin.owsi
_preferences
--
Marcin Owsiany http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until it can read mail."
=> installed,
> > require => Package["vim-purge"]
> > }
>
> Excellent suggestion. That, of course, fixed the problem.
That is not ideal, though, as it leaves you with a window of not having
any vim installed. It would be better if puppet just decided to install
e the file resource "notify" a command resource which
could do anything you wanted.
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in d
On Tue, Nov 25, 2008 at 06:51:02PM -0800, jrojas wrote:
>
> The first part I am not sure on, the second part is interesting.
> Net-SNMP always does weird things.
> Can you get a diff of the two files?
Yes, adding --noop does that.
--
Marcin Owsiany <[EMAIL PROTECTED]>
On Tue, Nov 25, 2008 at 02:51:51AM -0800, Bruno B wrote:
>
> After restarting this zone it finally works.
Maybe nscd got hosed?
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1
> I never considered needing a default)
One way is to use selectors instead of case statement in such case.
In this case it would just fail with:
No matching value for selector param '' at file.pp:N
And all would be well.
--
Marcin Owsiany <[EMAIL PROTECTED]>
file somewhere (try sticking another dummy nameserver into
the array and see if it appears on the client).
If you rule this out, then I definitely think this is a bug.
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E
array elements to a single array.
Please show a minimal example of what you do.
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expa
othing.
Have a closer look at
http://reductivelabs.com/trac/puppet/wiki/TypeReference#service
to see how the service type checks for running services and how you can
tweak that.
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E
On Tue, Nov 04, 2008 at 04:01:06PM +0100, Thomas Bellman wrote:
>
> Marcin Owsiany wrote:
>
> > On Tue, Nov 04, 2008 at 06:03:24AM -0800, Jeff wrote:
> >> How do I reference the values of the array in this block:
> >>
> >> notify { [&quo
f: $name"
> }
>
> i.e., what do I use in place of "$name"?
As far as I know, foo { [a, b, c]: } is purely a syntactic shortcut for:
foo { a: } foo { b: } foo { c: }
In other words, there are actually 7 different resources in your example.
--
Marcin Owsiany <[EMAIL PROT
auto-assign it. However, passing uid => null,
If memory serves me, it should be uid => nil
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in
On Thu, Oct 16, 2008 at 07:16:39AM -0700, zoniguana wrote:
> Is if possible to include a class, onlyif a given file exists?
Currently not, this is bug
http://projects.reductivelabs.com/issues/show/651 on which I'm going to
start work Really Soon Now (tm).
--
Marcin Owsiany <[EMAI
I'm having problems with google groups
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until
I'm having problems with google groups
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until
41 matches
Mail list logo