Today I start a new journey with some of the smartest people on the planet. I have accepted a position with CFEngine. Primarily I will be assisting customers with the evaluation, design, implementation and policy writing. If you know me from the CFEngine community, don’t worry I only plan to increase my activity and continue …
Author Archives: Nick Anderson
Working around getindices with dynamically generated arrays in CFEngine 3
There is a known bug where getindices is unable to get the index of a dynamically generated array until the next pass. This comes up from time to time so I thought I would post an example using a pattern shared on the CFEngine help mailing list. The policy below shows 3 working examples. They …
Deep thoughts
bundle common knowledge(status) { vars: “software” string => “$(status)”, policy => “free”; !isUsable:: “software” string => “usable”, policy => “free”; isUsable:: “software” string => “reusable”, policy => “free”; classes: “isUsable” expression => regcmp(“$(software)”, “usable”); “reUsable” expression => regcmp(“$(software)”, “resuable”); reports: Morning|Afternoon|Evening|Night:: “Before software …
CFEngine 3.4.2 Changelog for Breakfast
Changelogs are just as important as the most important meal of the day. OK so I don’t always eat breakfast, but I do make an effort to read changelogs. CFEngine 3.4.2 was released today. What I found interesting was that the default masterfiles policy has been updated. body executor control now calls $(sys.workdir)/inputs/update.cf instead of …
Identica
Twitter
LinkedIn
GooglePlus