-
Notifications
You must be signed in to change notification settings - Fork 22
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 #11844: Port some more techniques to multi-versionned format #1226
Merged
Normation-Quality-Assistant
merged 4 commits into
Normation:master
from
ncharles:ust_11844/port_some_more_techniques_to_multi_versionned_format
Dec 14, 2017
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
518de99
Refs #11844: Creation of packageManagement version 1.2 from 1.1
ncharles 627424e
Refs #11844: Creation of copyGitFile version 2.3 from 2.2
ncharles fa01f7f
Refs #11844: Creation of manageKeyValueFile version 1.2 from 1.1
ncharles bffce41
Fixes #11844: Port some more techniques to multi-versionned format
ncharles File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
2 changes: 1 addition & 1 deletion
2
techniques/fileDistribution/copyGitFile/2.3/copyFileFromSharedFolder.ps1.st
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,16 +18,34 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |
<DESCRIPTION>This technique ensure that some files are the copy of files on the shared folder of the Rudder Root Server, and let you optionally execute a command if the content of the file was modified</DESCRIPTION> | ||
|
||
<MULTIINSTANCE>true</MULTIINSTANCE> | ||
<POLICYGENERATION>separated</POLICYGENERATION> | ||
<COMPATIBLE> | ||
<OS version=">= 4 (Etch)">Debian</OS> | ||
<OS version=">= 4 (Nahant)">RHEL / CentOS</OS> | ||
<OS version=">= 10 SP1 (Agama Lizard)">SuSE LES / DES / OpenSuSE</OS> | ||
<AGENT version=">= 3.2.0">cfengine-community</AGENT> | ||
</COMPATIBLE> | ||
|
||
<BUNDLES> | ||
<NAME>download_from_shared_folder</NAME> | ||
</BUNDLES> | ||
<AGENT type="dsc"> | ||
<BUNDLES> | ||
<NAME>copyFileFromSharedFolder_RudderUniqueID</NAME> | ||
</BUNDLES> | ||
<TMLS> | ||
<TML name="copyFileFromSharedFolder.ps1"> | ||
<OUTPATH>copyGitFile/2.1/copyFileFromSharedFolder.ps1</OUTPATH> | ||
</TML> | ||
|
||
</TMLS> | ||
</AGENT> | ||
|
||
<AGENT type="cfengine-community"> | ||
<BUNDLES> | ||
<NAME>download_from_shared_folder_RudderUniqueID</NAME> | ||
</BUNDLES> | ||
<TMLS> | ||
<TML name="copyFileFromSharedFolder"/> | ||
</TMLS> | ||
</AGENT> | ||
|
||
<TMLS> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. damn, there shouldn't be this TMLs |
||
<TML name="copyFileFromSharedFolder"/> | ||
|
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this a bug that should be fixed in previous version of the technique?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, see https://www.rudder-project.org/redmine/issues/11881
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll do it in a separe issue, if it's ok with you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍