Forum: Cfengine Help
Subject: Re: Ensuring apt-package installed and latest available
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17651,17654#msg-17654
Poor Seva, all alone ;-)
It's not that developers are not listening to you, it's that developers are
very very busy and ma
Forum: Cfengine Help
Subject: Re: Ensuring apt-package installed and latest available
Author: JarleB
Link to topic: https://cfengine.com/forum/read.php?3,17651,17655#msg-17655
Yes I tried to change package policy to update. Then the package is updated.
But it is updated regardless if the latest v
Forum: Cfengine Help
Subject: Re: Ensuring apt-package installed and latest available
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17651,17656#msg-17656
Mark,
https://cfengine.com/bugtracker/view.php?id=179 is filed for you :)
Also I would like to ask whether I sh
Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17649,17657#msg-17657
If anybody still attending, I've got this issue on another server with other
symptoms: while cf-execd kept running (but didn't start after se
Forum: Cfengine Help
Subject: Re: use variable in compound classes
Author: rpaulmier
Link to topic: https://cfengine.com/forum/read.php?3,17599,17658#msg-17658
Thx for your reply.
However, when configuring update.conf, several examples found on the web are
using the following contruction:
con
Forum: Cfengine Help
Subject: Re: Ensuring apt-package installed and latest available
Author: JarleB
Link to topic: https://cfengine.com/forum/read.php?3,17651,17659#msg-17659
Wohoo, https://cfengine.com/bugtracker/view.php?id=180 :-)
- Jarle
___
Help
Forum: Cfengine Help
Subject: Re: Ensuring apt-package installed and latest available
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17651,17660#msg-17660
Good idea. It is still in my mailbox, but it is always better to have it in the
tracker for when .. squirrel!
Forum: Cfengine Help
Subject: Re: use variable in compound classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17599,17661#msg-17661
Please cite these examples. Neither the reference guide nor the solution guide
show expressing classes as variables.
Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,17649,17665#msg-17665
This may be a bug, please open a bug report.
A description of how to reproduce on a fresh system (if possible) and any gdb
log of segfault would be v
Forum: Cfengine Help
Subject: Re: sensible_count ignored
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17662,17668#msg-17668
Nate,
I find the best approach is to create small self contained policy and post it
here along with expected and actual results. That way we ca
Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17649,17670#msg-17670
Unfortunately, after waiting for around 100 minutes, I'd killed running process
'cause it left supposedly stalled, and I couldn't wait no mor
Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,17649,17671#msg-17671
Okey.
Just as a note, you can run "gdb cf-agent PID" (replace PID with the actual
process id) to debug a live process.
In the gdb-shell you can say "
Forum: Cfengine Help
Subject: Re: purge empties directory when unable to connect
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,17647,17672#msg-17672
I see the code yet I am sure to have witnessed this behaviour. I'll try to
isolate the issue.
__
Forum: Cfengine Help
Subject: Re: Cfengine in crontab
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,17608,17673#msg-17673
Fixed it with crontab running this command: cf-agent -K -b main -f site.cf;
this links to the standard bundle checking if cf-execd, cd-monitord and
cf-
Forum: Cfengine Help
Subject: Re: sensible_count ignored
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17662,17674#msg-17674
Seems to work if the target contents is two or more. Zero or one returns the
warning as you say regardless of how low the sensible count is.
$
Forum: Cfengine Help
Subject: Cf3 syntax reference
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17675,17675#msg-17675
If you haven't seen it this can be helpful:
http://www.cfengine.org/pages/syntax.
Some suggested improvements:
Align the text to the top of the cell.
Forum: Cfengine Help
Subject: Trustkeys not being shared
Author: elleeseb
Link to topic: https://cfengine.com/forum/read.php?3,17676,17676#msg-17676
I must be missing something, when I try to pull a file from the server to the
client, I get broken pipe, and connection reset by peer. I am trying t
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17676,17677#msg-17677
Typically the server's public key is copied to the client manually when you
install Cfengine. Have you done this?
_
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: elleeseb
Link to topic: https://cfengine.com/forum/read.php?3,17676,17678#msg-17678
I did (since I knew what the problem was) but I thought there might be some
other way that is automated. I do have it working when I copy it ma
Forum: Cfengine Help
Subject: cfagent :Segmentation Fault (core dumped) on Solaris
Author: gauthier
Link to topic: https://cfengine.com/forum/read.php?3,17679,17679#msg-17679
Hi,
When i try to launch a cf-agent, I have this error:
open64("/var/cfengine/ppkeys/localhost.priv", O_RDONLY) = 3
fs
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17676,17680#msg-17680
I think you can authorize the client to trust a key from server but I feel that
is too open for my taste.
__
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17676,17681#msg-17681
I bet you do this every single day with ssh, without thinking about it
___
Help-cfengine mailing list
H
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17676,17682#msg-17682
I have Cfengine distribute my public keys ;)
___
Help-cfengine mailing list
Help-cfengine@cfengin
Forum: Cfengine Help
Subject: Re: how to find key mis-match?
Author: arawak2
Link to topic: https://cfengine.com/forum/read.php?3,17626,17683#msg-17683
For larger installs where digging through hundreds of emails is not realistic
you would be better off doing some sort of simple md5sum comparison
Forum: Cfengine Help
Subject: remote_copy does not overwrite file
Author: elleeseb
Link to topic: https://cfengine.com/forum/read.php?3,17684,17684#msg-17684
So I noticed the only way (by default anyways) to update a file is to delete
the file before the copy takes place. For instance say I have
Forum: Cfengine Help
Subject: Re: remote_copy does not overwrite file
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17684,17685#msg-17685
Take a look at "compare" option of the copy_from body. Perhaps, you should add
the following:
compare => "digest";
Usually "m
Forum: Cfengine Help
Subject: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17687#msg-17687
I'm not a programmer, and I'm having some difficulty wrapping my mind around
certain topics discussed in the tutorials and guides. I was wonder
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17687,17688#msg-17688
Version control is not mandatory but very prudent. It allows one to track the
changes of the policy over time. As the policy grows to e
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17690#msg-17690
Thanks for the reply, that helps a lot. Regarding the scope issue, are you
saying that the @resolvers array is defined in a system-wide bun
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17687,17691#msg-17691
No. The @{resolvers} array was defined checkresolver agent bundle. If you
want recall that array from another bundle you need to spec
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17692#msg-17692
I'm confused. It appears to me that @{checkresolver.resolvers} was defined in
bundle agent checkresolver, not @{resolvers}. And I don't see
Forum: Cfengine Help
Subject: Re: Cfengine Help: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17689,17693#msg-17693
I may have been reading that example wrong. My assumption was that its function
was to copy /home/aleksey/testcopy1 from the
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17687,17694#msg-17694
For fully qualified variable names is it bundlename.variablename. Aleksey
passes '@{checkresolver.resolvers}' to the edit_line bundle b
Forum: Cfengine Help
Subject: Re: remote_copy does not overwrite file
Author: elleeseb
Link to topic: https://cfengine.com/forum/read.php?3,17684,17695#msg-17695
thanks so much. I have an NTP server I can point to so using mtime is not a
problem
___
He
Forum: Cfengine Help
Subject: signalling processes
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17696,17696#msg-17696
Hello folks,
We've faced a problem trying to make a process to restart. According to the
reference, the following promise is expected to send TERM
Forum: Cfengine Help
Subject: Re: signalling processes
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17696,17697#msg-17697
src/unix.c DoAllSignals shows that the first signal that "succeeds" wins. This
is probably not the behaviour you want. I suggest removing the break and
c
Forum: Cfengine Help
Subject: Re: signalling processes
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17696,17698#msg-17698
Perhaps, here conclusions may go unclear. For example, it would be reasonable
to send KILL only if process exists after TERM with certain delay
Forum: Cfengine Help
Subject: Re: signalling processes
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17696,17699#msg-17699
Yes. It seems to capture the semantics better. I seem to have assumed that if
the signal failed to be sent it meant that the process no longer existed.
U
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17700#msg-17700
Neil, I really appreciate you trying to explain this to me. It's obvious to my
non-programmer mind that there's a one-to-one correlation be
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17701#msg-17701
My difficulty is that I don't understand what edit_line =>
resolvconf("iu.hio.no cfengine.com",@{checkresolver.resolvers}); and bundle
edi
Forum: Cfengine Help
Subject: Re: signalling processes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17696,17702#msg-17702
I too had to resort to using kill. On some systems this was less desirable
than a more graceful termination. For example on some AIX hosts the ki
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17687,17703#msg-17703
The "edit_line => resolvconf" calls the agent bundle named 'resolvconf'. This
is similar to a function or subroutine. Without any prog
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17704#msg-17704
Ooh. I think I finally figured it out. Does @{checkresolver.resolvers}
contain the values in "resolvers" slist => { "128.39.89.10", "15
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17687,17705#msg-17705
You are correct. I'm curious as to how someone with no programming experience
finds his way to configuration management.
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17706#msg-17706
neilhwatson Wrote:
---
> The "edit_line => resolvconf" calls the agent
> bundle named 'r
Forum: Cfengine Help
Subject: Re: Help with basic cfengine topics
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17687,17707#msg-17707
neilhwatson Wrote:
---
> You are correct. I'm curious as to how someone
> with no prog
Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17649,17711#msg-17711
Well, it happened again, but unfortunately, the gdb output was not very
informative:
(gdb) where
#0 0x0034a410 in ?? ()
#1 0xbfe7cd24 in
Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17649,17712#msg-17712
Worth noticing, strace shows the process stuck in read on fd 4. Perhaps, it
could be helpful to use timeouts on read calls. I see the followi
Forum: Cfengine Help
Subject: Passing slists as body parameters?
Author: jgreer
Link to topic: https://cfengine.com/forum/read.php?3,17713,17713#msg-17713
Is is possible to pass an slist as a parameter of a promise body without
explicitly declaring an slist variable and passing it by name? I'd l
Forum: Cfengine Help
Subject: ugg shoes
Author: yiqianchi
Link to topic: https://cfengine.com/forum/read.php?3,17714,17714#msg-17714
Australia UGG Boots "and you'll be flooded with websites, blogs and all
the stories revolving around the footwear sheepskin simple. So how can we
explain that the
Forum: Cfengine Help
Subject: l like jordan Shoes
Author: yiqianchi
Link to topic: https://cfengine.com/forum/read.php?3,17715,17715#msg-17715
So thatthey are made ofpraise their basketball shoes history, michael jordan
shoes seems to take on the phenomenon ofentered?ment and help people up with
Forum: Cfengine Help
Subject: cfexecd schedule - I would like to run once per day
Author: derekmpage
Link to topic: https://cfengine.com/forum/read.php?3,17716,17716#msg-17716
Hi All,
I am fairly new to cfengine. I inherited the tool when the last administrator
left the company. He left no doc
Forum: Cfengine Help
Subject: Re: cfexecd schedule - I would like to run once per day
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17716,17717#msg-17717
My CF2 is rusty but I've not heard of 'Hr00_23' as a time class. Have you
tried it and does it work? You'll want t
Forum: Cfengine Help
Subject: Received signal 13 (SIGPIPE) while doing [pre-lock-state]
Author: fishermang
Link to topic: https://cfengine.com/forum/read.php?3,17718,17718#msg-17718
Hello Im new here, but here is the issue. I installed a server and now I am
receiving this
"Received signal 13 (S
Forum: Cfengine Help
Subject: Re: Received signal 13 (SIGPIPE) while doing [pre-lock-state]
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17718,17719#msg-17719
This is usually a sign of an access denial. Run both client and server with -v
to diagnose.
Forum: Cfengine Help
Subject: Re: Received signal 13 (SIGPIPE) while doing [pre-lock-state]
Author: fishermang
Link to topic: https://cfengine.com/forum/read.php?3,17718,17720#msg-17720
I am kind of a noob at this, could you be a bit more specific when you say run
-v on client and server. I know
Forum: Cfengine Help
Subject: Re: Received signal 13 (SIGPIPE) while doing [pre-lock-state]
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17718,17721#msg-17721
-v is a command line switch for verbose mode. In the case of the cf-serverd it
will leave the process in the
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17676,17722#msg-17722
neilhwatson Wrote:
---
> Typically the server's public key is copied to the
> client manually
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17676,17723#msg-17723
Key exchange is not meant to be to easy otherwise the security model is in
jeopardy. When do I give the client the server's key? The same t
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17676,17724#msg-17724
neilhwatson Wrote:
---
> Key exchange is not meant to be to easy otherwise
> the security mod
Forum: Cfengine Help
Subject: Re: cfengine 3.0.5p1 released
Author: kholloway
Link to topic: https://cfengine.com/forum/read.php?3,17634,17725#msg-17725
Built and running on Solaris 10 (SPARC & X86) and OpenSolaris without issues.
This build resolved the constant crashing that cf-serverd (3.0.5) w
Forum: Cfengine Help
Subject: package_select and updates/reinstall
Author: kholloway
Link to topic: https://cfengine.com/forum/read.php?3,17726,17726#msg-17726
I can't seem to figure out how to get a package to properly update to a new
version on Solaris with CFEngine 3.0.5p1.
My special sauce is
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17676,17727#msg-17727
http://www.cfengine.org/manuals/cf3-reference.html#Key-exchange
___
Help-cfengine mailing list
He
Forum: Cfengine Help
Subject: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17728,17728#msg-17728
I'm trying to connect to a client from the server with cf-runagent just to
verify they can talk. The IP address on the server is 10.2.0.219 and the cl
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17676,17729#msg-17729
Yeah, I've read that at least four dozen times. I have the following in the
server's promises.cf:
body server control
{
allowconnects
Forum: Cfengine Help
Subject: cf-serverd high memory usage over time
Author: lero
Link to topic: https://cfengine.com/forum/read.php?3,17730,17730#msg-17730
Hi.
I'm running 3.0.5p1serving about ~500 machines and this is the memory usage:
root 23941 3.6 12.9 884644 526908 ? Ssl Jul08
Forum: Cfengine Help
Subject: Re: cf-execd doesn't start
Author: lero
Link to topic: https://cfengine.com/forum/read.php?3,17649,17733#msg-17733
Just use TokyoCabinet instead of DB4 and i think you will be fine ;)
___
Help-cfengine mailing list
Help-cfe
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,17676,17734#msg-17734
Any firewalling? Try telnet 10.2.1.219 5308 to see if your machines are
actually connectable.
___
He
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17728,17735#msg-17735
Is the server running and answering on the correct port?
___
Help-cfengine mailing list
Help-cfengi
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17676,17736#msg-17736
Please explain your topology.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://c
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17676,17737#msg-17737
pieterb Wrote:
---
> Any firewalling? Try telnet 10.2.1.219 5308 to see
> if your machines ar
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17676,17738#msg-17738
neilhwatson Wrote:
---
> Please explain your topology.
It's a couple of RHEL 5.3 VMs (VMware
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17676,17739#msg-17739
The IP's in your posts are conflicting. I see 10.2.0.219, 10.2.0.220, "cf3
Connect to 10.128.205.118 = 10.128.205.118 on port 5308" and "all
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17728,17740#msg-17740
neilhwatson Wrote:
---
> Is the server running and answering on the correct
> port?
Yes:
10.2
Forum: Cfengine Help
Subject: Re: Trustkeys not being shared
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17676,17741#msg-17741
neilhwatson Wrote:
---
> The IP's in your posts are conflicting. I see
> 10.2.0.219, 10.2.0.
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17728,17742#msg-17742
I don't know what the server error message means and I see some other things in
there that I am not familiar with. Before you tackle the run a
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17728,17743#msg-17743
neilhwatson Wrote:
---
> I don't know what the server error message means
> and I see some othe
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17728,17744#msg-17744
All agent or run agent authentication requires a key exchange. I've not tested
the run agent's interactive key exchange. I do know if it work
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17728,17745#msg-17745
Nakarin suggested this:
https://cfengine.com/forum/read.php?3,17732
My site.cf was stock, it only contained what shipped with the rpm. I didn't
Forum: Cfengine Help
Subject: Re: Cfengine Help: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17732,17746#msg-17746
Thanks Nakarin. I tried what you suggested and posted the results in the
running thread:
https://cfengine.com/forum/read.php?3,177
Forum: Cfengine Help
Subject: Edit selected files
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,17747,17747#msg-17747
I have a simple requirement: edit selected hidden (i.e., "dot") files in home
directories.
The limitation that "depth search is not allowed with edit_line p
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,17728,17748#msg-17748
Could you show us your body runagent control? You may need to add your hosts
there.
body runagent control
{
hosts => { "10.2.1.219" , "10.2.1.
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17728,17749#msg-17749
Just for grins I added "localhost.localdomain" to the admit lines in bundle
server access_rules():
bundle server access_rules()
{
access:
"/va
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17728,17750#msg-17750
phnakarin Wrote:
---
> Could you show us your body runagent control? You
> may need to add your
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17728,17751#msg-17751
I believe that this "cf3 Executing command /var/cfengine/bin/cf-agent -f
failsafe.cf && /var/cfengine/bin/cf-agent --inform" is no longer aloud
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: mwlarsen
Link to topic: https://cfengine.com/forum/read.php?3,17728,17752#msg-17752
neilhwatson Wrote:
---
> I believe that this "cf3 Executing command
> /var/cfengine/bin/cf-agen
Forum: Cfengine Help
Subject: Repositories
Author: timw077
Link to topic: https://cfengine.com/forum/read.php?3,17753,17753#msg-17753
It would be nice to have an yum and apt repository to sync from.
Would anyone else find this useful?
Does one exist, and I just cannot find it?
Thanks,
TimW
Forum: Cfengine Help
Subject: Re: Edit selected files
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17747,17754#msg-17754
Beto,
your approach to file select looks bit strange. It should be like follows:
files:
any::
"$(HomeDir[$(HomeUsr)][5])"
Forum: Cfengine Help
Subject: Re: Edit selected files
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,17747,17755#msg-17755
Seva,
Your suggested change doesn't work either and only produces the following for
every home directory without changing any files (I believe you meant t
Forum: Cfengine Help
Subject: Re: Edit selected files
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,17747,17756#msg-17756
No matter how I code the edit_line promise and the file_select, and I have
tried every variation I can think of, one thing is constant: the file_select
ap
Forum: Cfengine Help
Subject: Re: Edit selected files
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,17747,17757#msg-17757
So the problem would be cfengine displays too many warning messages or there is
a bug in file_types as you really specified file_types => { "plain" };
Forum: Cfengine Help
Subject: Re: Edit selected files
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17747,17758#msg-17758
Beto,
If you don't need to dive into subdirs, it can be much simpler. You need to
change your files promise as follows:
files:
"$(Home
Forum: Cfengine Help
Subject: Re: Edit selected files
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,17747,17759#msg-17759
Hi Seva,
Unfortunately your suggestion produces the exact result, including all the
error/warning messages, I described in my original post.
As I stated
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Connection reset by peer
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17760,17761#msg-17761
Brian, I'm not sure on what basis you judge the documentation to be out of
date. If you have something specific, please submit a bu
Forum: Cfengine Help
Subject: Re: Connection reset by peer
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17728,17762#msg-17762
The "access denied" message is probably key here. You also have to grant access
to the cf-agent command in order to run an EXEC. i.e.
access:
"/va
Forum: Cfengine Help
Subject: Prevent cf-agent execution overlaps
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17765,17765#msg-17765
On highload servers, it happens from time to time that the running instance of
cf-agent doesn't finish before cf-execd spawns the ne
Forum: Cfengine Help
Subject: Re: Prevent cf-agent execution overlaps
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17765,17766#msg-17766
Cfengine is designed to overlap in its execution. That's why each promises
receives a lock. So two running processes will simply "flow thro
Forum: Cfengine Help
Subject: Re: Rackspace is open sourcing its cloud services plateform
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,17763,17767#msg-17767
An interesting project. Rackspace is a Cfengine partner, so we might contribute
to such a project one day when there is
Forum: Cfengine Help
Subject: readtcp with empty send string: how to use?
Author: dfriedman
Link to topic: https://cfengine.com/forum/read.php?3,17768,17768#msg-17768
I want to test whether or not something is listening on a specified port, and
restart it if it isn't.
Documentation for the readt
Forum: Cfengine Help
Subject: Question regarding the rotate function and cf_Audit.db
Author: anmcguire
Link to topic: https://cfengine.com/forum/read.php?3,17769,17769#msg-17769
Hello everyone,
I'm currently in the process of deploying cfengine 3.0.3 community edition to
several systems. As pa
101 - 200 of 5654 matches
Mail list logo