macOS xterm-256color zsh 3593 views

This is a demonstration of bootstrapping cfengine on two SmartOS instances.

The process will be very similar for any platform that can build and run cfengine. I’m using my own cfengine package compiled directly from source rather than the version that comes with SmartOS pkgsrc.

  • Server IP: 10.5.0.41
  • Client IP: 10.5.0.42

Note: The bootstrap command in 3.5 is simply cf-agent -B <ip>

FAQ:

Why did you kill and restart cf-serverd?

To ensure that cf-serverd has picked up the ACL changes after becoming the policy hub.

Why did you copy CoreBase to masterfiles then to inputs? Why not just copy straight to inputs?

The masterfiles directory is for admins to edit policies. The inputs directory is for cfengine to read and distribute. For more details see the CFEngine Documentation.

More recordings by bahamat

Browse all

untitled 4:22

by bahamat

Netcat UDP Scanning 3:48

by bahamat