Skip to content

Commit

Permalink
Added a JSON file with the 'new' format
Browse files Browse the repository at this point in the history
Changes explained here:
cfengine/cfbs#37

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
  • Loading branch information
olehermanse committed Oct 26, 2021
1 parent 7eb0614 commit 72c919a
Showing 1 changed file with 303 additions and 0 deletions.
303 changes: 303 additions & 0 deletions cfbs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,303 @@
{
"name": "index",
"description": "The official (default) index of modules for CFEngine Build",
"type": "index",
"index": {
"ansible": { "alias": "promise-type-ansible" },
"autorun": {
"description": "Enable autorun functionality",
"tags": ["supported"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/cfengine",
"version": "1.0.0",
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "management/autorun",
"steps": ["json def.json def.json"]
},
"bash-lib": { "alias": "library-for-promise-types-in-bash" },
"cir": { "alias": "client-initiated-reporting" },
"client-initiated": { "alias": "client-initiated-reporting" },
"client-initiated-reporting": {
"description": "Enable client initiated reporting and disable pull collection",
"tags": ["wip", "untested", "reporting"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/cfengine",
"version": "0.1.0",
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "reporting/client-initiated-reporting",
"steps": ["json def.json def.json"]
},
"git": { "alias": "promise-type-git" },
"inventory-clamav": {
"description": "Inventory useful information from ClamAV (version, definitions version, definitions date)",
"tags": ["inventory", "antivirus"],
"version": "1.0.0",
"repo": "https://github.com/nickanderson/cfengine-inventory-clamav",
"by": "https://github.com/nickanderson",
"commit": "1d872d1771921b0f8d92da56899d8b61d37dd5ca",
"steps": [
"copy policy/main.cf services/inventory-clamav/main.cf",
"json cfbs/def.json def.json"
]
},
"inventory-etc-hosts": {
"description": "Inventory entries from /etc/hosts",
"tags": ["inventory", "untested"],
"repo": "https://github.com/nickanderson/cfengine-inventory-etc-hosts",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "afbb08ab87630e724940c530050a271b63565402",
"steps": [
"copy policy/main.cf services/inventory-etc-hosts/main.cf",
"json cfbs/def.json def.json"
]
},
"inventory-fips-mode-setup": {
"description": "Inventory kernel parameters set during system boot",
"tags": ["inventory", "untested"],
"repo": "https://github.com/nickanderson/cfengine-inventory-fips-mode-setup",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "33a9766edf741baf6ccbc3cea7a2346a9d745c87",
"steps": [
"copy policy/main.cf services/inventory-fips-mode-setup/main.cf",
"json augments.json def.json"
]
},
"inventory-kernel-boot-params": {
"description": "Inventory kernel parameters set during system boot",
"tags": ["inventory", "untested"],
"repo": "https://github.com/nickanderson/cfengine-inventory-kernel-boot-params",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "5c132ce0d78ee5f75c5c7d7704fc19170bd0a7e8",
"steps": [
"copy policy/main.cf services/inventory-kernel-boot-params/main.cf",
"json augments.json def.json"
]
},
"inventory-kernel-settings-sysctl-conf": {
"description": "Inventory settings from /etc/sysctl.conf.",
"tags": ["inventory", "sysctl"],
"by": "https://github.com/nickanderson",
"repo": "https://github.com/nickanderson/cfengine-sysctl",
"version": "1.0.0",
"commit": "69149b9d15874c4f584441cd40019a79a92ad8f2",
"subdirectory": "policy/inventory-kernel-settings-sysctl-conf",
"steps": [
"copy ./main.cf services/inventory-kernel-settings-sysctl-conf/",
"copy ./README.org services/inventory-kernel-settings-sysctl-conf/",
"json ./cfbs/def.json def.json"
]
},
"inventory-kernel-settings-sysctl-current": {
"description": "Inventory sysctl settings current state.",
"tags": ["inventory", "sysctl"],
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"repo": "https://github.com/nickanderson/cfengine-sysctl",
"commit": "69149b9d15874c4f584441cd40019a79a92ad8f2",
"subdirectory": "policy/inventory-kernel-settings-sysctl-current",
"steps": [
"copy ./main.cf services/inventory-kernel-settings-sysctl-current/",
"copy ./README.org services/inventory-kernel-settings-sysctl-current/",
"json ./cfbs/def.json def.json"
]
},
"inventory-lastlog": {
"description": "Inventory kernel parameters set during system boot",
"tags": ["inventory", "untested"],
"repo": "https://github.com/nickanderson/cfengine-inventory-lastlog",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "dceb68e99cf676823cb951dd4d14af240c30ead8",
"steps": [
"copy policy/main.cf services/inventory-lastlog/",
"json cfbs/def.json def.json"
]
},
"inventory-local-users": {
"description": "Inventory the local users on the system with their attributes",
"tags": ["wip", "untested"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "a6b29c1ac51a05c41e6a6ecea3cdf2be02938946",
"steps": [
"copy ./policy/inventory_passwd_shadow_discover.cf services/inventory-local-users/",
"copy ./policy/supplemental.cf services/inventory-local-users/",
"json cfbs/def.json def.json"
]
},
"inventory-sudoers": {
"description": "Inventory users with sudo access.",
"tags": ["inventory", "sudo"],
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"repo": "https://github.com/nickanderson/cfengine-inventory-sudoers",
"commit": "01fe2d60ecea4e2e0aefbbd9b4bc9ad570425f9f",
"steps": [
"copy ./policy/main.cf services/inventory-sudoers/main.cf",
"json ./cfbs/def.json def.json"
]
},
"inventory-systemd": {
"description": "Inventory interesting things from systemd",
"tags": ["inventory", "systemd", "untested"],
"repo": "https://github.com/nickanderson/cfengine-inventory-systemd",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "4b9c0708173d3b5f0855a76063781e2258465788",
"steps": [
"copy ./policy/main.cf services/inventory-systemd/main.cf",
"json cfbs/def.json def.json"
]
},
"kernel-settings-sysctl-conf": {
"description": "Manage settings in /etc/sysctl.conf.",
"tags": ["sysctl"],
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"repo": "https://github.com/nickanderson/cfengine-sysctl",
"commit": "0d4fd85fa22ee6c52ace5222202b3290a5902862",
"subdirectory": "policy/kernel-settings-sysctl-conf",
"steps": [
"copy ./main.cf services/kernel-settings-sysctl-conf/",
"copy ./README.org services/kernel-settings-sysctl-conf/",
"json ./cfbs/def.json def.json"
]
},
"lynis": {
"description": "CFEngine policy to automate the installation, running, and reporting of CISOfy's lynis system audits",
"tags": ["wip", "untested", "security", "compliance"],
"repo": "https://github.com/nickanderson/cfengine-lynis",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "f18ff3cfb629e962cce8c42b8fe845faf3d10940",
"steps": [
"copy policy/main.cf services/lynis/main.cf",
"json cfbs/def.json def.json"
]
},
"masterfiles": {
"description": "Official CFEngine Masterfiles Policy Framework (MPF)",
"tags": ["official", "base", "supported"],
"repo": "https://github.com/cfengine/masterfiles",
"by": "https://github.com/cfengine",
"version": "0.1.1",
"commit": "5c7dc5b43088e259a94de4e5a9f17c0ce9781a0f",
"steps": [
"run ./autogen.sh",
"delete ./autogen.sh",
"run ./cfbs/cleanup.sh",
"delete ./cfbs/cleanup.sh",
"copy ./ ./"
]
},
"migrate2rocky": {
"description": "Unattended migration of CentOS 8 hosts to Rocky Linux",
"tags": ["untested"],
"repo": "https://github.com/nickanderson/cfengine-migrate2rocky",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"dependencies": ["promise-type-git"],
"commit": "332dc89a479503bede5ca986092d2b95ad183129",
"steps": [
"copy policy/main.cf services/migrate2rocky/main.cf",
"json augments.json def.json"
]
},
"mpf": { "alias": "masterfiles" },
"lib-fim": { "alias": "library-file-integrity-monitoring" },
"library-file-integrity-monitoring": {
"description": "Monitor key files for changes",
"tags": ["wip", "untested"],
"repo": "https://github.com/nickanderson/cfengine-file_integrity_monitoring",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "0fee53540262541c09f17cd8774ffe5ccea48482",
"steps": [
"copy policy/monitor_file_paths_tagged_all_changes.cf services/file_integrity_monitoring/",
"json def.json def.json"
]
},
"library-for-promise-types-in-bash": {
"description": "Library enabling promise types implemented in bash",
"tags": ["supported", "library"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/Lex-2008",
"version": "0.1.0",
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "libraries/bash/",
"steps": ["copy cfengine.sh modules/promises/"]
},
"library-for-promise-types-in-python": {
"description": "Library enabling promise types implemented in python",
"tags": ["supported", "library"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/cfengine",
"version": "0.1.0",
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "libraries/python/",
"steps": ["copy cfengine.py modules/promises/"]
},
"promise-type-ansible": {
"description": "Promise type to manage systemd services",
"tags": ["promise-type", "official", "supported"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/tranchitella",
"version": "0.1.0",
"dependencies": ["library-for-promise-types-in-python"],
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "promise_types/ansible/",
"steps": [
"copy ansible_promise.py modules/promises/",
"append enable.cf services/init.cf"
]
},
"promise-type-git": {
"description": "Promise type to manage git repos",
"tags": ["promise-type", "official", "supported"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/tranchitella",
"version": "0.1.0",
"dependencies": ["library-for-promise-types-in-python"],
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "promise_types/git/",
"steps": [
"copy git.py modules/promises/",
"append enable.cf services/init.cf"
]
},
"promise-type-groups-experimental": {
"description": "Experimental promise type to manage local user groups",
"tags": ["promise-type", "experimental", "supported"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/larsewi",
"version": "0.1.0",
"dependencies": ["library-for-promise-types-in-python"],
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "promise_types/groups-experimental/",
"steps": [
"copy groups_experimental.py modules/promises/",
"append enable.cf services/init.cf"
]
},
"promise-type-systemd": {
"description": "Promise type to manage systemd services",
"tags": ["promise-type", "official", "supported"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/tranchitella",
"version": "0.1.0",
"dependencies": ["library-for-promise-types-in-python"],
"commit": "be3bc015f6a19e945bb7a9fa0ed78c97e2cecf61",
"subdirectory": "promise_types/systemd/",
"steps": [
"copy systemd.py modules/promises/",
"append enable.cf services/init.cf"
]
},
"python-lib": { "alias": "library-for-promise-types-in-python" },
"systemd": { "alias": "promise-type-systemd" }
}
}

0 comments on commit 72c919a

Please sign in to comment.