I am trying to create a bundle that will populate a users
.ssh/authorized_keys on machines where they have accounts. I
currently have:
bundle agent ssh {
vars:
"user[user123]" string => "ssh-dss ...== user@machine";
"username"slist => getindices("user");
"no_$(usernam
rting with
whitespace_policy using various settings and the results have always
been the new line being added even when one exists with only
whitespace differences.
The worst case scenario was using whitespace_policy where a new line
was added for each export every single time cf-agent ran.
Givi
exports"
edit_line =>
cc_doexport("/export/dir1 192.168.159.0/255.255.255.0(rw)"); # Single
tab in the middle of the string
}
bundle edit_line cc_doexport(line)
{
insert_lines:
"$(line)"
whitespace_policy => { "ignore_embedded" };
}
159.0/255.255.255.0(rw)";
insert_lines:
"$(line)";
}
Here, the delete_lines fail to delete the line the test.sh script creates.
-rdp
On Mon, Jun 11, 2012 at 10:03 AM, Ron Parker wrote:
> On Fri, Jun 8, 2012 at 6:41 PM, Nick Anderson wrote:
>
>> Hey Ron, can y
:10.6.8.200)
So, how do I get them to play nicely? I notice that the server
mentions the agents VNIC IP in a couple places and its public IP in
others. Also odd is the attempt by the client to access a file named
/var/cfengine/ppkeys/root-.pub.
On a sidenote the secondary IP on eth0:
On Tue, Jun 12, 2012 at 8:53 AM, Ron Parker wrote:
> I have a client machine that is attempting to copy some logs from
> another client machine. They same public keys that the policy hub has
> for the clients have been installed on each of the machines.
>
> Here is how their
ton,
auto-insert, yasnippet, srecode. See
http://www.emacswiki.org/emacs/CategoryTemplates lists most of them,
however auto-insert is conspicuously absent,
http://www.emacswiki.org/emacs/AutoInsertMode.
--
Ron Parker
Don't type things you find on
It's not clear to me from the reference manual. If I want to set
permissions on a directory and all of it's descendents that are not
(NFS) mounts, do I want xdev to be true or false?
--
Ron Parker
Don't type things you find on the Internet int
does not have any child processes
showing up in pstree.
The second question is how may I prevent this in the future but still
have the system converge in a reasonable amount of time?
--
Ron Parker
Don't type things you find on the Internet into your com
fengine is shutdown.
>
> 2. For the longer-term strategy, plan a transition to a more recent version
> of cfengine.
>
> ___
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cf
t over the wall that corrected it on the Ubuntu box
I was working with, https://github.com/cfengine/copbl/pull/10.
--
Ron Parker
Don't type things you find on the Internet into your computer!
:(){ :|:&};:
___
Help-cfengine mailing list
Help-cf
k"),
delete => tidy;
processes:
"svn" restart_class => "no_svn_running";
I know there's a potential race between setting the class and
performing the deletion on the next pass, but in this specific case it
would cause no problems.
--
Ron P
jects directory which also contain a .svn subdirectory.
I could use a different recurse depth, but if so how would I limit it
to lock files in the .svn subdirectories? I didn't see a way to build
a list of directories and then iterate over those to find a specific
file within them.
--
Ron Pa
nd nowhere else.
On Wed, Jun 27, 2012 at 2:23 PM, Ron Parker wrote:
> Thanks for the response Neil,
>
> On Wed, Jun 27, 2012 at 12:05 PM, neilwatson wrote:
>
>> What does the '.*' mean in your mind? Can that be replaced with a different
>> recurse depth in the d
On Wed, Jun 27, 2012 at 2:30 PM, Jesse Becker wrote:
> Could you use a module to generate an slist of ".svn directories with
> lock files", and then iterate over that?
My original implementation used an execresult to do that but I was
trying to keep it all in CFEngine. I may have to revert to tha
ose messages go away and access is granted.
And yes, it normally runs under root if I look at the process table.
--
Ron Parker
Never plug a non-switching power supply into 208V.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/m
16 matches
Mail list logo