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 #8390: Merge remaining files from initial promises and system technique - bis #957

Conversation

peckpeck
Copy link
Member

@@ -57,6 +59,7 @@ all: rudder-templates-cli.jar
java -jar rudder-templates-cli.jar --outext .cf --outdir initial-promises/node-server/server-roles/1.0 techniques/system/server-roles/1.0/servers-by-role.st
java -jar rudder-templates-cli.jar --outext .cf --outdir initial-promises/node-server/server-roles/1.0 techniques/system/server-roles/1.0/service-check.st
java -jar rudder-templates-cli.jar --outext .cf --outdir initial-promises/node-server/server-roles/1.0 techniques/system/server-roles/1.0/technique-reload.st
sed -i -e 's/.*TRACKINGKEY.*/ "TRACKINGKEY": "root-DP@@root-distributePolicy@@00",/' variables.json
Copy link
Member

Choose a reason for hiding this comment

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

Why is this necessary, with no more calls to rudder-templates-cli.jar after it?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just handy.
When you run the makefile, variables.json stays the same, so I have no warning about a changed file anymore.

@peckpeck
Copy link
Member Author

Commit modified

@peckpeck peckpeck force-pushed the arch_8390/merge_remaining_files_from_initial_promises_and_system_technique_bis branch from 3a64bf8 to 5fc2906 Compare May 30, 2016 13:41
@peckpeck
Copy link
Member Author

PR rebased

@peckpeck peckpeck force-pushed the arch_8390/merge_remaining_files_from_initial_promises_and_system_technique_bis branch from 5fc2906 to 2e661ef Compare May 31, 2016 13:21
# The time at which the execution started
windows.!cygwin::
"execRun" string => execresult("c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command \"'{0:yyyy-MM-dd HH:mm:sszzz}' -f (get-date)\"", "noshell"); android::
"execRun" string => execresult("/system/xbin/date \"+%Y-%m-%d %T+02:00\"", "noshell");
Copy link
Member

Choose a reason for hiding this comment

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

Something has gone wrong here: there should be a line with "android::" just above this one.

Copy link
Member

Choose a reason for hiding this comment

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

Still missing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, there is a BIG warning we should have on string template, it always removes the line after an &endif& !!!

@jooooooon
Copy link
Member

Aside from those two comments this is looking great.

@peckpeck
Copy link
Member Author

PR rebased

@peckpeck peckpeck force-pushed the arch_8390/merge_remaining_files_from_initial_promises_and_system_technique_bis branch from 2e661ef to 66243fa Compare June 21, 2016 12:00
@peckpeck
Copy link
Member Author

Commit modified

@peckpeck peckpeck force-pushed the arch_8390/merge_remaining_files_from_initial_promises_and_system_technique_bis branch from 66243fa to 65a58c3 Compare June 21, 2016 12:14
@peckpeck
Copy link
Member Author

PR rebased

@peckpeck peckpeck force-pushed the arch_8390/merge_remaining_files_from_initial_promises_and_system_technique_bis branch from 65a58c3 to 4f22c37 Compare June 30, 2016 11:40
@peckpeck
Copy link
Member Author

peckpeck commented Jul 7, 2016

Commit modified

@peckpeck peckpeck force-pushed the arch_8390/merge_remaining_files_from_initial_promises_and_system_technique_bis branch from 4f22c37 to 2d8bf14 Compare July 7, 2016 09:22
@jooooooon
Copy link
Member

That's kinda scary... could we add a test in scripts/check-techniques.sh to make sure all "&endif&" lines are followed by a blank line?

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 2d8bf14 into Normation:master Jul 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants