Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #16024: Make a plugin from the current OpenSCAP technique #200

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented Oct 23, 2019

@Fdall Fdall force-pushed the bug_16024/make_a_plugin_from_the_current_openscap_technique branch from f67952f to 5d00fbd Compare October 23, 2019 14:57
@Fdall
Copy link
Contributor Author

Fdall commented Oct 23, 2019

Commit modified

@@ -0,0 +1,89 @@
# Rudder plugin: ansible_report
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File extension needs to be .adoc

@Fdall
Copy link
Contributor Author

Fdall commented Oct 23, 2019

PR updated with a new commit

git rm -r $folder/$NAME
done
git commit -m "Ansible-report plugin uninstallation"
# need to be run 2 times to be updated, first one will fail
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have any idea why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really the error given is the following:

  • rudder server reload-techniques
    error: Could not reload techniques from files
    Error: An error occured when updating the Technique library from file system
    cause:Error when trying to delete category with ID 'ActiveTechniqueCategoryId(ansible_report)'
    cause:Can not delete 'techniqueCategoryId=ansible_report,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration': subordinate objects must be deleted first

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, could you open a ticket and add the link in a comment with a TODO to remove it?

@Fdall Fdall changed the title Fixes #16024: Make a plugin from the current openSCAP technique Fixes #16024: Make a plugin from the current Ansible technique Oct 24, 2019
@Fdall Fdall force-pushed the bug_16024/make_a_plugin_from_the_current_openscap_technique branch from 8e99750 to d710fee Compare October 24, 2019 12:51
@Fdall Fdall changed the title Fixes #16024: Make a plugin from the current Ansible technique Fixes #16024: Make a plugin from the current OpenSCAP technique Oct 24, 2019
set -x

# Import Ansible Technique
FOLDERS="ncf/50_techniques/plugin_openscap_report techniques/plugin_openscap_report techniques/ncf_techniques"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why committing the whole techniques/ncf_techniques folder?

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit d710fee into Normation:branches/rudder/5.0 Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants