Bundles of Bundles with CFEngine 3

I’ve been work­ing more and more with CFEngine lately and I have been slowly build­ing a tiny library. These are all pretty much red­hat spe­cific but I wel­come patches and com­ments. Most of the bun­dles have com­ments that show usage, if there is inter­est I may post some exam­ple usage later.

 

 

 

 

I have recently added these bun­dles to my library

lib_rh.cf

  • rh_add_interface_routes - manage routes on an interface
  • create_update_yum_repo - create a yum repo and update the metadata if files change
  • set_selinux_disabled - disable selinux, yes its sad but its common
  • config_yum_client_repos — con­fig­ure yum client con­figs in /etc/yum.repos.d/

lib_local_user_management.cf

  • local_users_enforce_password — enforce a local users pass­word, sup­ports updat­ing last day changed for pass­word expiration

 

2 Comments

Leave a Reply

Your email is never shared.Required fields are marked *

To submit your comment, click the image below where it asks you to...
Clickcha - The One-Click Captcha