1. Updated to chef-client on FreeBSD (aka part III)

    Found the solution.

    Essentially, I just need to add this:

    supports :status => true, :restart => true, :reload => true
    

    This means that it will start up the service if isn’t running. Now it works as expected when I add chef-client to the run list.

    Here is the updated code:

    when "bsd …
    read more
  2. FreeBSD and chef-client - a part II (of sorts)

    Finally changed chef-client with an updated recipe to support FreeBSD.

    Under the chef-repo/chef-client directory, I added the following files:

    ./templates/freebsd/rc.d/chef-client.erb
    ./templates/freebsd/rc.conf.d/chef.erb
    

    And updated:

    ./recipes/service.rb
    

    The locations corresponds to the directory location under the default #{conf} directory …

    read more
  3. FreeBSD and chef-client - a part I?

    As I mentioned before, Chef appears to work well on mostly Debian and Ubuntu. You will have to do a bit more work on the other OSes: In the case of FreeBSD, a lot more.

    Here is one example: The recipe chef-clientis used to install startup scripts on the …

    read more
  4. Always Crispy: SSH Tunnels - 2 ways

    verycrispy:

    Recently, I have been googling how to make tunnels so I thought I would post what I do. A SSH tunnel allows you to connect to server, A, through server B, from client C.
    ssh tunny{width="483" height="181"}

    You generally only want to setup a tunnel when you need …

    read more
  5. Installing Chef on CentOS

    I have been playing around with Chef for the past week and while I liked it, it was a pain it setup. It seems to be work well if you run Debian and Ubuntu. Everything else … not so much.

    First sign of trouble is when I attempt to bootstrap the …

    read more
  6. FreeBSD and OpenLDAP Grief

    Finally got my FreeBSD client to authenticate against my OpenLDAP server.

    The configuration is fairlystraightforward. What took the time wascompilation the dependencies (running it in a VM can do that to it). That and the following issues.

    • It seems that Perl is not a requirement for a FreeBSD install …
    read more
  7. TLS problems with OpenLDAP Client

    I ran into an interesting problem sometime back that I only now resolved.

    Originally, I was running Scientific Linux on most of my VM. I have since upgraded most of them to Centos 6.0 - and converted on in particular to Centos CR.

    That “broke” my ldapauthentication- when connecting to …

    read more

« Page 3 / 4 »