Skip to content

Commit

Permalink
Add "set -e" to consumer script
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Dellweg authored and ekohl committed Jan 25, 2018
1 parent 245b8d9 commit f188ea0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/rhsm_reconfigure_script.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

concat::fragment { "${title}+script_start":
target => $title,
content => "#!/bin/bash\n\n",
content => "#!/bin/bash\n\nset -e\n",
order => '01',
}

concat::fragment { "${title}+default_ca_data":
target => $title,
content => "read -r -d '' KATELLO_DEFAULT_CA_DATA << EOM\n",
content => "read -r -d '' KATELLO_DEFAULT_CA_DATA << EOM || true\n",
order => '02',
}

Expand All @@ -32,7 +32,7 @@

concat::fragment { "${title}+server_ca_data":
target => $title,
content => "read -r -d '' KATELLO_SERVER_CA_DATA << EOM\n",
content => "read -r -d '' KATELLO_SERVER_CA_DATA << EOM || true\n",
order => '05',
}

Expand Down

0 comments on commit f188ea0

Please sign in to comment.