Cfengine Help: Re: Need help troubleshooting Remote Access key exchange

2011-03-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Need help troubleshooting Remote Access key exchange Author: regan99 Link to topic: https://cfengine.com/forum/read.php?3,21233,21253#msg-21253 Ok, I think I figured out the issues. I am able to do the key exchange now. I ended up deleting the keys, creating new

slist from module?

2011-03-24 Thread Michael Stevens
I need to create local homedirs for ldap users. I can't use the built-in ldap functions, as we don't permit anonymous binding, so I've written a module that queries the ldap server and returns a list of users and enables the class "ldap_users." It works fine, however, it returns a scaler and I n

Cfengine Help: Re: Need help troubleshooting Remote Access key exchange

2011-03-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Need help troubleshooting Remote Access key exchange Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,21233,21254#msg-21254 Well, assuming that your policy host is your first Cfengine client, you don't mean to modify files right in inp

Re: slist from module?

2011-03-24 Thread Mark Burgess
See the required syntax in http://www.cfengine.org/manuals/cf3-reference.html#module-in-commands On 03/24/2011 06:35 PM, Michael Stevens wrote: > I need to create local homedirs for ldap users. I can't use the built-in ldap > functions, as we don't permit anonymous binding, so I've written a mo

Cfengine Help: Re: slist from module?

2011-03-24 Thread no-reply
Forum: Cfengine Help Subject: Re: slist from module? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21255,21257#msg-21257 This should be a trick. http://www.cfengine.org/manuals/cf3-reference.html#Function-splitstring bundle agent homedirs { vars: testhost:: "usersli

Re: slist from module?

2011-03-24 Thread Michael Stevens
The reference manual I was working from didn't include this, I've downloaded the most recent ... thanks. On Mar 24, 2011, at 10:44 AM, Mark Burgess wrote: > > See the required syntax in > > http://www.cfengine.org/manuals/cf3-reference.html#module-in-commands > > On 03/24/2011 06:35 PM, Mich

Cfengine Help: Re: Need help troubleshooting Remote Access key exchange

2011-03-24 Thread no-reply
Forum: Cfengine Help Subject: Re: Need help troubleshooting Remote Access key exchange Author: regan99 Link to topic: https://cfengine.com/forum/read.php?3,21233,21259#msg-21259 So would this be a good example for laying out the files on the server? /home/cfengine/*.cf - This is where I k

Re: slist from module?

2011-03-24 Thread Michael Stevens
After finding the missing pages in my reference guide, I got my module exporting an slist. Unfortunately, I'm having trouble expanding the list to use it. I'm trying to use the "short-circuit" method described in the reference manual, not sure why this isn't working ( output is "R: Test: $(homed