Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
# only execute when the apache2 database/users table does not already exists, the "mysql statements file" is there and the password has been set exec {"execute_mysql_statements": command => "mysql -u root -p$root_mysql_password < /tmp/mysql-create-data.sql", onlyif => ["test ! -f /var/lib/mysql/apache2/users.MYD"], require => Exec ["Set MySQL server root password"], require => File ["/tmp/mysql-create-data.sql"], }
This paste will be private.
From the Design Piracy series on my blog: