Error in Charm Writing install hook example

Bug #1234536 reported by Adam Collard
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Website
Nick Veitch

Bug Description

The install hook example for Vanilla Forums contains this line

"cat <<EOF $gt; /etc/apache2/sites-available/vanilla"

Note the $gt; instead of &gt; to render a > and cause cat to redirect stdout to that file.

The database-relation-changed hook example currently reads

"cat < $vanilla_config"

but is meant to say "cat <<EOF > $vanilla_config", with the inverted redirect no doubt anyone following this example would get in to all sort of trouble! :)

Related branches

description: updated
Nick Veitch (evilnick)
Changed in juju-website:
status: New → Fix Released
assignee: nobody → Nick Veitch (evilnick)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers