Skip to content
Snippets Groups Projects
Commit c9d55456 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

puppet agent -t retourne 2 quand il y a des changement

parent 65bc980e
No related branches found
No related tags found
No related merge requests found
#!/bin/bash OB#!/bin/bash
set -e set -e
...@@ -28,5 +28,4 @@ EOF ...@@ -28,5 +28,4 @@ EOF
systemctl disable puppet.service systemctl disable puppet.service
/usr/bin/puppet agent --enable /usr/bin/puppet agent --enable
/usr/bin/puppet agent --test /usr/bin/puppet agent --test || test $? -eq 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment