is
>also
>used in the evaluation of the pseudo variable home, See Section 4.19
>[files], page 94, Section 4.39 [tidy], page 146.
>"""
>
>It may be easier just to specify a path if all your home directories are in
>the same place, or define your own variable and set it b
=
cf3 insert_lines in bundle expand_template
cf3 = = = = = = = = = = = = = = = = = = = = = = = = = = = =
cf3
cf3
cf3 .
cf3 Promise handle:
cf3 Promise made by: /tmp/template
cf3 ..
-
>>>
>>
>>
>>
>
>--
>Mark Burgess
>
>-
>Professor of Network and System Administration
>Oslo University College, Norway
>
>Personal Web: http://www.iu.hio.no/~mark
>Office Telf : +47 22453272
>-
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
yone. Perhaps these would be suitable for posting on the cfwiki?
>Jesse Becker wrote:
>> I'm trying to get a basic templating system working for several files,
>> and expand_scalars doesn't seem to work. I've found serveral references
>> to other people having
ile that contained the error.
I suspect that had I seen a known-good template that included fully
qualified variable names, it would have been much clearer.
>Jesse Becker wrote:
>> On Thu, Feb 18, 2010 at 01:14:16AM -0500, Mark Burgess wrote:
>>>
>>> Jesse,
>>>
e=32768,wsize=32768');
cf-agent blows up, but not before *removing* /etc/fstab completely.
This is usually a Bad Thing. However, it does create two new files:
/etc/fstab.cf-before-edit
/etc/fstab.cf-after-edit
These files both have the correct contents for their respecti
0405e9d in main ()
Also, I noticed that if /etc/fstab does not exist at all, a storage:
promise will not create it even if 'edit_fstab => "true";'. I don't
know if that is expected behavior or not.
>
>Jesse Becker wrote:
>> I'm getting a segf
On Mon, Feb 22, 2010 at 11:21:00AM -0500, Jesse Becker wrote:
>On Mon, Feb 22, 2010 at 05:30:34AM -0500, Mark Burgess wrote:
>>
>>Jesse,
>>
>>I started a bug track on this on our system, but I am unable to reproduce the
>>error. It
>>works perfectly for me.
0404cd3 in ScheduleAgentOperations ()
#5 0x00404e73 in KeepPromiseBundles ()
#6 0x000000405983 in KeepPromises ()
#7 0x00405e9d in main ()
On Mon, Feb 22, 2010 at 11:32:56AM -0500, Jesse Becker wrote:
>On Mon, Feb 22, 2010 at 11:21:00AM -0500, Jesse Becker wrote:
>>On
uot; output that had what looked
to be bogus output in it (e.g. a bad pointer somewhere for a printf).
I am running using a specific set of bundles from a few files--I'll try
to pare it down a bit to a specific test-case though.
--
Jesse Becker
NHGRI Linux support (Digicon Contract
the future (along with the src.rpm files as well)?
>
>M
>
>Jesse Becker wrote:
>> I'm getting another segfault when running cf-agent, but it is not always
>> reproducable. Given two runs back-to-back with no config file changes
>> between, the first may fail,
# cf-agent -V
>>>> This comprises cf-agent core community version 3.0.3patch1 - (C)
>>>> Cfengine AS 2008-
I'm running on a Centos5 system. However, whether or not debugging
symbols are included in an RPM is a function of system on which the
package was *built*, not o
; then
WITH_SQL=1
+else
+ WITH_SQL=0
fi
if test $WITH_SQL = 1; then
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
new' string => regex_replace(${orig}, ":ba","-DA");
Right now, I'm shelling out to sed, but this seems...silly.
vars:
'orig' string => 'foo:bar:baz';
"new" string => execresult("/bin/echo ${orig} | /bin/sed 's,:
tion of existing "unhashed" user
home directories to "hashed" ones, but only if it supports better string
handling routines.
Of course, one can always just hand off a username to a Perl script as
well.
I really want is a general solution (wh
d in the bundlesequence was not found
Fatal cfengine error: Errors in agent bundles
Also tried using the latest SVN release (r864), and got the same result.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
d of
duplicating many lines of code for each file I want to template.
There are two core promises: one promise to get the template file, and
one promise to call expand_template and create the final file based on
certain checks. But this is all separate from the original problem of
string manipulation
ut when I tried SVN
this morning and it still broke...
>
>Jesse Becker wrote:
>> Given this bundle:
>>
>> bundle agent escape_test {
>>
>> vars:
>> 'string' string => "This'string_has\\stuff!\"in.it.";
>>
set of promises to
>> convert the string "jbecker" into "/home/j/jbecker" is fairly easy using
>> a search and replace function. I can envision a situation where
>> cfengine could actually handle the migration of existing "unhashed" user
>> home
d call
awk/sed/perl/python/ruby for basic stuff seems foolish. If you need to
do something really complicated, then a script/program is probably the
way to go, instead of coding a mess of interdependent promises.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
__
it, and have the beginnings of rules for syntax highlighting
for it. I'm happy to share them with people if anyone is interested.
I'm also happy to share the regexes I'm using as well (although I've
done nothing to optimizing them yet).
I'd love for something vim thoug
n error, and delete the copy you received. DigitalGlobe
>reserves the
>right to monitor any electronic communication sent or received by its
>employees, agents
>or representatives.
>
>___
>Help-cfengine mailing list
>Help-cfengi
;> >responsible for delivering this communication to the intended
>> recipient, or if you have received
>> >this communication in error, please do not print, copy, retransmit,
>> disseminate or
>> >otherwise use the information. Please ind
d--if not
"simple" problem--has worked out to be anything but. This isn't the
first time that this has happened either, as I've spent no small amount
of time trying to get cfengine to do something natively that could be
replaced by a very small shell script.
>-Original
gt; cf3 Interface 2: lan2
>>
>> cf3 Adding alias name1..
>>
>> cf3 Interface 3: lan5:1
>>
>> cf3 Adding alias name2.domain..
>>
>> cf3 Interface 4: lan1
>>
>> cf3 !! Cannot discover hardware IP, using DNS value
>>
>> cf3
better.
There's something of a security risk here. If some miscreant manages to
put the file "evilplot.cf" into the methods directory, this could be
used to compromise the remote systems. I'd rather list the
files explicitly. In practice, I've found this doesn't
/init.d/MyProc start";
}
body process_select find_MyProc {
process_owner => { 'someuser' };
process_result => "process_owner";
}
body process_count sge_too_many {
match_range => irange('2','9');
in_range_define => { 'MyProc_too_many' };
}
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
= 1; then
+ case "$target_os" in
+ linux*)
+if [ `which pg_config` ]; then
+ CPPFLAGS=-I`pg_config --includedir`
+fi
+ esac
AC_CHECK_LIB(mysqlclient,main)
AC_CHECK_LIB(pq,main)
AC_CHECK_HEADERS(mysql/mysql.h)
<snip&g
d' value is passed, and the number of processes matching is
*not* equal to this value, the number of matches is returned, but as a
negative value. (a bit of a kludge, I suppose)
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
0x00405a43 in KeepPromises () at agent.c:350
#7 0x00405fbd in main (argc=4, argv=0x79336f58) at agent.c:141
On Mon, Feb 22, 2010 at 05:30:34AM -0500, Mark Burgess wrote:
Jesse,
I started a bug track on this on our system, but I am unable to reproduce the
error. I
is no way
to define a variable based on the presense of this file.
You can *try* and do stuff with the isvariable() function, but that's
been hit-or-miss for me. Furthermore, since cfengine3 will only iterate
through the actions 3 times--this is *waaay* to few, at least IMO--using
isvariable() basically blows one of your three passes.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
os and cons to both methods but one has to examine them on a case by
>case basis.
I think we all agree that cfengine is most certainly not imperative
programming or scripting. It is declartive, as has been mentioned
many times. I suppose this is an attempt on my part to make it similar
to
conf
autoreconf --force --install --symlink
./configure --with-pcre --with-tokyocabinet --without-sql
--with-graphviz
I've had zero problems so far.
Now, I've a need to go find a large wooden plank on which to knock...
--
J
z
DONE: Configuration done. Run make/gmake to build cfengine.
[becker...@kirk ~/cfengine/cfengine3/trunk]$ make -j 2
make[1]: Leaving directory `/home/beckerjes/cfengine/cfengine3/trunk'
[becker...@kirk ~/cfengine/cfengine3/trunk]$ ls -l src/cf-a
tion isn't great--two inputs located "next" to eachother
such as "classA" and "classB" will hash to neighboring slot values
3269 and 3270--but it doesn't appear to be horribly degenerate either.
I ran 300 or so classes through my script and found 8 collisions
have received
>this communication in error, please do not print, copy, retransmit,
>disseminate or
>otherwise use the information. Please indicate to the sender that you have
>received this
>communication in error, and delete the copy you received. DigitalGlobe
>reserves the
>right to monitor any electronic communication sent or received by its
>employees, agents
>or representatives.
>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
if
>you have received
>this communication in error, please do not print, copy, retransmit,
>disseminate or
>otherwise use the information. Please indicate to the sender that you have
>received this
>communication in error, and delete the copy you received. DigitalGlobe
>re
_______
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>> ___
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>
>This electronic communication and any attachments may contain confidential and
>proprietary
>information of DigitalGlobe, Inc. If you are not the intended recipient, or an
>agent or employee
>responsible for delivering this communication to the intended recipient, or if
>you have received
>this communication in error, please do not print, copy, retransmit,
>disseminate or
>otherwise use the information. Please indicate to the sender that you have
>received this
>communication in error, and delete the copy you received. DigitalGlobe
>reserves the
>right to monitor any electronic communication sent or received by its
>employees, agents
>or representatives.
>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
nder that you have
>received this
>communication in error, and delete the copy you received. DigitalGlobe
>reserves the
>right to monitor any electronic communication sent or received by its
>employees, agents
>or representatives.
>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
ssible).
There are lots of files where blocks of text are as important as the
individual lines.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
ine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>
> --
> Mark Burgess
>
> -
> Professor of Network and System Administration
> Oslo University College, Norway
>
>
gt;IIRC Cf2 logged to the local syslog. Cf3 also does this. The feature Jesse
>pointed to is remote syslog.
So the local syslog daemon should be able to handle log redirection to
somewhere else. Doesn't seem like it should be too much of an issue?
(unless I'm missing something else
ot; of files in place and treat them (sorta) as a
group.
That said, editfiles: had a huge list of other problems, and I've no
desire to bring it back.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing l
>Professor of Network and System Administration
>Oslo University College, Norway
>
>Personal Web: http://www.iu.hio.no/~mark
>Office Telf : +47 22453272
>-
>______
2bit},
};
commands:
Kluster::
# This is done outside of packages: because the 'yum'
# Method actually just calls 'rpm'. Yum is a bit more graceful
# and can yank all packages listed above. It is also a bit
# more efficient to pass a st
mount).
Unfortunately, in the case of *hung* mount, it never returns...
Anyone have any clever ideas or suggestions?
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
_architectures => { "x86_64" },
classes =>
is_okay("package_installed_${fileserver_packages}");
This would define a new class for each element of the
${fileserver_packages} list.
Am I completely missing the ability to do this somewhere already?
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
tree to a "releasable" tarball, I would gladly do that
>portion myself, releasing Cfengine from whatever QA process you like
>to do before making such official releases, but still allowing me to do
>more gradual testing.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
y not control directly (but that you "trust").
This means that a typo in a policy that you are not responsible for, and
potentially cannot fix, will disrupt your entire site. Obviously, there
should be proper QA and testing in place to prevent this, and we all do
that, right?
--
Jesse
xplicitly. Only classes defined in common bundles
> become global.
>
> ___
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
--
Jesse Becker
___
Help-cfen
reference ${bundle.slist_variable}. This is very confusing.
And thanks, :)
On Thu, Sep 16, 2010 at 19:05, Daniel V. Klein wrote:
> Yes, I will make sure it is clearer... maybe not 72pt, though :-)
>
> On Sep 16, 2010, at 4:44 PM, Jesse Becker wrote:
>
>> Is there a way to have this Se
ple times can be inefficient even if no changes are made.
>
>One option would be to define a certain class during the first pass, and then
>make the module calls depending on that class being unset.
This seems like a good place to make use of a persistant class.
--
Jess
lasses are typically
>> persistent through those three runs.
>>
>> ___
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>____
?).
Workarounds are sometimes possible, but make the promises quite
convoluted.
Simplicity, and passing the "least surprise" test, should rank very highly
in systems like this, and the cfengine language prohibits it in this case.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
s a reasonable thing to request--a basic, simple tool. Give the
admins tools; let them build what they need.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
__
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>> ___
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
find a reason to change the
>ordering :) It's a compromise to fit most but not all cases.
Or allow people to set the ordering that fits best in their environment.
Have a sane, and sensible default (which we have), but make it mutable,
instead of fixed.
--
Jesse Becker
NHGRI Li
uot;exec_command"
string:
body executor control {
# Instead of a separate update script, now do this
exec_command => "$(sys.workdir)/bin/cf-agent -f failsafe.cf &&
$(sys.workdir)/bin/cf-agent";
}
--
Jesse Becker
NH
bout restarting that
site. It would be nice to use the domain, as well as keep all of the
existing content (minus the gobs and gobs of spam, of course).
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
s linking CFengine functions used in the
>wiki (or whatever knowledge collection) with the reference guide. This way, a
>quick overview of the function's syntax is always nearby.
This is a very good idea.
--
Jesse Becker
NHGRI Linu
tically. I like the ability to vote
>on the code too.
Could you elaborate on "taggable free submissions"? How is this
different from pages/snippets/code from having arbitrary tags, suitable
for later organization?
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
yntax highlighting as well. I can
offer up a set of regexes I've used for one of my editors.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
..
cf3 Promise handle:
cf3 Promise made by: ^.*\s+/scratch\s+.*defaults.*$
cf3
cf3 Comment: Remove default option
cf3 .
cf3
cf3 -> This promise has already been verified
cf3 -> No edit changes to file /etc/fstab need saving
cf3
(Nothing is done in iterations 2 and 3).
Thanks in advance.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
o handle more than just NFS mounts.
Theoretically, they do. https://cfengine.com/bugtracker/view.php?id=126
(yes, I know I should convert this promise to do so...)
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing
gine 3 source root.
>See
>http://source.cfengine.com/browse/core/tags/3.1.1/ChangeLog?revision=1535&view=markup
> and have a look under 3.1.0 (..repair_failed..).
>Is there interest for more extended info on the new & cool things in the
>releases?
Yes, please. :)
--
Jesse
ode, it seems to be less useful for
non-code documentation and explanations. Various notes about how to
best organized bundles and files come to mind as an example. Having
everything backed by version control is nice, but putting everything
one more "level down"
____
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>>
>> Sent via the BlackBerry
>> ___
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
> ___
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
--
Jesse Becker
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
nd github etc. It helps me to assess
>these things without having the time to explore too much myself.
I'll put in a generally good opinion of github. I've started using it
in a basic way for some other projects, and it's a lot better than, say,
sf.net. :-)
--
Jesse Beck
le, but then we have to sacrifice the plan to mine the forum
>eventually and tie in into the documentation.
Why not just mine the mailing list directly, and use one of the many
decent mailing list archival/web-FE programs to do the same thing?
--
Jesse Becker
NHGRI Linux s
-hub? :-)
In part, yes. :)
https://git.wiki.kernel.org/index.php/GitFaq#Why_the_.27git.27_name.3F
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
sk: 510/495-2243
>
>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
tron Road
>Computer Systems Engineer Berkeley, CA 94720
>ESnet http://www.es.net/ Desk: 510/495-2243
>
>
>_______
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contr
hus, something like:
$sys_prog['ps'] string => 'ps -efZ';
How is this different, fundamentally, from letting users specifiy their
own package: actions? There are lots of package management systems,
and there's a method to a
ind that they
have a combination of OS detection (for /proc), directory walking, and
'ps' output processing.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
f the founder is an interested member of this community?
>
>Good question.
I've spoken to him a few times this past year about cleaning up the
wiki (there's a lot of spam), with the intent of adding cf3 content. I
sent an email a week or so ago, but haven't heard back from
ftware_patches,value,variables
etc...
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
romise in question.
I do have a workaround, but it's inelegant. Bascially, flatten the
array into multiple slists, and have a separate promise for each one,
based on the hostnames.
So my question: Is there a concise way to do something like what I've
posted above?
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
his behaviour
>remains pretty the same since 3.0.4.
>
>2010/12/18 Jesse Becker :
>> So, the snipped below does not work, but I wish that it did. ?It also
>> isn't limited to package promises either, I can think of cases for file
>> and command promises as well.
>>
actually
went through a few iterations, trying different ideas where those classes
made more sense.
Thanks for the note about the bug. I forgot to mention that I'm using
3.0.5p1. Should I file a report?
>
>M
>
>On 12/18/2010 12:37 AM, Jesse Becker wrote:
>> So, the snipped bel
brary versions as well, since the leak could
be in those, as opposed to the core CF code.
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
"/tmp/test"
perms => owner('root'),
classes => if_ok('confirmed');
reports:
!confirmed::
"FAILED Confirmed owner on /tmp/test";
confirmed::
"Confirmed owner on /
I just noticed that there are two SVN web interfaces linked from
cfengine.org:
http://source.cfengine.com/browse/
http://source.cfengine.com/websvn/
Thanks!
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine
t; { "-A INPUT -s ${servers} -p tcp -m tcp -= j
NEWCHAIN" };
'One_Rule'string => join("${const.n}", 'Server_Rules');
insert_lines:
"${One_Rule}"
location => findline('^-A NEWCHAIN.*5544.*');
}
&
cally handles the server/path locations on the policy server.
"/etc/yum.repos.d/local_packages.repo"
copy_from =>
update("/etc/yum.repos.d/local_packages.repo-${yum_server}");
}
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
7;;
reports:
cfengine_3::
"I know about host [${allhosts_name}].";
"I have not seen [${deadhosts_name}] in ${deadtime} hours.";
}
>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
3_check_server_connectivity {
vars:
!has_myhosts::
"myhosts" slist => { hostsseen("1","notseen","address") };
classes:
'has_myhosts' => isvariable('myhosts');
"cfengine_no_connectivity" expression =>
reglist("@(myhosts)",escape("$(g.policyserver)"));
reports:
cfengine_no_connectivity::
"Not seen cfengine3 policy server: $(g.policyserver) for at least a hour";
}
--
Jesse Becker
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
On Tue, Jan 18, 2011 at 09:42:57AM -0500, Bas van der Vlies wrote:
>On 18-01-11 13:49, Jesse Becker wrote:
>> On Tue, Jan 18, 2011 at 04:48, Bas van der Vlies wrote:
>>>> ## Report if we lost contact with our policy server for an hour
>>>> #
>>>> bun
t-meets-the-swarm-how-the-berkeley-overmind-won-the-2010-starcraft-ai-competition.ars
>2. http://www.cfengine.org/cftimes/articles/19.html
>
>_______
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
-
, you could even do it in the standard library,
no?
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
On Fri, Jan 28, 2011 at 11:36:11AM -0500, Mark Burgess wrote:
>
>On 01/28/2011 04:51 PM, Jesse Becker wrote:
>> On Fri, Jan 28, 2011 at 10:48:50AM -0500, no-re...@cfengine.com wrote:
>>> Forum: Cfengine Help
>>> Subject: Re: Processes in Solaris 10 and latest trunk r
ct to generate and send emails. We use v1.14,
although that shouldn't matter much. (For those that don't know, it
basically makes a pretty email that includes a 'diff' for the commit
in question.)
I'm sure there's room for improvement, but it works for us at the
ble. You don't
want to have to vote on every individual commit at a time, and some
patches will "depend" on other patches. That could get ugly...
>
>It would be very interesting to hear if any of you have smart solutions
>to this peer review problem.
>
>Thanks.
ion. I wanted
>to avoid hanging cf-agent if my external process hung.
That's been my experience as well. The parent cf-agent process will
wait for all child processes to complete before it will terminate.
You could, I suppose, have a wrapper program to help with this, but
th
ocally installed software that is managed outside of
whatever "official" package management software is provided by the
vendor (this concept breaks down a bit with the BSDs, since everything
not in the core is put in /usr/local).
--
Jesse Becker
NHGRI Linux support (Digicon Contracto
ing standards (if anyone ever bother to 1) make solaris packages
and 2) follow the standards).
>There, I said it! :-)
:)
>
>On 02/04/2011 08:53 PM, Aleksey Tsalolikhin wrote:
>> On Fri, Feb 4, 2011 at 11:33 AM, Jesse Becker wrote:
>>>
>>> Theoretically, Linux sys
>
>##
>
>
>
>% cf-promises -f ./vers.cf
> !! The version string may not contain the ":" character
>
>
>___
>Help-cfengine mailing list
>Hel
;,"${rsync_data}");
processes:
# Doesn't work, since there may not be an rsyncd process!
files:
# configuration for xinetd and rsync is pretty
# standard--copy files into place as needed
commands:
runs_rsync.!rsync_is_running::
Still I think that the
>first introduction of theory and syntax could use some polish.
In the finest tradition of Unix manpages: it's a wonderful reference,
and a lousy user's manual. :-)
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
__
"^#-CFENGINE_MANAGED_ENTRIES-#$";
> select_end => "^#---#$";
>}
>
>##
>
>Sudoers file after:-
>
>#--#
>#-CFENGINE_MANAGED_ENTRIES-#
>User_Alias TEST_SYSADMIN= testuser1,testuser2,testuser3
>TEST_SYSADMIN ALL= NOPASSWD: ALL
>#---#
>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
__
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>>
>___
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine
--
Jesse Becker
NHGRI Linux support (Digicon Contractor)
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
1 - 100 of 181 matches
Mail list logo