I've been mulling how to manage my laptop, though I haven't gotten around to trying anything yet. I have yet to make much headway in bringing any of my legacy ubuntu systems into CFE, so should get those going before I work on the mobile one.
But, I think all my contact with policy server is down to one agent bundle ... maybe two.
My thinking was to look at the IP autoclasses to decide where it is to decide if it should even try to contact my policy server. Though I've been wondering how bad would it be to expose my policy server to the Internet? Though I might limit it to from certain IPs. Or if ssh tunnel is a possibility.
But, then there are other questions....is it reasonable to enforce policies the same way on a laptop as with a desktop.
Since a laptop changes networks....so my regular resolv.conf promise wouldn't make sense when its not on my home network. (though that's a bad example as on a laptop the dhcp client is going to be making changes to it, and I should allow it.) Plus there'll probably be occasions in the field where I need to manually change something or fix something.
Though I have dabbled in something like that. Like promise that a user's .cshrc file is the latest version, unless the user has made modifications to it. But, doing that for all files on a host would get really messy (or perhaps I need to rethink how I'm doing this when its more than a handful of files.)
-- Name: Lawrence "The Dreamer" Chen Call: W0LKC Snail: 1530 College Ave, A5 Email: bea...@tardisi.com Manhattan, KS 66502-2768 Blog: http://lawrencechen.net
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to help-cfengin...@googlegroups.com.
To post to this group, send email to help-c...@googlegroups.com.
Visit this group at http://groups.google.com/group/help-cfengine.
For more options, visit https://groups.google.com/d/optout.
On Mar 19, 2014 6:59 AM, "Diego Zamboni" <diego....@cfengine.com> wrote:
> Of course, if you are using private address ranges, you have to take care about false positives. There's a Design Center sketch that allows you to do this by verifying IP addresses against known MAC addresses (to prevent false positives): https://github.com/cfengine/design-center/tree/master/sketches/utilities/ipverify
Time zone changes have been annoying me recently. I've been pondering writing some geoip lookup. Maybe I could coordinate something from my phone and some kind of sync service like Dropbox.
> - If you need to make manual changes for some reason and need CFEngine to stay off your back, you can build this into your policies as well - the most common way of doing it is to touch a "flag file" which CFEngine policy checks for existence, and if it's there, CFEngine aborts. There's also a sketch for that: https://github.com/cfengine/design-center/tree/master/sketches/utilities/abortclasses
This one is lovingly referred to as "/COWBOY" mode.
I should find time to skim through these resources.... keep finding things that I wish we had done or didn't reinvent.
Don't know why it didn't occur to me to look to users outside of our organization for tools, ideas and help. And, until after my last LISA.
On 2014-03-19 01:59, Diego Zamboni wrote:
Of course, if you are using private address ranges, you have to take care about false positives. There's a Design Center sketch that allows you to do this by verifying IP addresses against known MAC addresses (to prevent false positives): https://github.com/cfengine/design-center/tree/master/sketches/utilities/ipverify
- If you need to make manual changes for some reason and need CFEngine to stay off your back, you can build this into your policies as well - the most common way of doing it is to touch a "flag file" which CFEngine policy checks for existence, and if it's there, CFEngine aborts. There's also a sketch for that: https://github.com/cfengine/design-center/tree/master/sketches/utilities/abortclasses
This would be much better than our old way that completely disables CFEngine, or our new way that doesn't have a way to extend the window.
We don't have a lester to pester... though at one time we had 3 admins named Travis (now have none), two of which would more than likely be the one needing pestering for this... Though I could lose track of things if I got swamped (though I usually do it because its doing something wrong, and I need more than 5 minutes to fix it. Or I'm making some semi-manual change...and regular agent runs are interfering with my manual runs (and vice-versa.)
What we do now is send messages to our loghost, since most of us kept an eye on the kern log...though now its full of failed CPU fans that we won't fix. Though I try to still check it once in a while, so I can see a host complaining every 10 minutes that my co-worker had made a mistake in a firewall change....last month. (and that the user that requested the change, hasn't noticed that they still don't have access...) Or a failed disk or power supply that we have to fix.
I had looked a CFEngine pestering us through Nagios, but seems I'm the only one that pays attention to pages, and I want to get less noise...
But, we'll probably always have two James's....we had one retire, so later another one transferred in....
>> Like what? In my experience as long as the tzdata files are up to date there
>> shouldn't be any problems.
>
> This could be a cool thing to do....I'm always forgetting to change the timezone on my laptop when I travel into a different one, until it makes me late for something
That's exactly it. My phone changes automatically, and I want the same for my laptop.
--