Error in Charm Writing install hook example

Bug #1234536 reported by Adam Collard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Website
Fix Released
Undecided
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.