Created
October 4, 2020 08:41
-
-
Save graudeejs/729507074d83a22e18b728ae77d4641a to your computer and use it in GitHub Desktop.
cfengine3 packages issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Using command line specified bundlesequence | |
error: Invalid or missing arguments in package_module body 'apt_get': query_installed_ifelapsed = -678 query_updates_ifelapsed = -678 | |
error: New package promise failed sanity check. | |
error: Invalid or missing arguments in package_module body 'apt_get': query_installed_ifelapsed = -678 query_updates_ifelapsed = -678 | |
error: New package promise failed sanity check. | |
error: Invalid or missing arguments in package_module body 'apt_get': query_installed_ifelapsed = -678 query_updates_ifelapsed = -678 | |
error: New package promise failed sanity check. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env -S cf-agent --inform --bundlesequence sudo --no-lock | |
body common control | |
{ | |
inputs => { "${sys.libdir}/stdlib.cf" }; | |
} | |
bundle agent sudo | |
{ | |
packages: | |
"sudo" | |
policy => "present", | |
version => "latest", | |
package_module => apt_get, | |
comment => "Install latest sudo"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, indeed it can be a bit difficult to tease out the differences between whats in the MPF and whats in core.
Glad you found and fixed it. Just hop in to chat or the mailing list/forum and holler if you run into tohter things.
Alwasy interested to know the non-standard ways in which people are using CFEngine.